|
intel7520服务器主板,板载intel88451网卡,下载针对redhat linux AS2.1的驱动程序,按照以下说明安装时出错,
Building and Installation
To build a binary RPM* package of this driver, run 'rpmbuild -tb <filename.tar.gz>'. Replace <filename.tar.gz> with the specific file name of the driver.
NOTES:
For the build to work properly, the currently running kernel MUST match the version and configuration of the installed kernel sources. If you have just recompiled the kernel reboot the system now.
RPM functionality has only been tested in Red Hat distributions.
Move the base driver tar file to the directory of your choice. For example, use '/home/username/e1000' or '/usr/local/src/e1000'.
Untar/unzip the archive, where <x.x.x> is the version number for the driver tar file:
tar zxf e1000-<x.x.x>.tar.gz
Change to the driver src directory, where <x.x.x> is the version number for the driver tar:
cd e1000-<x.x.x>/src/
Compile the driver module:
make install
The binary will be installed as:
/lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.[k]o
The install locations listed above are the default locations. They might not be correct for certain Linux distributions. For more information, go to ldistrib.htm.
然后提示一些注意的东西如下:
Red Hat Enterprise Linux 2.1 Distribution
If there are errors while compiling the driver, do the following:
Change to the kernel source directory.
Perform all the required steps to build the kernel up to and including ‘make dep’.
Modify EXTRAVERSION in the Makefile in Red Hat kernel source directory to match the version of the running kernel.
Build the driver, using instructions located in the README file.
While building the driver, ignore the warning:
/lib/modules/2.4.9-e.34/build/include/linux/rhconfig.h:31:60: operator '(' has no left operand
NOTES:
For Red Hat's procedure for building a Linux kernel we recommend visiting their web site at www.redhat.com
This problem is resolved in Red Hat Enterprise Linux 2.1 Update 4.
看样子是要改内核是吧,没做过啊
急求高手帮忙! |
|