From owner-freebsd-stable Sun Jul 1 23:29: 0 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cecov.masternet.it (cecov.masternet.it [194.184.65.7]) by hub.freebsd.org (Postfix) with ESMTP id 34CE037B401 for ; Sun, 1 Jul 2001 23:28:44 -0700 (PDT) (envelope-from gmarco@scotty.masternet.it) Received: from usul.scotty.masternet.it (modem13.masternet.it [194.184.65.208]) by cecov.masternet.it (8.11.3/8.11.3) with ESMTP id f626T1B06604; Mon, 2 Jul 2001 08:29:02 +0200 (CEST) (envelope-from gmarco@scotty.masternet.it) Message-Id: <5.1.0.14.2.20010702080811.01b1c7b8@194.184.65.7> X-Sender: gmarco@194.184.65.7 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 02 Jul 2001 08:26:08 +0200 To: cjclark@alum.mit.edu From: Gianmarco Giovannelli Subject: Re: make kernel is broken on ipfilter (4.3-STABLE) Cc: stable@freebsd.org In-Reply-To: <20010701112019.C296@blossom.cjclark.org> References: <5.1.0.14.2.20010701110225.03ad5558@194.184.65.7> <5.1.0.14.2.20010701110225.03ad5558@194.184.65.7> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 01/07/2001, you wrote: >On Sun, Jul 01, 2001 at 11:02:37AM +0200, Gianmarco Giovannelli wrote: > > At 01/07/2001, you wrote: > > > > > > >I have a 4.3-STABLE laptop, installed from a 4.3 CDROM. > > > > > >If I do a: > > >cd /usr/src > > >make kernel > > > > > >with KERNCONF=FREEBSD it stops in this way: > > > > > >make: don't know how to make > > >/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop > >Your src/sys/modules/ipfilter/Makefile is out of date. That file does >not exist. > >Not exactly sure off the top of my head why building using the "old" >method or GENERIC works. They should fail too if they try to build >this module. > > > Ideas ? Tips ? > >Update src/sys/modules/ipfilter. I delete the ipfilter dirs from both /sys/modules/ipfilter and from contrib tree. Then I run cvsup again and I get the new files. The same make kernel fails: preferred-stack-boundary=2 -c setdef0.c cc -O -pipe -DIPV6FIREWALL -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -m preferred-stack-boundary=2 -c setdef1.c ld -Bshareable -o ip6fw.ko setdef0.o ip6fw.kld setdef1.o ===> ipfilter make: don't know how to make /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop *** Error code 2 So why it continue to stop ? Is "make kernel" and "config -r FREEBSD && cd ../../compile/FREEBSD && make depend && make install" make things using different Makefiles ? I use always mergemaster too to updated the system scripts. Btw a some considerations. a) Cvsup is running in exact mode so I allow the deletion of files too... The dir /sys/modules/ipfilter had a lot of files before I delete it, after I recreated it with cvsup I get only a Makefile with version : # $FreeBSD: src/sys/modules/ipfilter/Makefile,v 1.2.2.2 2001/06/07 05:11:44 jlemon Exp $ ... but why cvsup doesn't delete them by itself during the last updated I run (and I run a lot of them :-) ? If I didn't manually remove them I continue to carry them in my tree... b) Why any other boxes I have installed from 4.2-RELEASE and the cvsupped has the right files in the ipfilter dir ? (only a Makefile). c) Could it be a problem related to the src tree installed from the 4.3-RELEASE cdrom that cvsup is not able to handle properly ? Now I think I'll wipe all my src tree and then I try to get it again to see if the problem is still here. Please stay tuned... Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message