[uClibc]Re: strerror_r undefined in libc/inet/rpc/clnt_perror.c

Miles Bader miles at lsi.nec.co.jp
Wed Jul 24 02:17:51 UTC 2002


mjn3 at codepoet.org (Manuel Novoa III) writes:
> > clnt_perror.c uses strerror_r, and I'm getting a link-time failure:
> > 
> >    clnt_perror.o(.text+0xbc): undefined reference to `strerror_r'
> 
> It is odd.  Have you tried looking at the preprocessor output?

OK, I figured out the problem -- __REDIRECT wasn't working properly
because the `assembler name' it constructs didn't have the underscore
prefix that's necessary on my system (it had some stuff to add it, but
that's apparently glibc-specific).

I've checked in a fix, to include/sys/cdefs.h.

-Miles
-- 
Ich bin ein Virus. Mach' mit und kopiere mich in Deine .signature.



More information about the uClibc mailing list