Kernel compilation problem

Peter Wemm peter at wemm.org
Mon Dec 6 16:09:56 PST 2004


On Monday 06 December 2004 05:50 am, freebsd2 at freesurf.fr wrote:
> Hi all!
> I'm very new to FreeBSD (indeed I ran it since one week) and I need
> to compile my kernel so that some patches will apply correctly. So I
> made all the process I type make depends && make and I've got sth
> like this:
> ../../../i386/i386/genassym.c:216:error: storage size of BC32SELw0
> isn't known
> I've got that for all BC32 and furthermore on line 214 for KSPEL :(
> So the compilation stops on an error code.
> Does anyone got a clue?
> Many thx :)

It means you're in the wrong directory and as a result, trying to build 
an i386 kernel on an amd64 machine with an amd64 compiler.

You probably want to do your thing in /usr/src/sys/amd64/conf 
and /usr/src/sys/amd64/compile/...

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5


More information about the freebsd-amd64 mailing list