From owner-freebsd-current Tue Jan 25 22:30:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 8805F14E05 for ; Tue, 25 Jan 2000 22:30:14 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (qmail 15500 invoked from network); 26 Jan 2000 06:30:12 -0000 Received: from bde.zeta.org.au (203.2.228.102) by gidora.zeta.org.au with SMTP; 26 Jan 2000 06:30:12 -0000 Date: Wed, 26 Jan 2000 17:30:10 +1100 (EST) From: Bruce Evans X-Sender: bde@alphplex.bde.org To: Brian Beattie Cc: current@FreeBSD.ORG Subject: Re: building modules In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 25 Jan 2000, Brian Beattie wrote: > I'm trying to figure out how to make a makefile to build a module and have > run into something I do not understand. I am working with freshly > cvsup'ed sources. > > When I try to build a module in /sys/modules, the command line contains a > -DKERNEL, which I find in bsd.kmod.mk. This causes the wrong definitions Your bsd.kmod.mk (maybe the installed one) is out of date. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message