|
|
#1 | |
|
Registered User
Join Date: Jun 2004
Posts: 1
|
Hi I'm trying to compile the latest nForce driver on debian (IT's really knoppnix distro)
Anyhow, when I try to compile, I get the following errors: make nvaudio.o make[1]: Entering directory `/root/downloads/nforce/nvaudio' cc -D__KERNEL__ -I/lib/modules/2.4.25-chw/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DDRIVERVER=\"0274\" -DREMAP_NEW -c -o nvhw.o nvhw.c In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:17, from /usr/include/linux/sched.h:23, from /usr/include/linux/module.h:10, from nvhw.c:12: /usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:17, from /usr/include/linux/sched.h:23, from /usr/include/linux/module.h:10, from nvhw.c:12: /usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function) /usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type' /usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type' /usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus' /usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus' and many more. I'm trying to get the sound card to work. Anybody have any suggestions? Thanks, Ry |
|
|
|
|
|
|
#2 | |
|
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
|
To compile the nvidia nforce package you need the kernel headers for your kernel. Currently the makefiles are using files from /usr/include/asm and /usr/include/linux but those headers are generic glibc ones which can't be used to compile kernel modules. Futher note that the i810 audio driver works too with your card, nvidia's own driver isn't much different. (it is a hacked i810 driver)
|
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nforce AGP & unreal 2003 | nichos | NVIDIA Linux | 1 | 10-18-02 05:21 PM |
| Keep K7S5A or Upgrade To Nforce MB? | Grechie | CPUs, Motherboards And Memory | 5 | 10-06-02 02:28 PM |
| Problems with a GeForce4 MX 440 under Debian | Iainuki | NVIDIA Linux | 1 | 09-24-02 09:27 PM |
| Installing nForce drivers on Debian 3.0 | Doink | NVIDIA Linux | 4 | 09-14-02 08:34 PM |
| Debian sid w/ nForce - X won't start | questioncolon | NVIDIA Linux | 16 | 08-05-02 10:35 AM |