Subject: Building tools with latest current fails
To: None <current-users@netbsd.org>
From: Dave Tyson <Dave.Tyson@liverpool.ac.uk>
List: current-users
Date: 06/20/2006 14:02:08
Just CVS'ed the lastest current and building the tools seems to fail under 
both gcc4 and gcc3:

./build.sh -U -T ../tools -O ../obj  tools
..
..

#   compile  installboot/bbinfo.lo
cc -O -I. -I/usr/src/tools/installboot 
-I/usr/src/tools/installboot/../mips-elf2ecoff -I/usr/src/../tools/incl
ude -I/usr/src/../obj/tools/compat -I/usr/src/../obj/tools/compat/include  
-I/usr/src/tools/installboot/../com
pat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  
-I/usr/src/tools/installboot/../../usr.sbin/installboot
-I. -c -o 
bbinfo.lo.o    /usr/src/tools/installboot/../../usr.sbin/installboot/bbinfo.c
mv bbinfo.lo.o bbinfo.lo
#   compile  installboot/ffs.lo
cc -O -I. -I/usr/src/tools/installboot 
-I/usr/src/tools/installboot/../mips-elf2ecoff -I/usr/src/../tools/incl
ude -I/usr/src/../obj/tools/compat -I/usr/src/../obj/tools/compat/include  
-I/usr/src/tools/installboot/../com
pat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64  
-I/usr/src/tools/installboot/../../usr.sbin/installboot
-I. -c -o 
ffs.lo.o    /usr/src/tools/installboot/../../usr.sbin/installboot/ffs.c
In file included from /usr/include/sys/proc.h:48,
                 from /usr/include/dev/raidframe/raidframevar.h:111,
                 
from /usr/src/tools/installboot/../../usr.sbin/installboot/ffs.c:66:
/usr/include/sys/lock.h:149: error: expected specifier-qualifier-list before 
'cpuid_t'
In file included from /usr/include/sys/proc.h:52,
                 from /usr/include/dev/raidframe/raidframevar.h:111,
                 
from /usr/src/tools/installboot/../../usr.sbin/installboot/ffs.c:66:
/usr/include/sys/signalvar.h:54: error: 'NSIG' undeclared here (not in a 
function)
/usr/include/sys/signalvar.h:73: error: field 'ps_sigstk' has incomplete type
In file included from /usr/include/dev/raidframe/raidframevar.h:111,
                 
from /usr/src/tools/installboot/../../usr.sbin/installboot/ffs.c:66:
/usr/include/sys/proc.h:135: error: expected declaration specifiers or '...' 
before 'vaddr_t'
/usr/include/sys/proc.h:137: error: expected specifier-qualifier-list before 
'vaddr_t'

*** Failed target:  ffs.lo

Dave

-- 
=====================================================================
Computing Services Dept         Phone/Fax: 0151-794-3731/3759
The University of Liverpool     Email: dtyson@liv.ac.uk
Chadwick Tower, Peach Street    WWW:   http://www.liv.ac.uk/~dtyson
Liverpool L69 7ZF               Open Source O/S: www.netbsd.org
=====================================================================