[arm-gnu] Need clarification: Link time error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] Need clarification: Link time error



 I am using  (Sourcery G++ Lite 2009q1-203) 4.3.3 version of toolchain
to cross compile my application suite and to generate shared object(.so)
..
I see the problem during linking as:
____________________________________________________________________
test.so:(.text+0x185c): unresolvable R_ARM_MOVW_ABS_NC relocation against symbol `stdout@@GLIBC_2.4'
____________________________________________________________________
Command line information:
 
/home/rhv/LinuxDevel/CodeSourcery2009q1/arm-2009q1/bin/arm-none-linux-gnueabi-ld  \
-shared -Bsymbolic -O5 --no-undefined -lm -ldl -lpthread \
-o test.so \
--version-script=libtest.def \
a.o, b.o c,o \
-lm -lc `/home/rhv/LinuxDevel/CodeSourcery2009q1/arm-2009q1/bin/arm-none-linux-gnueabi-gcc -print-libgcc-file-name`
____________________________________________________________________
Objdump Output:
185c:   e3003000    movw    r3, #0  ; 0x0
            185c: R_ARM_MOVW_ABS_NC stdout
____________________________________________________________________
 
Any suggestions to know why this issue?
 
 
thanks in Advance,
 
Regards,
Rajanikanth