This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: Build issues on Freescale P4080


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


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