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