On Wed, 2011-03-16 at 10:11 +0000, Kumar Ranjit-B04060 wrote: > $ cat > x.c << EOF > > #define _GNU_SOURCE > > #include <string.h> > > EOF > $ gcc -c x.c > > No its not compiling and giving the same __locale error. > > BTW when I do these step > 1)in libxstrndup.c add #define __USE_XOPEN2K8;#undef __USE_GNU > 2)in /usr/include/stdio.h add #undef __USE_GNU > 3)in /usr/include/string.h add #define __USE_XOPEN2K8 > > Then the problems (attached) comes.
You will first have to fix your setup so that the simple #include <string.h> works. Cheers, Mark _______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
