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

Re: [arm-gnu] Need clarification: Link time error



H.V Raj wrote:

> test.so:(.text+0x185c): unresolvable R_ARM_MOVW_ABS_NC relocation
> against symbol `stdout@@GLIBC_2.4' <mailto:`stdout@@GLIBC_2.4'>

Are you compiling with -fpic or -fPIC?  If not, try that.

And, we recommend you link with "gcc -shared" rather than with "ld".

-- 
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713