Compiling modules statically

Kris Kennaway kris at obsecurity.org
Mon Sep 12 15:27:50 PDT 2005


On Mon, Sep 12, 2005 at 06:37:06PM -0300, theblues gnr wrote:
> 
> 
> First of all, thank you for your reply.
> 
> Mon, Sep 12, 2005 at 04:34:15PM -0300, theblues gnr wrote:
> >> Hello everyone!
> >>
> >> I'm having trouble setting up networking on the ABIT AV8 motherboard 
> >using
> >> the onboard NIC. From:
> >> http://www.freebsd.org/platforms/amd64/motherboards.html
> >>
> >> "On-board ethernet controller (vge(4)) does not work unless statically
> >> compiled into kernel."
> >>
> >> I do know how to compile a kernel (from the Handbook) but I do not know 
> >how
> >> to compile a module statically. Could anyone please point me to the 
> >right
> >> documentation on doing that?
> >
> >It means "do not use a (dynamic) module, compile the driver into your
> >(static) kernel."
> >
> >Kris
> 
> I didn't word my problem correctly; what I wanted to know is how to compile 
> the driver statically. When I follow the instructions on building a custom 
> kernel the vge driver gets built as a module.

Edit the kernel configuration file and add the appropriate entry (cf
GENERIC or NOTES).  This is surely described in the handbook.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20050912/c6e4de35/attachment.bin


More information about the freebsd-amd64 mailing list