This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
RE: Build issues on Freescale P4080
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 16 Mar 2011 11:27:20 +0100
- Subject: 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