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


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