编译模块
发表于 : 2005-03-31 21:57
I have installed Ubuntu, but I need to compile a kernel module (for example, in order to connect to the network). What do I do?
First, check whether the module you need is already present. Many additional drivers are included in the default Ubuntu kernel. If you still need to compile a module, the following command will install everything you need:
# sudo apt-get install build-essential linux-headers-`uname -r`
All of the packages needed are available on the Ubuntu CD.
http://www.ubuntulinux.org/support/docu ... nel-module
First, check whether the module you need is already present. Many additional drivers are included in the default Ubuntu kernel. If you still need to compile a module, the following command will install everything you need:
# sudo apt-get install build-essential linux-headers-`uname -r`
All of the packages needed are available on the Ubuntu CD.
http://www.ubuntulinux.org/support/docu ... nel-module