This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Build error CVS head
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <newlib at sources dot redhat dot com>
- Date: Sun, 17 Jun 2007 00:18:30 +0100
- Subject: Build error CVS head
Anyone else seen this? I'm building newlib as part of a winsup checkout,
and configure is getting my "-isystem
/usr/build/src-winsup/winsup/cygwin/include" and "-isystem
/usr/build/src-winsup/newlib/libc/include" options in the wrong order, leading
to the wrong search.h being found.
gcc -L/usr/build/obj-winsup.clean/i686-pc-cygwin/winsup
-L/usr/build/obj-winsup.clean/i686-pc-cygwin/winsup/cygwin
-L/usr/build/obj-winsup.clean/i686-pc-cygwin/winsup/w32api/lib -isystem
/usr/build/src-winsup/winsup/include -isystem
/usr/build/src-winsup/winsup/cygwin/include -isystem
/usr/build/src-winsup/winsup/w32api/include
-B/usr/build/obj-winsup.clean/i686-pc-cygwin/newlib/ -isystem
/usr/build/obj-winsup.clean/i686-pc-cygwin/newlib/targ-include -isystem
/usr/build/src-winsup/newlib/libc/include
-I/usr/build/src-winsup/winsup/cygwin/include -DPACKAGE_NAME=\"newlib\"
-DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.15.0\"
-DPACKAGE_STRING=\"newlib\ 1.15.0\" -DPACKAGE_BUGREPORT=\"\" -I.
-I/usr/build/src-winsup/newlib/libc/search -O2 -DHAVE_OPENDIR -DHAVE_RENAME
-DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_BLKSIZE -DHAVE_FCNTL
-DMALLOC_PROVIDED -fno-builtin -O2 -g -O2 -c -o lib_a-tdelete.o `test -f
'tdelete.c' || echo '/usr/build/src-winsup/newlib/libc/search/'`tdelete.c
/usr/build/src-winsup/newlib/libc/search/tdelete.c: In function `tdelete':
/usr/build/src-winsup/newlib/libc/search/tdelete.c:34: error: `node_t'
undeclared (first use in this function)
/usr/build/src-winsup/newlib/libc/search/tdelete.c:34: error: (Each undeclared
identifier is reported only once
/usr/build/src-winsup/newlib/libc/search/tdelete.c:34: error: for each
function it appears in.)
/usr/build/src-winsup/newlib/libc/search/tdelete.c:34: error: `rootp'
undeclared (first use in this function)
/usr/build/src-winsup/newlib/libc/search/tdelete.c:34: error: parse error
before ')' token
/usr/build/src-winsup/newlib/libc/search/tdelete.c:35: error: `p' undeclared
(first use in this function)
/usr/build/src-winsup/newlib/libc/search/tdelete.c:35: error: `q' undeclared
(first use in this function)
/usr/build/src-winsup/newlib/libc/search/tdelete.c:35: error: `r' undeclared
(first use in this function)
Makefile:426: *** [lib_a-tdelete.o] Error 1
cheers,
DaveK
--
Can't think of a witty .sigline today....