From owner-freebsd-current@FreeBSD.ORG Fri Jun 4 13:58:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34C1B16A4CE for ; Fri, 4 Jun 2004 13:58:41 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 124B743D41 for ; Fri, 4 Jun 2004 13:58:41 -0700 (PDT) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id B88875C862; Fri, 4 Jun 2004 13:58:38 -0700 (PDT) Date: Fri, 4 Jun 2004 13:58:38 -0700 From: Bill Fumerola To: "P.D. Seniura" Message-ID: <20040604205838.GG80705@elvis.mu.org> References: <20040604183801.3E3C0790037@ws1-14.us4.outblaze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040604183801.3E3C0790037@ws1-14.us4.outblaze.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 4.10-MUORG-20040525 i386 X-PGP-Key: 1024D/7F868268 X-PGP-Fingerprint: 5B2D 908E 4C2B F253 DAEB FC01 8436 B70B 7F86 8268 cc: freebsd-current@freebsd.org Subject: Re: addendum - several modules failing to be built - all related to pccarddevs.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 20:58:41 -0000 On Fri, Jun 04, 2004 at 09:42:25PM +0300, Ruslan Ermilov wrote: > FWIW, running ``make depend'' is almost always optional. except when it's not, apparently. On Fri, Jun 04, 2004 at 12:38:01PM -0600, P.D. Seniura wrote: > The 'make buildworld' did that. > The log shown was a "re-run". > No other patches/updates were applied in-between. make buildworld builds in the objdir (/usr/obj/blah). when you build within /sys/modules/ you're no longer building in the objdir. so here's a thought: try it before telling me i'm wrong. i did. -- - bill fumerola / fumerola@yahoo-inc.com / billf@FreeBSD.org [ SECURE !6 ]% make clean (/sys/modules/aic) rm -f /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/export_syms aic.ko aic.kld aic.o aic_pccard.o aic_isa.o @ machine symb.tmp tmp.o opt_cam.h opt_scsi.h bus_if.h device_if.h isa_if.h card_if.h pci_if.h pccarddevs.h [choker.corp.yahoo(p4)-fumerola Fri04/13:33:23] [ SECURE !7 ]% make (/sys/modules/aic) Warning: Object directory not changed from original /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic @ -> /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys machine -> /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/i386/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h touch opt_cam.h cc -O -pipe -march=pentium4 -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -I/usr/include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/dev/aic/aic.c awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h make: don't know how to make @/dev/pccard/pccarddevs.h. Stop [choker.corp.yahoo(p4)-fumerola Fri04/13:33:28] [ SECURE !8 ]% make depend (/sys/modules/aic) awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs touch opt_scsi.h rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../include /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/../../dev/aic/aic.c /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/../../dev/aic/aic_pccard.c /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/../../dev/aic/aic_isa.c [choker.corp.yahoo(p4)-fumerola Fri04/13:33:32] [ SECURE !9 ]% make (/sys/modules/aic) Warning: Object directory not changed from original /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic cc -O -pipe -march=pentium4 -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/dev/aic/aic_pccard.c cc -O -pipe -march=pentium4 -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/dev/aic/aic_isa.c ld -d -warn-common -r -d -o aic.kld aic.o aic_pccard.o aic_isa.o touch /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/export_syms awk -f /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/../../conf/kmod_syms.awk aic.kld /usr/home/fumerola/malaise/vendor/freebsd_5/src/sys/modules/aic/export_syms | xargs -J% objcopy % aic.kld ld -Bshareable -d -warn-common -o aic.ko aic.kld objcopy --strip-debug aic.ko [choker.corp.yahoo(p4)-fumerola Fri04/13:34:56] [ SECURE !10 ]%