View Single Post
Old 07-19-03, 10:47 AM   #1
sphincter
Registered User
 
sphincter's Avatar
 
Join Date: Mar 2003
Posts: 154
Default nforce - RH9 2.4.20-18.9 - can't build drivers

The errors are below. I've notified nvidia since I couldn't find anything on here already. Has anyone gotten this to work, and if so, what patching did you have to do? Any make options I can pass that might get it to build?

TIA,
sphincter

cc -D__KERNEL__ -I/lib/modules/2.4.20-18.9/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DREMAP_NEW -DMODVERSIONS -include /lib/modules/2.4.20-18.9/build/include/linux/modversions.h -c -o nvrec.o nvrec.c
In file included from nvhw.h:14,
from nvrec.c:12:
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:83: floating constant exponent has no digits
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:83: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:83: warning: function declaration isn't a prototype
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:84: floating constant exponent has no digits
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:84: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:84: warning: function declaration isn't a prototype
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:88: `check_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:88: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:89: invalid suffix on integer constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:89: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:89: `request_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:89: warning: function declaration isn't a prototype
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:90: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:90: `release_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:90: warning: function declaration isn't a prototype
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:97: `allocate_resource_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:97: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:103: invalid suffix on integer constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:103: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:103: `__request_region_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:103: warning: function declaration isn't a prototype
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:111: `__check_region_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:111: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:112: `__release_region_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:112: warning: parameter names (without types) in function declaration
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:118: invalid suffix on integer constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:118: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:118: `autoirq_setup_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:118: warning: function declaration isn't a prototype
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:119: invalid suffix on integer constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:119: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:119: `autoirq_report_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-18.9/build/include/linux/ioport.h:119: warning: function declaration isn't a prototype
In file included from nvhw.h:15,
from nvrec.c:12:
/lib/modules/2.4.20-18.9/build/include/linux/sched.h:6: invalid suffix on integer constant
/lib/modules/2.4.20-18.9/build/include/linux/sched.h:6: parse error before numeric constant
/lib/modules/2.4.20-18.9/build/include/linux/sched.h:6: warning: function declaration isn't a prototype
make[1]: *** [nvrec.o] Error 1
make[1]: Leaving directory `/tmp/nforce/nvaudio'
make: *** [all] Error 2
__________________
It never gets easier, you just go faster. - Greg Lemond
sphincter is offline   Reply With Quote