[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] Relocation error on remake
From: |
Andreas Granig |
Subject: |
[Linphone-users] Relocation error on remake |
Date: |
Thu, 19 May 2005 15:16:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2 |
Hi,
I've a problem remaking linphone-1.0.1:
I can successfully crosscompile linphone for arm-linux with a fresh
untarred source. But when compilation has finished and I call "make"
again (even after "make clean"), I get the following error:
/home/granig/projects/gumstix/gumstix-buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc
-shared .libs/linphonecore.o .libs/osipuacb.o .libs/misc.o .libs/arts.o
.libs/enum.o .libs/sdphandler.o .libs/presence.o .libs/proxy.o
.libs/friend.o .libs/authentication.o .libs/lpconfig.o
-Wl,--whole-archive ../mediastreamer/.libs/libmediastreamer.a
../exosip/.libs/libeXosip.a -Wl,--no-whole-archive -Wl,--rpath
-Wl,/home/granig/projects/gumstix/gumstix-buildroot/build_arm/linphone-1.0.1/oRTP/src/.libs
/home/granig/projects/gumstix/gumstix-buildroot/build_arm/linphone-1.0.1/oRTP/src/.libs/libortp.so
-lpthread
-L/home/granig/projects/gumstix/gumstix-buildroot/build_arm/staging_dir/lib
-lm /usr/lib/libosipparser2.so -lrt -ldl -march=armv5te -mtune=xscale
-Wl,-soname -Wl,liblinphone.so.1 -o .libs/liblinphone.so.1.0.1
/home/granig/projects/gumstix/gumstix-buildroot/build_arm/staging_dir/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.2/../../../../arm-linux-uclibc/bin/ld:
../exosip/.libs/libeXosip.a(osip_content_encoding.o): Relocations in
generic ELF (EM: 3)
../exosip/.libs/libeXosip.a(osip_content_encoding.o): could not read
symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [liblinphone.la] Error 1
make[2]: Leaving directory
`/home/granig/projects/gumstix/gumstix-buildroot/build_arm/linphone-1.0.1/coreapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/granig/projects/gumstix/gumstix-buildroot/build_arm/linphone-1.0.1'
make: *** [all] Error 2
Any ideas how to work around this without reconfiguring and remaking
linphone on every build run?
Note that
/home/granig/projects/gumstix/gumstix-buildroot/build_arm/staging_dir/bin/arm-linux-uclibc-gcc
is a softlink to
/home/granig/projects/gumstix/gumstix-buildroot/build_arm/staging_dir/usr/bin/ccache,
so maybe it's a ccache-problem?
Andy
- [Linphone-users] Relocation error on remake,
Andreas Granig <=