Subject: RC_5 xsrc compile failed
To: None <netbsd-users@NetBSD.org>
From: Steven Sartorius <ssartor@bellatlantic.net>
List: netbsd-users
Date: 12/08/2007 14:47:03
Hi,
Using a fresh download of the RC_5 xsrc tarball I am unable to get
xsrc to compile. The kernel and userland RC_5 build without problems
but doing a './build.sh -x distribution' dies in xsrc with the
following message:
dependall ===> x11/lib
dependall ===> x11/lib/X11
dependall ===> x11/lib/X11/dynamic
dependall ===> x11/lib/X11/static
dependall ===> x11/lib/ICE
dependall ===> x11/lib/Xau
dependall ===> x11/lib/freetype2
dependall ===> x11/lib/freetype2/freetype
dependall ===> x11/lib/freetype2/freetype/cache
dependall ===> x11/lib/freetype2/freetype/config
dependall ===> x11/lib/freetype2/freetype/internal
dependall ===> x11/lib/freetype2/freetype/internal/services
dependall ===> x11/lib/expat
# create expat/xmlrole.d
CC=/usr/src/obj.i386/tooldir.NetBSD-4.0_RC5-i386/bin/i386--netbsdelf-
gcc /usr/src/obj.i386/tooldir.NetBSD-4.0_RC5-i386/bin/nbmkdep -f
xmlrole.d -- -DXML_BYTE_ORDER=0 -I/usr/xsrc/xfree/xc/lib/expat -
DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/src/obj.i386/
destdir.i386/usr/X11R6/include -nostdinc -isystem /usr/src/obj.i386/
destdir.i386/usr/include /usr/xsrc/xfree/xc/lib/expat/xmlrole.c
/usr/xsrc/xfree/xc/lib/expat/xmlrole.c:15:22: error: internal.h: No
such file or directory
/usr/xsrc/xfree/xc/lib/expat/xmlrole.c:16:21: error: xmlrole.h: No
such file or directory
/usr/xsrc/xfree/xc/lib/expat/xmlrole.c:17:19: error: ascii.h: No such
file or directory
nbmkdep: compile failed.
*** Failed target: xmlrole.d
*** Failed command: CC=/usr/src/obj.i386/tooldir.NetBSD-4.0_RC5-i386/
bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-4.0_RC5-i386/
bin/nbmkdep -f xmlrole.d -- -DXML_BYTE_ORDER=0 -I/usr/xsrc/xfree/xc/
lib/expat -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/src/
obj.i386/destdir.i386/usr/X11R6/include -nostdinc -isystem /usr/src/
obj.i386/destdir.i386/usr/include /usr/xsrc/xfree/xc/lib/expat/xmlrole.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/lib/expat
Anybody have any idea as to why?
thanks,
Steve