This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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: Problems compiling


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.
> > 
> 


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