Problems compiling
J. Johnston
jjohnstn@redhat.com
Wed Nov 26 22:11:00 GMT 2003
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.
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.
>
More information about the Newlib
mailing list