分页: 1 / 1

找一下华硕 A8V-E SE 自带的网卡Marvell Yukon 88E8053 在ubuntu下的驱动

发表于 : 2005-09-23 9:55
freecode
同题。谢谢。

发表于 : 2005-09-24 21:37
freecode
找到了驱动程序,用sk98lin driver. 但需要编译,报错时有句:
Kernel header not found. Please install the linux header files
development package or crate a symbolic link from the
/usr/src/KERNEL_VERSION directory to linux
Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux
网上找了一下,是需要kernel的源代码,而我是安装的ubuntu5.10-preview-i386,只有一张盘,uname -a命令显示的是
linux ubuntu 2.6.12-8-386,现在我该怎么做,是不是要下kernel的源码,如果要下,请推荐一个快点的地址。谢谢。

发表于 : 2005-09-26 13:57
freecode
没有知道吗。

发表于 : 2005-09-26 14:59
eexpress
到http://packages.ubuntu.com/看看有没有不要编译的。有就最好。

发表于 : 2005-09-26 16:59
freecode
我是通过"sk98lin"在Package Contents Search Results中找,没看到2.6.12版本的文件

发表于 : 2005-09-26 17:51
oneleaf
安装头文件。也就是 apt-get install linux-headers-386

发表于 : 2005-09-26 20:23
freecode
不需要通过网络安装吗,我可只有一张ubuntu安装盘。

发表于 : 2005-09-26 21:10
freecode
oneleaf:
按照你的方法
1) apt-get install linux-headers-386
2)开始运行.\install.sh,报以下信息
Check kernel type (SP) [ OK ]
Check architecture (found) [ OK ]
Set architecture (i386) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (none) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (3.4.5) (Kernel:3.4.5 != gcc:4.0.2) [ failed ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (not found) [ failed ]
Kernel header not found. Please install the linux header files
development package or crate a symbolic link from the
/usr/src/KERNEL_VERSION directory to linux
Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux

发表于 : 2005-09-27 21:36
freecode
ln -s /usr/src/linux-2.6.12.8 /usr/src/linux
重新install.sh,还是不通过,查看install.log
common/skgemib.c
misc/
misc/Kconfig
misc/Configure.help

+++ Compile the driver
+++ ====================================
make: Entering directory `/usr/src/linux-headers-2.6.12-8'
Makefile:485: .config: 没有那个文件或目录
/bin/sh: /usr/src/linux-headers-2.6.12-8/scripts/gcc-version.sh: 没有那个文件或目录
make: gcc-3.4:命令未找到

WARNING: Symbol version dump /usr/src/linux-headers-2.6.12-8/Module.symvers
is missing; modules will have no dependencies and modversions.

make[1]: scripts/Makefile.build: 没有那个文件或目录
make[1]: *** 没有规则可以创建目标“scripts/Makefile.build”。 停止。
make: *** [_module_/tmp/Sk98IqPLQRNSaUNgMLFrBcPGM/all] 错误 2
make: Leaving directory `/usr/src/linux-headers-2.6.12-8'
+++ Compiler error