[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] Problem in Linking with Arm Toolchain linker
From: |
kandhala srinivasa raman |
Subject: |
[Linphone-developers] Problem in Linking with Arm Toolchain linker |
Date: |
12 May 2007 11:03:17 -0000 |
Hi Mr Simon and Everyone,
I am trying to port oRtp stack into my Arm Board using montavista toolchain in my opt directory to test sample programs
rtpsend and rtprecv from my Arm Board.
I had a problem in linking for Arm and request all of you to plese guide me how i can solve this issue.
My path is like this
PATH=/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin:
/opt/mv_pro_4.0/montavista/pro/bin
:/opt/mv_pro_4.0/montavista/common/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
I am able to compile with CC = arm_v5t_le-gcc and able to get the .o files but when linking the make file is using the /usr/bin/ld even though i done the following things
1)./configure --host = arm-linux
2)LDFLAGS = /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin
which my intentison is to look for arm_v5t_le-ld in the above directory.
I am getting the following Error.
/bin/sh ../libtool --tag=CC --mode=link arm_v5t_le-gcc -D_REENTRANT -I.. -O2 -Wall -Werror /opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin -o libortp.la -rpath /usr/local/lib -version-info 5:0:0 str_utils.lo port.lo rtpparse.lo rtpsession.lo rtpsession_inet.lo jitterctl.lo rtpsignaltable.lo rtptimer.lo posixtimer.lo ortp.lo scheduler.lo avprofile.lo sessionset.lo telephonyevents.lo payloadtype.lo rtcp.lo utils.lo rtcpparse.lo event.lo stun.lo stun_udp.lo -lpthread -lm
gcc -shared .libs/str_utils.o .libs/port.o .libs/rtpparse.o .libs/rtpsession.o .libs/rtpsession_inet.o .libs/jitterctl.o .libs/rtpsignaltable.o .libs/rtptimer.o .libs/posixtimer.o .libs/ortp.o .libs/scheduler.o .libs/avprofile.o .libs/sessionset.o .libs/telephonyevents.o .libs/payloadtype.o .libs/rtcp.o .libs/utils.o .libs/rtcpparse.o .libs/event.o .libs/stun.o .libs/stun_udp.o -lpthread -lm -Wl,-soname -Wl,libortp.so.5 -o .libs/libortp.so.5.0.0
/usr/bin/ld: .libs/str_utils.o: Relocations in generic ELF (EM: 40)
.libs/str_utils.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [libortp.la] Error 1
make[1]: Leaving directory `/home/lserver/Ortp/ortp-0.13.1/src'
make: *** [all-recursive] Error 1
thanks in advance
with regards,
Srinivas
![spillur dil]() |
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-developers] Problem in Linking with Arm Toolchain linker,
kandhala srinivasa raman <=