Jump to content

*nforce srivers*


Recommended Posts

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 by tyme
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...