Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 1998 11:55:44 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Andreas Klemm <andreas@klemm.gtn.com>
Cc:        FreeBSD current users <FreeBSD-current@FreeBSD.ORG>
Subject:   Re: -current: nullfs lkm compile problem
Message-ID:  <19980201115544.40422@lemis.com>
In-Reply-To: <19980201011949.19405@klemm.gtn.com>; from Andreas Klemm on Sun, Feb 01, 1998 at 01:19:49AM %2B0100
References:  <19980201011949.19405@klemm.gtn.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 01, 1998 at 01:19:49AM +0100, Andreas Klemm wrote:
> ===> lkm/nullfs
> rm -f .depend
> mkdep -f .depend -a  -DNULLFS -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/usr/obj/usr/src/lkm/nullfs -I/usr/obj/usr/src/lkm/nullfs/@ -I/usr/obj/usr/src/tmp/usr/include -DVFS_LKM -DMODVNOPS=null_modvnops  /usr/src/lkm/nullfs/../../sys/miscfs/nullfs/null_subr.c /usr/src/lkm/nullfs/../../sys/miscfs/nullfs/null_vfsops.c /usr/src/lkm/nullfs/../../sys/miscfs/nullfs/null_vnops.c
> /usr/src/lkm/nullfs/../../sys/miscfs/nullfs/null_subr.c:41: opt_debug_nullfs.h: No such file or directory
> /usr/src/lkm/nullfs/../../sys/miscfs/nullfs/null_vfsops.c:47: opt_debug_nullfs.h: No such file or directory
> /usr/src/lkm/nullfs/../../sys/miscfs/nullfs/null_vnops.c:177: opt_debug_nullfs.h: No such file or directory
> mkdep: compile failed
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.

Yup.  Here too.  The good news is that the lfs problem is gone.

I've taken nullfs out of lkm/Makefile.  At least that way I can get
further through lkm:

===> syscons/daemon
cc -O -I/src/FREEBIE/lkm/syscons/daemon/.. -I/src/FREEBIE/lkm/syscons/daemon/../../../sys  -DKERNEL -DACTUALLY_LKM_NOT_KERNEL -I/src/FREEBIE/lkm/syscons/daemon/../../sys  -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit  -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes  -Wpointer-arith -Winline -Wuninitialized -c /src/FREEBIE/lkm/syscons/daemon/daemon_saver.c
/src/FREEBIE/lkm/syscons/daemon/daemon_saver.c:41: machine/pc/display.h: No such file or directory
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

real    2m8.161s
user    1m26.972s
sys     0m10.559s
=== root@freebie (/dev/ttyp4) /usr/src/lkm 39 ->

RCS file: /src/cvs/src/lkm/Makefile,v
retrieving revision 1.28
diff -w -u -r1.28 Makefile
--- Makefile    1997/08/28 14:45:12     1.28
+++ Makefile    1998/02/01 01:24:41
@@ -2,8 +2,8 @@
 
 # XXX present but broken: ip_mroute_mod mfs
 SUBDIR=        atapi ccd cd9660 coff fdesc ibcs2 if_disc if_ppp if_sl if_tun \
-       ipfw joy kernfs linux msdos nfs nullfs \
-       pcic portal procfs qcam syscons umapfs wcd
+       ipfw joy kernfs linux msdos nfs \
+       pcic portal procfs qcam umapfs wcd
 
 # XXX builds, but not useable with present design
 # fpu gnufpu union

Boy, we're in good shape at the moment.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980201115544.40422>