[Top][All Lists]

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

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

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

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 
/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 -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/  -lasound  
-lspeex   ../../gsmlib/  -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 
../../oRTP/src/.libs/ /usr/lib64/ /usr/lib64/ 
-L/usr/local/lib -lm -lz -lavutil -L/usr/lib64//lib /usr/lib64/ 
-lavcodec -lpthread -lrt -ldl  -pthread -pthread -Wl,-soname 
-Wl, -o .libs/
/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 
/usr/local/lib/libavcodec.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [] Error 1
make[5]: Leaving directory 
make[4]: *** [all] Error 2
make[4]: Leaving directory 
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
make[2]: *** [all] Error 2
make[2]: Leaving directory 
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?


reply via email to

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