Newbie Right of Passage -- Kernel Compilation Problems :-)

Manfred Lotz manfred.lotz at web.de
Tue Jun 17 21:59:03 PDT 2003


On Wednesday 18 June 2003 05:56, Kris Kerwin wrote:
> Hello all,
>
> This might be more of a question for the freebsd-questions mailing list,
> but, knowing my luck, I probably just made a newbie mistake.  :-)
>
> While compiling my kernel (using the 5.1-RELEASE source), I ran into an
> error while trying to compile /usr/src/sys/i386/isa/npx.c.  I did my
> homework, and learned that NPX is one of those device drivers that you
> really can't live without (it takes care of Floating Point Math), so, I
> can't just comment that line out of my kernel config.
>
> The error?  I cut the output of 'make buildkernel KERNCONF=MYKERNEL':
>
> 	cc1: warnings being treated as errors
> 	/usr/target/src/sys/i386/isa/npx.c:1075: warning: `npx_driver' defined but
> not used
> 	/usr/target/src/sys/i386/isa/npx.c:1081: warning: `npx_devclass' defined
> but not used
>

Could it be you removed

device          isa

from the kernel config file? 

If yes put it back. You definitely need it because at least  fd and atkbdc 
depend on it.

Manfred




More information about the freebsd-newbies mailing list