This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Res: Re: undefined reference to `errno' g++3.3


On Thu, Jul 31, 2003 at 11:26:09AM -0300, gabriolli@ibest.com.br wrote:
> This lib has the errno object: 
> nm lib/Nhost_client.a | grep errno 
>          U errno 
>          U errno 
>          U h_errno 

   Nope, looks like the lib does not have errno. It merely references
   it. Checked my recollection of nm's reporting, in the manpage:

           "U" The symbol is undefined.

   If curious enough, you can do an objdump -D on the archive, and look
   at the code. What use is made of errno will then be transparently
   evident.

   From this range it still looks like you're trying to get by without
   providing errno.  ;)

Regards,
Erik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]