linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] configure script for x86_64 architecture ??


From: Dobroslav Tyrkas
Subject: Re: [Linphone-developers] configure script for x86_64 architecture ??
Date: Wed, 31 Jan 2007 17:58:31 +0100 (CET)

Are you sure?

This is the 32bit library path: /usr/local/lib/libavcodec.a , which the "make" 
is looking for.

A 64bit is on my system here : /usr/lib64/libavcodec.a

BR
Woody





------------ Původní zpráva ------------
Od: Aymeric Moizard <address@hidden>
Předmět: Re: [Linphone-developers] configure script for x86_64 architecture ??
Datum: 31.1.2007 17:47:34
----------------------------------------

You need to compile ffmpeg with "-fPIC -DPIC"

easy :)

Aymeric MOIZARD / ANTISIP
amsip - http://www.antisip.com
osip2 - http://www.osip.org
eXosip2 - http://savannah.nongnu.org/projects/exosip/


On Wed, 31 Jan 2007, Dobroslav Tyrkas wrote:

> Hi,
> I am trying to compile linphone 1.5.1 on a SuSE 10.0 x86_64, kernel 2.6.15,
but still without luck.
>
> This is the output when running "make" after previously configured by
"./configure --with-sdl=/usr/lib64/ --with-ffmpeg=/usr/lib64/" command:
>
> ................
> .................
> make[5]: Entering directory
`/home/doma/Instalace/Linphone/linphone-1.5.1/mediastreamer2/src'
> /bin/sh ../libtool --tag=CC --mode=link gcc -I.. -I../../oRTP/include
-I../../gsmlib  -DORTP_INET6   -DINET6 -Wall -O2 -g  -Werror  -pthread
-D_REENTRANT   -o libmediastreamer.la -rpath /usr/local/lib -rdynamic
mscommon.lo msfilter.lo msqueue.lo msticker.lo alaw.lo ulaw.lo mssndcard.lo
msfileplayer.lo msrtp.lo dtmfgen.lo msfilerec.lo ice.lo tee.lo msconf.lo alsa.lo
oss.lo   msv4l.lo sdlout.lo videoenc.lo videodec.lo pixconv.lo sizeconv.lo
msspeex.lo speexec.lo gsm.lo ../../oRTP/src/libortp.la  -lasound  -lspeex
../../gsmlib/libgsm.la  -L/usr/local/lib -lavcodec -lm -lz -ldl -lavutil
-L/usr/lib64//lib -lSDL -lavcodec  -pthread -lpthread -lrt -ldl
> gcc -shared  .libs/mscommon.o .libs/msfilter.o .libs/msqueue.o
.libs/msticker.o .libs/alaw.o .libs/ulaw.o .libs/mssndcard.o
.libs/msfileplayer.o .libs/msrtp.o .libs/dtmfgen.o .libs/msfilerec.o .libs/ice.o
.libs/tee.o .libs/msconf.o .libs/alsa.o .libs/oss.o .libs/msv4l.o .libs/sdlout.o
.libs/videoenc.o .libs/videodec.o .libs/pixconv.o .libs/sizeconv.o
.libs/msspeex.o .libs/speexec.o .libs/gsm.o -Wl,--whole-archive
../../gsmlib/.libs/libgsm.a -Wl,--no-whole-archive  -Wl,--rpath
-Wl,/home/doma/Instalace/Linphone/linphone-1.5.1/oRTP/src/.libs
../../oRTP/src/.libs/libortp.so /usr/lib64/libasound.so /usr/lib64/libspeex.so
-L/usr/local/lib -lm -lz -lavutil -L/usr/lib64//lib /usr/lib64/libSDL.so
-lavcodec -lpthread -lrt -ldl  -pthread -pthread -Wl,-soname
-Wl,libmediastreamer.so.0 -o .libs/libmediastreamer.so.0.0.0
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
/usr/local/lib/libavcodec.a(utils.o): relocation R_X86_64_32 against
`first_avcodec' can not be used when making a shared object; recompile with
-fPIC
> /usr/local/lib/libavcodec.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[5]: *** [libmediastreamer.la] Error 1
> make[5]: Leaving directory
`/home/doma/Instalace/Linphone/linphone-1.5.1/mediastreamer2/src'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
`/home/doma/Instalace/Linphone/linphone-1.5.1/mediastreamer2/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
`/home/doma/Instalace/Linphone/linphone-1.5.1/mediastreamer2'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
`/home/doma/Instalace/Linphone/linphone-1.5.1/mediastreamer2'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/doma/Instalace/Linphone/linphone-1.5.1'
> make: *** [all] Error 2
>
> I think the only problem is to setup correct path to 64bit libraries on my
system, in the "configure" script. Because there are old 32bit installed as well
in the path as usual.
>
> All 64bit libraries are in /lib64 ,  /usr/lib64/ , /usr/local/lib64/ etc. A
libavcodec.a is placed in the latter one, but  "make" is still looking to
/usr/local/lib for libavcodec.a file.
>
> How can I change the configure to work on x86_64 system?
>
> Thanks
> Woody
>
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers
>
>








reply via email to

[Prev in Thread] Current Thread [Next in Thread]