undefined reference to `__errno_location(void)'x

Der Herr Hofrat der.herr@mail.hofr.at
Mon Sep 2 10:14:00 GMT 2002


> 
> 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 



More information about the Gcc-help mailing list