This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Problems compiling
- From: Xavier Pegenaute <xpegenaute at telepolis dot es>
- To: "J. Johnston" <jjohnstn at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: 26 Nov 2003 18:24:49 +0100
- Subject: Re: Problems compiling
- Organization:
- References: <1069787337.2085.72.camel@p-133> <3FC4E0B5.7040805@redhat.com>
Hi,
On Wed, 2003-11-26 at 18:19, J. Johnston wrote:
> Xavier,
>
> I suspect you are specifying a relative directory to configure (e.g.
> ../../src/configure. Try specifying a full path for configure (you will have to
> clean out your build directory and start again). I recently added a patch to
> the CVS sources to make this work but you won't have it newlib-1.11.0.
>
> -- Jeff J.
No, I was not using relative diretcory, I saw this solution in the list
before write this message and i tried and this was the result. I saw
also something about libc, but I thought that may be it was not the
problem. But in the same way I installed a Debian with the old libraries
and also a RedHat 9.0, and no one worked, and always is broken in the
same point.
Xavi.
> Xavier Pegenaute wrote:
> > Hi,
> >
> > i'm trying to compile newlib but i have the next message:
> >
> > gcc -I/root/newlib-1.11.0/i686-pc-linux-gnu/newlib/targ-include
> > -I./.././libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.11.0\" -I. -I.
> > -O2 -DMB_CAPABLE -Wall -D_I386MACH_ALLOW_HW_INTERRUPTS
> > -D_LOOSE_KERNEL_NAMES -DHAVE_FCNTL -DWANT_IO_POS_ARGS -fPIC
> > -D_I386MACH_NEED_SOTYPE_FUNCTION -DMISSING_SYSCALL_NAMES -fno-builtin
> > -O2 -g -O2 -c argz_add.c -o argz_add.o
> > In file included from argz_add.c:8:
> > /root/newlib-1.11.0/i686-pc-linux-gnu/newlib/targ-include/sys/types.h:53: sys/config.h: No such file or directory
> > /root/newlib-1.11.0/i686-pc-linux-gnu/newlib/targ-include/sys/types.h:54: machine/types.h: No such file or directory
> > make[4]: *** [argz_add.lo] Error 1
> >
> > I tryied witg gcc-2.95 and gcc-3.0, my libc version is 2.2.5-11.5,
> > binutils 2.12.90.0.1-4.
> >
> > Any idea?
> >
> > Thanks.
> > Xavi.
> >
>