Subject: X failing when crossbuilding
To: None <current-users@netbsd.org>
From: Brett Lymn <blymn@baesystems.com.au>
List: current-users
Date: 09/18/2005 22:54:29
Folks,
I am trying to crossbuild a release of -current on an amd64 box
targetting i386 but the build keeps failing with this:
Lint pass2:
dependall ===> x11/lib/expat
create expat/xmlparse.d
/usr/xsrc/xfree/xc/lib/expat/xmlparse.c:94:22: internal.h: No such file or directory
/usr/xsrc/xfree/xc/lib/expat/xmlparse.c:95:20: xmltok.h: No such file or directory
/usr/xsrc/xfree/xc/lib/expat/xmlparse.c:96:21: xmlrole.h: No such file or directory
nbmkdep: compile failed.
*** Failed target: xmlparse.d
*** Failed command: CC=/usr/src/obj.i386/tooldir.NetBSD-3.99.8-x86_64/bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-3.99.8-x86_64/bin/nbmkdep -f xmlparse.d -- -DXML_BYTE_ORDER=0 -I/usr/xsrc/xfree/xc/lib/expat -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/local/install.i386/usr/X11R6/include -nostdinc -isystem /usr/local/install.i386/usr/include /usr/xsrc/xfree/xc/lib/expat/xmlparse.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/lib/expat
Any suggestions? (and, yes, if I do a native build it works just fine)
--
Brett Lymn