环      境: CentOS 5.5  x86_64  (linux-2.6.36.4)

 

安      装: intel pro 1000 系列15.4的驱动,编译安装 e1000-8.0.18

 

出现问题:编译的时候提示Linux kernel source not configured:missing autoconf.h

 

解决方法:

 

方法一:

 

KERNEL_DIR=/usr/src/kernels/linux-2.6.36.4   #the directory of your kernel

ln -s $KERNEL_DIR/include/generated/autoconf.h  $KERNEL_DIR/include/linux/

ln -s $KERNEL_DIR/include/generated/utsrelease.h  $KERNEL_DIR/include/linux/

 

方法二:

 

cd $KERNEL_DIR

make oldconfig

 

/*

*Written by Zuocheng Liu

*/

Logo

更多推荐