FreeBSD 4.0-CURRENT, arla-0.23

assar@stacken.kth.se assar at stacken.kth.se
Mon May 17 00:21:28 CEST 1999


Robert Watson <robert at cyrus.watson.org> writes:
> I'm using 4.0-CURRENT, and did a ./configure --enable-kld, but on the make
> got:

You shouldn't need to say `--enable-kld' any longer, it will default
to kld for freebsd4*.

> gcc -c  -DHAVE_CONFIG_H -I. -I.  -I../../include -I./../../include
> -I./../inclu
> de  -I/usr/athena/include -DXFS_DEBUG -g  -Wall -I. -DKERNEL -D_KERNEL
> -DVFS_KLD
>  -DKLD_MODULE -I/sys/arch -I/sys -I. -Wno-unused xfs_message.c
> In file included from xfs_message.c:39:
> xfs/xfs_locl.h:137: sys/lkm.h: No such file or directory
> *** Error code 1

Yeah, the machine where I tried it (of course) still had a <sys/lkm.h>.

/assar

Index: xfs/bsd/xfs/xfs_locl.h
===================================================================
RCS file: /usr/local/cvsroot/arla/xfs/bsd/xfs/xfs_locl.h,v
retrieving revision 1.21
retrieving revision 1.21.8.1
diff -u -w -u -w -r1.21 -r1.21.8.1
--- xfs_locl.h	1999/01/19 19:55:21	1.21
+++ xfs_locl.h	1999/05/16 22:18:44	1.21.8.1
@@ -36,7 +36,7 @@
  * SUCH DAMAGE.
  */
 
-/* $Id: xfs_locl.h,v 1.21 1999/01/19 19:55:21 art Exp $ */
+/* $Id: xfs_locl.h,v 1.21.8.1 1999/05/16 22:18:44 assar Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
@@ -134,7 +134,9 @@
 #ifdef HAVE_SYS_SYSENT_H
 #include <sys/sysent.h>
 #endif
+#ifdef HAVE_SYS_LKM_H
 #include <sys/lkm.h>
+#endif
 #include <sys/errno.h>
 #include <sys/file.h>
 #include <sys/namei.h>





More information about the Arla-drinkers mailing list