Subject: Attempting to build a kernel...
To: None <port-mac68k@NetBSD.ORG>
From: Grady Drago <Grady.Drago@nsc.com>
List: port-mac68k
Date: 01/03/1997 18:21:55
All,

I'm trying to build a kernel from the current sys tree from 
sys.tar.gz.

I have followed the FAQ and I'v over come several other problems 
(config out of date etc...), but I need a little help to wrap this up.

Background:

- I've ftp'ed the current sys.tar.gz from ftp.netbsd.org and installed 
it in /usr/src so the path to my machine file 'ROVER' is:

/usr/src/sys/arch/mac68k/conf/ROVER

from there I ran:

rover% config ROVER

I was then reminded to run make depend so I did the following:

rover% cd /usr/src/sys
rover% make depend
===> arch/mac68k
===> lkm
===> lkm/compat
===> lkm/compat/sunos
===> lkm/vfs
===> lkm/vfs/isofs
===> lkm/vfs/isofs/cd9660
===> lkm/vfs/miscfs
===> lkm/vfs/miscfs/fdesc
===> lkm/vfs/miscfs/kernfs
===> lkm/vfs/miscfs/nullfs
===> lkm/vfs/miscfs/portal
===> lkm/vfs/miscfs/procfs
===> lkm/vfs/miscfs/umapfs
===> lkm/vfs/miscfs/union
===> lkm/vfs/msdosfs
===> lkm/vfs/ufs
===> lkm/vfs/ufs/mfs

I then ran:

rover% make
===> arch/mac68k
===> lkm
===> lkm/compat
===> lkm/compat/sunos
gcc -O -DCOMPAT_SUNOS  -D_KERNEL -D_LKM -I. 
-I/usr/src/sys/lkm/compat/sunos -I/usr/src/sys -I/usr/src/sys/arch 
-Werror  -c /usr/src/sys/compat/s
unos/sunos_ioctl.c
In file included from /usr/src/sys/compat/sunos/sunos_ioctl.c:46:
/usr/src/sys/sys/syscallargs.h:972: syntax error before `clockid_t'
/usr/src/sys/sys/syscallargs.h:977: syntax error before `clockid_t'
/usr/src/sys/sys/syscallargs.h:982: syntax error before `clockid_t'
*** Error code 1
.
.
.
Stop.
*** Error code 1

Stop.p


I looked at the mentioned files and couldn't find a problem that I 
though would be something I should have to modify. Is this a known 
problem with the current sources? Any help would be greatly 
appreciated.

-Grady Drago
Grady.Drago@nsc.com