Subject: Re: errors in building vfs_subr.o
To: Peter Galbavy <peter@wonderland.org>
From: matthew green <mrg@mame.mu.oz.au>
List: current-users
Date: 01/24/1995 23:11:31
   I must be doing *something* wrong, since no one else has reported
   this problem - but what is it ?
   
   cc  -c -I. -I../../../../arch -I../../../.. -I../../../../sys -DSUN4C -DTIMEZONE="0" -DDST="0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DRCONSOLE -DSYS
VMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_09 -DCOMPAT_10 -DNKMEMCLUSTERS=4096 -DFFS -DNFSCLIENT -DKERNFS -DFIFO -DMFS -DINET -DTCP_COMPAT_42 -DGATEWAY -DCOMPAT_43 -DLK
M -DCOMPAT_SUNOS -DKERNEL -O2  ../../../../kern/vfs_subr.c
   ../../../../kern/vfs_subr.c: In function `vntblinit':
   ../../../../kern/vfs_subr.c:97: structure has no member named `cqh_first'
   ../../../../kern/vfs_subr.c:97: structure has no member named `cqh_last'
   ../../../../kern/vfs_subr.c: In function `getvfs':
   ../../../../kern/vfs_subr.c:178: structure has no member named `cqh_first'
   ../../../../kern/vfs_subr.c:179: structure has no member named `cqe_next'
   ../../../../kern/vfs_subr.c: In function `getnewfsid':
   ../../../../kern/vfs_subr.c:204: structure has no member named `cqh_first'
   ../../../../kern/vfs_subr.c: In function `sysctl_vnode':
   ../../../../kern/vfs_subr.c:1202: structure has no member named `cqh_first'
   ../../../../kern/vfs_subr.c:1203: structure has no member named `cqe_next'
   ../../../../kern/vfs_subr.c: In function `vfs_unmountall':
   ../../../../kern/vfs_subr.c:1488: structure has no member named `cqh_last'
   ../../../../kern/vfs_subr.c:1489: structure has no member named `cqe_prev'
   
   This is current - 1.0 code is fine.

this problem looks awfully like you don't have an upto date
/sys/sys/mount.h -- the mount list changed from a tailq to a
circle quene recently, which is what is causing the problems
you are seeing, i believe.

the mount.h i use looks like:

-rw-rw-r--  1 mrg  wsrc  15702 Jan 21 14:23 /sys/sys/mount.h

.mrg.