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
- To: "H.V Raj" <rajanikanthhv@xxxxxxxxx>
- Subject: Re: [arm-gnu] Need clarification: Link time error
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Wed, 26 Aug 2009 13:47:48 -0700
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