Date: Mon, 02 Jul 2001 08:26:08 +0200 From: Gianmarco Giovannelli <gmarco@scotty.masternet.it> To: cjclark@alum.mit.edu Cc: stable@freebsd.org Subject: Re: make kernel is broken on ipfilter (4.3-STABLE) Message-ID: <5.1.0.14.2.20010702080811.01b1c7b8@194.184.65.7> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20010702080811.01b1c7b8>