Problems compiling

J. Johnston
Wed Nov 26 22:11:00 GMT 2003


   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.

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 -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
> Any idea?
> Thanks.
> Xavi.

More information about the Newlib mailing list