Date: Wed, 31 Jan 2001 15:50:46 -0600 From: Joe Guetler <joe@axiomadvertising.com> To: Kim Helenius <tristan@itu.st.jyu.fi> Cc: freebsd-questions@freebsd.org Subject: Re: Make world problems (libl, gencheck) Message-ID: <3A7888B5.9EDBEC65@axiomadvertising.com> References: <Pine.LNX.4.30.0101312208300.10859-100000@itu.st.jyu.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
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 Kim Helenius wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A7888B5.9EDBEC65>