> > Did you do a `make clean' before running each of these? There could be
> > stale files from the last compile sitting around. Also, before making
> > world, did you delete /usr/obj?
> Yes to both. In fact, with the kernel build, I got furstrated after a
> couple of attempts and instead of "make clean", I just deleted the build
> directory and then ran another config on my kernel config file. No
> help. /usr/obj was also deleted prior to "make world". Any other
> ideas, perhaps? This is quite perplexing.
Well, those two are usually the problem when I have build trouble.
However, I know of two other possibilities:
a. You could have cvsuped at a time when there was something unstable in
the tree. This is unlikely, and I've never had it happen, but it's
theoretically possible. The solution here is to re-cvsup and try again.
b. If this is the first time you've built a 4.0 system on a system that
was previously 3.X, you may have some extra work to do. I don't know if
this procedure is still valid, but it was not that long ago:
1. cd /usr/src/usr.sbin/config; make all install clean
(I guess this is needed to make a 4.0 kernel)
2. cd /usr/src/usr.sbin.config; make all install clean
(You need to rebuild the `config' program to properly config the 4.0
3. Update your config file from LINT or GENERIC to include all the 4.0
4. build and install the new kernel
5. reboot (make world won't work with a 3.x kernel)
6. cd /usr/src; make buildworld
7. make -k installworld
(this will fail in places, the -k makes sure it keeps goin anyway)
8. make installworld
(this will pick up whatever didn't work the first time)
9. merge in the files in /usr/src/etc to /etc
(I'm guessing a lot has changed)
10. rebuild your kernel again, cleaning first
11. Reboot, you should now have a 4.0 system.
You may have to remake devices and/or switch /etc/fstab around if you're
using IDE drives.
This information came from Alan Strassberg originally, and I haven't
done it yet. I've got 2 4.0 systems that I've installed from scratch -
but I rely on this one too much to risk fouling up an upgrade until I
have something to fall back on.
I assume that those steps are still necessary, but I don't know. I'd
appreciate if you let me know if you do this (whether it works or not
and if anything was missing)
Thanks and good luck,
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?