very odd linker error GCC ld 3.4.6

CARTER-HITCHIN, David, GBM David.CARTER-HITCHIN@rbos.com
Thu Nov 16 19:35:00 GMT 2006


Hi Dave,

Good spot.  I did need to refresh my memory there, thanks.

Now I checked the function in the library where it is defined
and it still comes up with a U beside it. This is extremely
odd since the compiler succeeds and makes no complaints about
the function.  It's a small, simple C function.  Most odd.

Thanks,
David. 

> -----Original Message-----
> From: Dave Korn [mailto:dave.korn@artimi.com] 
> Sent: 16 November 2006 19:15
> To: CARTER-HITCHIN, David, GBM; binutils@sources.redhat.com
> Subject: RE: very odd linker error GCC ld 3.4.6
> 
> On 16 November 2006 18:09, CARTER-HITCHIN, David, GBM wrote:
> 
> 
> > What is very odd about this is that this symbol is in the 
> so and we haven't
> > changed that in quite a while:
> > 
> > [lon3332xus]-> nm 
> ../lib/solaris_gcc_nonopt/libapi_ins_tran.so | grep
> > independent_valid>
> >          U _Z37ramore_internals_independent_validatei
> 
>   That's not the .so defining the symbol.  That's the .so 
> having an undefined
> reference to the symbol that needs to be filled in from 
> somewhere else.
> Refresh your memory of the 'nm' manual page for a guide to 
> what all the
> letters mean.
> 
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
http://www.rbos.com
http://www.rbsmarkets.com 
***********************************************************************************



More information about the Binutils mailing list