Also, the memrchr module does not support the renaming in config.h that is used to guarantee namespace cleanliness of shared libraries. E.g. #define memrchr libfoo_memrchr
Fixed like this: 2008-04-27 Bruno Haible <[EMAIL PROTECTED]> Allow local renaming in config.h. * lib/memrchr.c (memrchr): Don't undefine outside libc. --- lib/memrchr.c.orig 2008-04-27 12:27:02.000000000 +0200 +++ lib/memrchr.c 2008-04-27 12:26:16.000000000 +0200 @@ -35,7 +35,9 @@ #include "intprops.h" #undef __memrchr -#undef memrchr +#ifdef _LIBC +# undef memrchr +#endif #ifndef weak_alias # define __memrchr memrchr