From owner-freebsd-questions Wed Jan 31 14: 9:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from silmu.st.jyu.fi (silmu.st.jyu.fi [130.234.40.17]) by hub.freebsd.org (Postfix) with ESMTP id E08DB37B684 for ; Wed, 31 Jan 2001 14:09:02 -0800 (PST) Received: from localhost (tristan@localhost) by silmu.st.jyu.fi (8.9.3/8.9.3) with ESMTP id AAA06998 for ; Thu, 1 Feb 2001 00:09:01 +0200 Date: Thu, 1 Feb 2001 00:09:00 +0200 (EET) From: Kim Helenius To: Subject: Re: Make world problems (libl, gencheck) In-Reply-To: <3A7888B5.9EDBEC65@axiomadvertising.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Silly me, sorry about this.. I forgot to mention I did indeed boot to the old kernel :) I tried make world with the new one first, of course, and as it did not work I rebooted to the old one (I had to do this anyway as I wanted the ipfw rules to work - only default to accept worked). Exactly the same results (gencheck failed). But thank you for answering :) > I don't pretend to know what I'm doing either, but I can offer a suggestion. > I think the problem might be that you updated your source and built a kernel > without updating the rest of the userland. Try booting to your old kernel > (kernel.old if you haven't deleted it). Then with your old kernel do a make > clean, make buildworld (to see if it actually builds), drop to single user, > make installworld, mergemaster, then build a new kernel and reboot. This is > the process I usually use when I update and it's been smooth so far. In > theory this should work. > > Although I could be incredible wrong about this, and if I am I would > appreciate it if someone would point it out since it's usually the only way I > learn something new. > > Joe Guetler > > > I'm a bit new to FreeBSD so I have no clue about these errors. I did cvsup > > and make world about two months ago, everything went smoothly. Now, the > > problems began when I finally managed to set up some IPFW rules. No > > problem. Except that I didn't have have the option IPFIREWALL_VERBOSE in > > my kernel, so I decided it was time to build a new kernel anyway. I did > > a cvsup, compiled the kernel and rebooted. This is where the problems > > started. > > > > Ipfw then gave ipfw: getsockopt(IP_FW_ADD): Invalid parameter (or > > something close to that) on every rule add attempt. I read from > > /usr/src/UPDATING that ipfw has indeed changed since my last make world so > > I decided it was time to do that too. It stopped quite early and I managed > > to find out that LDADD = -ll in a makefile was the culprit. I then made a > > link /usr/lib/libl.a -> /usr/lib/libln.a and so that problem was solved > > (whether this is a good solution I don't know). > > > > Then the make world reached as far as > > /usr/obj/usr/src/gnu/usr.bin/cc/cc_tools and there it compiled a binary, > > gencheck and this is where it stops: > > ./gencheck > treecheck.h > > ./gencheck: permission denied > > So, I cannot execute the binary -> the make world will not continue. > > > > Kim Helenius To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message