|
之前作了一个LN
ln /usr/src/kernels/2.6.9-5.EL-i686 /usr/src/linux
然后运行安装程序,以下是操作步骤:
[root@pfs1 DriverInstall]# ls
install.log install.sh README sk98lin.4 sk98lin.tar.bz2
[root@pfs1 DriverInstall]# ./install.sh
Installation script for sk98lin driver.
Version 7.06 (Aug-20-2004)
(C)Copyright 2003-2004 Marvell(R).
====================================================
Add to your trouble-report the logfile install.log
which is located in the DriverInstall directory.
====================================================
1) user installation 3) generate patch
2) expert installation 4) exit
Choose your favorite installation method: 1
Please read this carfully!
This script will automatically compile and load the sk98lin
driver on your host system. Before performing both compilation
and loading, it is necessary to shutdown any device using the
sk98lin kernel module and to unload the old sk98lin kernel
module. This script will do this automatically per default.
If you want to shutdown and unload the old sk98lin kernel module
manually, run the script in the EXPERT mode.
Please plug a card into your machine. Without a card we aren't
able to check the full driver functionality.
Do you want proceed? (y/N) y
Create tmp dir (/tmp/Sk98IXIlOQIEMiRENcOUhnPSP) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.6.9-5.ELsmp) [ OK ]
Check kernel symbol file (/proc/kallsyms) [ OK ]
Check kernel type (SMP) [ OK ]
Check number of CPUs (2) [ OK ]
Check architecture (found) [ OK ]
Set architecture (i386) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (32bit) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check archive file (sk98lin) [ OK ]
Check kernel gcc version (3.4.3) (Kernel:3.4.3 == gcc:3.4.3) [ OK ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux) [ OK ]
Check the mem address space (highmem) [ OK ]
Unpack the sources (done) [ OK ]
Check sources for .config file (/usr/src/linux/.config) [ OK ]
Copy and check .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Check kernel header version (Kernel:2.6.9-5.ELsmp == Header:2.6.9-5.ELsmp) [ OK ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (error) [ failed ]
An error has occurred during the compile proces which prevented
the installation from completing.
Take a look at the log file install.log for more informations.
Installation of sk98lin driver module failed.
[root@pfs1 DriverInstall]# |
|