1 Answer
1

It looks like the system is trying to build an i386 kernel on your amd64 system.
Can you post the output of "uname -a", the contents of /usr/make.conf and /usr/src.conf please?

Update:

Having re-read the original question it appears you're not following the standard build process as outlined in the Handbook, which is probably why things are going wrong. You should be running make buildkernel to build a new kernel, and make installkernel to install it; make depend etc. are run as part of the build internally, but haven't been required to be run manually since the 4.x days.

That's something I considered, but I'd have thought that you'd be able to build a 32 bit kernel on a 64 bit system. Oh well, I'll edit my original post with the output and contents above.
–
JBirchAug 24 '10 at 5:46

I've updated my answer based on re-reading the question: you shouldn't be running "make depend" - all you need is "make buildkernel".
–
BCranAug 25 '10 at 10:47

That seems to be compiling the kernel fine! Thank you for the clarification.
–
JBirchAug 29 '10 at 5:42