Results 1 to 6 of 6
I'm using Fedora Core 2 (with default Kernel) and want to use the onboard-LAN of my NForce2-chipset. (the open-source 'forcedeth'-module runs damn slow!)
So i got the platform drivers from ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-01-2004 #1Just Joined!
- Join Date
- Jul 2004
- Location
- $HOME
- Posts
- 2
Can't compile NForce drivers on Fedora Core 2
I'm using Fedora Core 2 (with default Kernel) and want to use the onboard-LAN of my NForce2-chipset. (the open-source 'forcedeth'-module runs damn slow!)
So i got the platform drivers from the NVidia Website:
http://www.nvidia.com/object/linux_nforce_1.0-0274
Then i un-tarred the 'tar.gz'-file, changed to the 'nforce' directory and ran 'make'.
But that didn't work.... all i got is this:
I also tried the source-RPM, but because there the drivers also have to be compiled, it also ended in errors.Code:[root@localhost nforce]# make make -C nvnet make[1]: Entering directory `/home/christian/Downloads/nvidia/nforce/nvnet' cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototype s -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mp referred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 - I/lib/modules/2.6.5-1.358/build/include nvenet.c In Datei, eingefügt von /lib/modules/2.6.5-1.358/build/include/linux/irq.h:20, von /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6, von /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h :11, von nvenet.h:30, von nvenet.c:22: /lib/modules/2.6.5-1.358/build/include/asm/irq.h:16:25: irq_vectors.h: Datei ode r Verzeichnis nicht gefunden In file included from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6, from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:1 1, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.5-1.358/build/include/linux/irq.h:70: error: `NR_IRQS' undeclar ed here (not in a function) In file included from /lib/modules/2.6.5-1.358/build/include/linux/irq.h:72, from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6, from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:1 1, from nvenet.h:30, from nvenet.c:22: /lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undecla red here (not in a function) nvenet.c: In Funktion »nvenet_open«: nvenet.c:692: Warnung: Verarbeiten des Argumentes 2 von »request_irq« von inkomp atiblem Zeigertyp nvenet.c: In Funktion »nvenet_remove«: nvenet.c:1214: error: structure has no member named `driver_data' nvenet.c: In Funktion »nvenet_reboot_handler«: nvenet.c:2360: Warnung: implicit declaration of function `pci_for_each_dev' nvenet.c:2361: error: Syntaxfehler before '{' token nvenet.c: Auf höchster Ebene: nvenet.c:2367: error: Syntaxfehler before '}' token nvenet.c: In Funktion »nvenet_proc_full_info_open«: nvenet.c:2605: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:501) nvenet.c: In Funktion »nvenet_proc_hardware_info_open«: nvenet.c:2645: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:501) nvenet.c: In Funktion »nvenet_proc_command_line_open«: nvenet.c:2686: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:501) nvenet.c: In Funktion »nvenet_proc_configuration_open«: nvenet.c:2727: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:501) nvenet.c: In Funktion »nvenet_proc_rx_stats_open«: nvenet.c:2762: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:501) nvenet.c: In Funktion »nvenet_proc_tx_stats_open«: nvenet.c:2804: Warnung: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:501) nvenet.c: In Funktion »nvenet_proc_release«: nvenet.c:2821: Warnung: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu les/2.6.5-1.358/build/include/linux/module.h:513) make[1]: *** [nvnet.o] Fehler 1 make[1]: Leaving directory `/home/christian/Downloads/nvidia/nforce/nvnet' make: *** [nvnet_make] Fehler 2
Can anyone help me?
- 07-01-2004 #2
I think that might be a problem with Fedora's modified kernel. You might try downloading and installing a new vanilla kernel source tree. Then configure a new kernel and boot it.
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 07-01-2004 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
To me it seems that the driver is trying to compile itself for a 2.4 kernel (considering the deprecated messages and the fact that it can't find some header files). However, the nForce driver should compile for a 2.6 kernel AFAIK. I haven't actually used it, though.
Anyway, doesn't 2.6 come with a free nForce net driver?
- 07-01-2004 #4Just Joined!
- Join Date
- Jul 2004
- Location
- $HOME
- Posts
- 2
OK, I'll try a "normal" Kernel form www.kernel.org
I'm also thinking that the drivers are written for 2.4 series kernels, because they worked fine on Mandrake Linux 9.2! On version 10.0 I couldn't compile them..
And thanks for the hints!
@Dolda200: Yes, the free nForce net driver is called 'forcedeth'. It works, but the data transfer is really slow!! so I want to try the NVidia's because on Mandrake 9.2 I used them and they worked (faster)!
- 07-21-2004 #5Just Joined!
- Join Date
- Jul 2004
- Posts
- 1
Me too.
I'm having exactly the same problem as you mr.krass. Looks like I'm gogin to have to recompile the kernel. Well there's a first time for everything.
- 07-28-2004 #6Just Joined!
- Join Date
- Jul 2004
- Posts
- 3
I have exactly the same issue. Has anyone managed to resolve it? The nforce drivers contain the audio, IDE and SATA drivers too all of which would be useful as I'm having audio issues (no sound) and sata issues too.
Any input would be appreciated.
GJ


Reply With Quote
