DragonFly BSD
DragonFly users List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Updating corecode's nvidia driver


From: elekktretterr@xxxxxxxxxxxxxx
Date: Fri, 12 Nov 2010 15:45:11 +1100 (EST)

Currently gives a compile error upon running "make"

In file included from nvidia_ctl.c:14:
nv-freebsd.h:267: error: field 'rsel' has incomplete type
nv-freebsd.h: In function 'pmap_mapdev_attr':
nv-freebsd.h:351: error: too few arguments to function 'kmem_alloc_nofault'
nvidia_ctl.c: At top level:
nvidia_ctl.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'nvidia_ctl_poll'
nvidia_ctl.c:26: error: unknown field 'd_poll' specified in initializer
nvidia_ctl.c:26: error: 'nvidia_ctl_poll' undeclared here (not in a function)
nvidia_ctl.c:86: warning: 'struct dev_poll_args' declared inside parameter
list
nvidia_ctl.c:86: warning: its scope is only this definition or
declaration, which is probably not what you want
nvidia_ctl.c:87: warning: no previous prototype for 'nvidia_ctl_poll'
nvidia_ctl.c: In function 'nvidia_ctl_poll':
nvidia_ctl.c:88: error: dereferencing pointer to incomplete type
nvidia_ctl.c:105: warning: implicit declaration of function 'selrecord'
nvidia_ctl.c:105: warning: nested extern declaration of 'selrecord'
nvidia_ctl.c:106: error: dereferencing pointer to incomplete type
nvidia_ctl.c:109: error: dereferencing pointer to incomplete type

Is this too difficult to unbreak? I just had a look at nv-freebsd.h:267
and it's defining a variable rsel of type struct selinfo, but I have no
idea where that's coming from. Any clues?

Thanks,
Petr





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]