This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Newlib build error on ix86-linux
- From: José Miguel Gonçalves <jose dot goncalves at inov dot pt>
- To: newlib at sources dot redhat dot com
- Date: Fri, 20 Jun 2003 01:35:47 +0100
- Subject: Newlib build error on ix86-linux
Hi all,
I am trying to build newlib natively on a Linux PC and I am getting errors.
I am building it using the latest newlib sources from CVS, with a Mandrake 9.1
distribution and gcc 2.96.
More details:
$ mkdir newlib-build
$ cd newlib-build
$ ../newlib-src/configure --prefix=/usr/local/newlib --srcdir=../newlib-src
...
$ make all-target-newlib
...
gcc -I/home/jmpg/newlib-build/i686-pc-linux-gnu/newlib/targ-include
-I../../../newlib-src/newlib/./libc/include -DPACKAGE=\"newlib\"
-DVERSION=\"1.11.0\" -I. -I../../../../../newlib-src/newlib/libc/argz -O2
-DMB_CAPABLE -Wall -D_I386MACH_ALLOW_HW_INTERRUPTS -D_LOOSE_KERNEL_NAMES
-DHAVE_FCNTL -DWANT_IO_POS_ARGS -DWANT_IO_LONG_DBL -fPIC
-D_I386MACH_NEED_SOTYPE_FUNCTION -DMISSING_SYSCALL_NAMES -fno-builtin -O2 -g
-O2 -O2 -g -O2 -c ../../../../../newlib-src/newlib/libc/argz/argz_add.c -fPIC
-DPIC -o .libs/argz_add.o
In file included from ../../../../../newlib-src/newlib/libc/argz/argz_add.c:8:
/home/jmpg/newlib-build/i686-pc-linux-gnu/newlib/targ-include/sys/types.h:53:24:
sys/config.h: No such file or directory
/home/jmpg/newlib-build/i686-pc-linux-gnu/newlib/targ-include/sys/types.h:54:27:
machine/types.h: No such file or directory
make[4]: *** [argz_add.lo] Error 1
Any help would be appreciated.
José Goncalves