ShadowFoxLSU Posted March 5, 2004 Report Share Posted March 5, 2004 (edited) Anyway, I am trying to compile my nforce drivers for fedora core 2 test 1. Yet I get error hell, any ideas? Error Message (Source): [root@localhost nforce]# ls GNULicense.txt nvaudio NVLicense.txt ReleaseNotes.html Makefile nvgart nvnet [root@localhost nforce]# make make -C nvnet make[1]: Entering directory `/mnt/games/nforce/nvnet' cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/lib/modules/2.6.1-1.65/build/include nvnet.c In file included from /lib/modules/2.6.1-1.65/build/include/asm/irq.h:16, from /lib/modules/2.6.1-1.65/build/include/linux/irq.h:20, from /lib/modules/2.6.1-1.65/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-1.65/build/include/linux/interrupt.h:11, from nvnet.h:30, from nvnet.c:21: /lib/modules/2.6.1-1.65/build/include/asm/irq_vectors.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.1-1.65/build/include/asm/irq_vectors.h:31: error: `NR_IRQS' undeclared here (not in a function) /lib/modules/2.6.1-1.65/build/include/asm/irq_vectors.h:117: warning: `struct hw_interrupt_type' declared inside parameter list /lib/modules/2.6.1-1.65/build/include/asm/irq_vectors.h:117: warning: its scope is only this definition or declaration, which is probably not what you want In file included from /lib/modules/2.6.1-1.65/build/include/asm/hardirq.h:6, from /lib/modules/2.6.1-1.65/build/include/linux/interrupt.h:11, from nvnet.h:30, from nvnet.c:21: /lib/modules/2.6.1-1.65/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) nvnet.c: In function `linuxlockacquire': nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `magic' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `lock' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `babble' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `babble' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `module' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `owner' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `oline' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `lock' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `owner' in something not a structure or union nvnet.c:127: warning: dereferencing `void *' pointer nvnet.c:127: error: request for member `oline' in something not a structure or union nvnet.c: In function `linuxlockrelease': nvnet.c:136: warning: dereferencing `void *' pointer nvnet.c:136: error: request for member `magic' in something not a structure or union nvnet.c:136: warning: dereferencing `void *' pointer nvnet.c:136: error: request for member `lock' in something not a structure or union nvnet.c:136: warning: dereferencing `void *' pointer nvnet.c:136: error: request for member `babble' in something not a structure or union nvnet.c:136: warning: dereferencing `void *' pointer nvnet.c:136: error: request for member `babble' in something not a structure or union nvnet.c:136: warning: dereferencing `void *' pointer nvnet.c:136: error: request for member `module' in something not a structure or union nvnet.c:136: warning: dereferencing `void *' pointer nvnet.c:136: error: request for member `lock' in something not a structure or union nvnet.c: In function `nvnet_open': nvnet.c:735: warning: passing arg 2 of `request_irq' from incompatible pointer type nvnet.c: In function `nvnet_remove': nvnet.c:1248: error: structure has no member named `driver_data' make[1]: *** [nvnet.o] Error 1 make[1]: Leaving directory `/mnt/games/nforce/nvnet' make: *** [nvnet_make] Error 2 NOTE: moved to Other Linux Distributions by tyme Edited March 5, 2004 by tyme Quote Link to comment Share on other sites More sharing options...
mdg Posted March 6, 2004 Report Share Posted March 6, 2004 I had similar problems with Mdk 9.2 and 2.6.2 kernel. Details in this thread. Are you sure you have the right kernel sources installed? My problems disappeared when I used the 2.4 kernel with matching sources. Quote Link to comment Share on other sites More sharing options...
SoulSe Posted March 9, 2004 Report Share Posted March 9, 2004 I would recommend compiling support straight into the kernel as opposed to 'installing the driver.' I do not have experience with nforce myself, but have heard of very good support in the 2.6 kernels. Quote Link to comment Share on other sites More sharing options...
NeoXP Posted March 10, 2004 Report Share Posted March 10, 2004 (edited) As of kernel 2.6.2 there is indeed very good support for nForce2. Just find the forcedeth-driver, do modprobe and bring up your network. check out this link: click me! this thread on this board may also help you: click me also! Edited March 10, 2004 by NeoXP Quote Link to comment Share on other sites More sharing options...
jlc Posted March 15, 2004 Report Share Posted March 15, 2004 This might help too, it was for 2.4 but you might get some ideas Just Click here Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.