This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: undefined reference to `__errno_location(void)'x
- From: Der Herr Hofrat <der dot herr at mail dot hofr dot at>
- To: GRE Spam Mail <gre_spam at anora dot org>
- Cc: Rupert Wood <me at rupey dot net>, gcc-help at gcc dot gnu dot org
- Date: Mon, 2 Sep 2002 18:18:04 +0200 (CEST)
- Subject: Re: undefined reference to `__errno_location(void)'x
>
> How do I check for the symbol?
>
> I tried this to see if the symbol was there, I don't know if this is the right
> way to check:
> [root@vaghn (/)] 01:02:53 $ grep "__errno_location" /usr/lib/libpthread.a
> Binary file /usr/lib/libpthread.a matches
> [root@vaghn (/)] 01:02:56 $ grep "__errno_location" /usr/lib/libpthread.so
> Binary file /usr/lib/libpthread.so matches
>
nm /usr/lib/libpthread.a | grep errno should be safe.
hofrat