解决P4P800SE的自带声卡驱动问题,就del win!!
这是我用主板光盘自带的LINUX驱动安装的过程及错误!!!!我的系统是REDHAT9
安装过程:
# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /root/drivers/Linux/alsa-driver-0.9.1adi
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20-8smp/build
checking for kernel version... 2.4.20-8smp
checking for kenrel linux/pm.h... "yes"
checking for kenrel linux/spinlock.h... "yes"
checking for kenrel linux/irq.h... "yes"
checking for kenrel linux/threads.h... "yes"
checking for kenrel linux/rwsem.h... "yes"
checking for kenrel linux/gameport.h... "yes"
checking for kenrel linux/devfs_fs_kernel.h... "yes"
checking for kenrel linux/workqueue.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20-8smp/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "yes"
checking for processor type... i686
checking for SMP... "yes"
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for vmalloc_to_page... "yes"
checking for driver version... 0.9.1
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB support... "no"
checking for USB module support... "yes"
checking for kernel PCMCIA
checking for PCMCIA support... "no"
checking for PCMCIA module support... "yes"
checking for PC9800 support in kernel... "no"
checking for which soundcards to compile driver for... all
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
# make
make: Entering directory `/root/drivers/Linux/alsa-driver-0.9.1adi/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/root/drivers/Linux/alsa-driver-0.9.1adi/include-I/lib/modules/2.4.20-8smp/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c hwdep.c
In file included from /root/drivers/Linux/alsa-driver-0.9.1adi/include/adriver.h:40,
from /root/drivers/Linux/alsa-driver-0.9.1adi/include/sound/driver.h:43,
from ../alsa-kernel/core/hwdep.c:22,
from hwdep.c:1:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
make: *** Error 1
make: Leaving directory `/root/drivers/Linux/alsa-driver-0.9.1adi/acore'
make: *** Error 1
===============================================
以下是modversions.h文件的内容:
# more modversions.h
#error Modules should never use kernel-headers system headers,
#error but rather headers from an appropriate kernel-source package.
#error Change -I/usr/src/linux/include (or similar) to
#error -I/lib/modules/$(uname -r)/build/include
#error to build against the currently-running kernel.
===============================================
驱动在以下地址:
http://www.linuxfans.org/nuke/modules.php?name=Site_Downloads&op=geninfo&did=2645
===============================================
如果能解决这个问题,我就可以将所有工作全部转移到linux下了。因为总要听听歌,看看电影吧──呵呵──
===============================================
有句话说的好:懒人创造世界!!!呵呵── :arrow::arrow:
页:
[1]