Date: Sun, 27 Apr 1997 15:30:22 +0200 (MET DST) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: current@FreeBSD.org Subject: make world cannot build lkm's - missing opt_smp.h Message-ID: <199704271330.PAA19266@helbig.informatik.ba-stuttgart.de>
index | next in thread | raw e-mail
Hi,
make world fails when it tries to build LKMs because the files
opt_smp.h
opt_smp_invltbl.h
are missing. They are included at least by the following files
/sys/i386/include/smp.h
/sys/i386/include/cpufunc.h
/sys/i386/include/ipl.h
/sys/i386/include/spl.h
I suggest the following patch to /usr/src/share/mk/bsd.kmod.mk as
a temporary workaround
Wolfgang
Index: bsd.kmod.mk
===================================================================
RCS file: /usr/cvsroot/src/share/mk/bsd.kmod.mk,v
retrieving revision 1.31
diff -c -r1.31 bsd.kmod.mk
*** bsd.kmod.mk 1997/04/13 06:44:21 1.31
--- bsd.kmod.mk 1997/04/27 13:25:36
***************
*** 94,99 ****
--- 94,106 ----
.SUFFIXES: .out .o .c .cc .cxx .C .y .l .s .S
#
+ # A temporary fix to survive SMP changes.
+ #
+ CFLAGS+= -I.
+ beforedepend :
+ touch opt_smp.h
+ touch opt_smp_invltlb.h
+ #
# Assume that we are in /usr/src/foo/bar, so /sys is
# ${.CURDIR}/../../sys. We don't bother adding a .PATH since nothing
# actually lives in /sys directly.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704271330.PAA19266>
