From owner-freebsd-current Sun Apr 27 06:30:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA11627 for current-outgoing; Sun, 27 Apr 1997 06:30:59 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA11622 for ; Sun, 27 Apr 1997 06:30:55 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id PAA19266 for current@FreeBSD.org; Sun, 27 Apr 1997 15:30:23 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199704271330.PAA19266@helbig.informatik.ba-stuttgart.de> Subject: make world cannot build lkm's - missing opt_smp.h To: current@FreeBSD.org Date: Sun, 27 Apr 1997 15:30:22 +0200 (MET DST) X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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.