This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Res: Re: undefined reference to `errno' g++3.3
- From: Erik Christiansen <erik at dd dot nec dot com dot au>
- To: gabriolli at ibest dot com dot br
- Cc: gcc-help at gcc dot gnu dot org, Eljay Love-Jensen <eljay at adobe dot com>
- Date: Fri, 1 Aug 2003 10:51:56 +1000
- Subject: Re: Res: Re: undefined reference to `errno' g++3.3
- References: <20030731142610.903F893A15@mailweb02.ibest.com.br>
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