From owner-freebsd-hackers Sat Nov 11 14:35:09 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA05871 for hackers-outgoing; Sat, 11 Nov 1995 14:35:09 -0800 Received: from DATAPLEX.NET (SHARK.DATAPLEX.NET [199.183.109.241]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA05856 for ; Sat, 11 Nov 1995 14:35:06 -0800 Received: from [199.183.109.242] by DATAPLEX.NET with SMTP (MailShare 1.0fc5); Sat, 11 Nov 1995 16:34:55 -0600 X-Sender: rkw@shark.dataplex.net Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sat, 11 Nov 1995 16:34:53 -0600 To: Terry Lambert From: rkw@dataplex.net (Richard Wackerbarth) Subject: Re: LKM's still wont compile in -current Cc: current@freebsd.org, root@deadline.snafu.de, hackers@freebsd.org Sender: owner-hackers@freebsd.org Precedence: bulk >> >===> lkm >> >===> lkm/atapi >> >cc -O2 -m486 -pipe -nostdinc -I. -I/sys -DATAPI -DATAPI_MODULE >>-DKERNEL -I/usr/src/lkm/atapi/../../sys -W -Wcomment -Wredundant-decls -c >>/usr/src/lkm/atapi/../../sys/i386/isa/atapi.c >> >In file included from /sys/sys/conf.h:205, >> > from /usr/src/lkm/atapi/../../sys/i386/isa/atapi.c:912: >> >./machine/conf.h:14: ioconf.h: No such file or directory >> >*** Error code 1 >> >> >This __still__ happens when doing a make world. >> >> Install bsd.kmod.mk. > >Thank you. This provides an example of broken code for maintaining >-stable and -current on the same machine other than the "config" program >itself. Now can I sell "you" (the holdouts, not you Terry) on getting rid of the absolute paths? EVERYTHING needs to be referenced relative to the ROOT of the build tree. SRC, OBJ location, TOOLS, INCludes, MKfiles, etc. EVERYTHING. The default definitions can revert to the rooted definitions for the very common "special case" of compiling an update to the running system. However the general case is still that of building a totally different system to be run on another machine, perhaps even with a different kind of cpu. ---- Richard Wackerbarth rkw@dataplex.net