nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   nforce - RH9 2.4.20-18.9 - can't build drivers (http://www.nvnews.net/vbulletin/showthread.php?t=15071)

sphincter 07-19-03 10:47 AM

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

bahamot 07-19-03 10:53 AM

what version of driver are u using? what distro?
more info please.....

sphincter 07-19-03 06:10 PM

oops... Drivers are latest availible, 0261. Distribution and kernel version are in the thread title.

bahamot 07-19-03 09:20 PM

uhmm interesting, it should compiled just fine with the newest driver.
it's like the same error occured last time when i compile the second newest driver.

sphincter 07-20-03 01:45 PM

Did you do anything special to get them to compile? I can't get them to go for the life of me. While I do have sound working via the i810 module, I'd like to actually get the thing going as intended.

bahamot 07-20-03 10:30 PM

no, i didn't do anything else than "make && make install"

edit:
in fact i manage to get it compiled on 2.4.20 rh9 stock kernel , 2.4.21, 2.4.21-ck3
and 2.6.0-test1 with additional patch

sphincter 07-20-03 10:36 PM

Quote:

Originally posted by bahamot
no, i didn't do anything else than "make && make install"

edit:
in fact i manage to get it compiled on 2.4.20 rh9 stock kernel , 2.4.21, 2.4.21-ck3
and 2.6.0-test1 with additional patch

Ahhh.. so you haven't compiled on 2.4.20-18-9 then. That seems to be where the problem lies, as RH seems to have changed some of their kernel interfaces between the release and their updated kernel. I'm somewhat disappointed that NVIDIA isn't supporting a kernel that's been out for some months now.

bahamot 07-20-03 11:43 PM

Quote:

Originally posted by sphincter
Ahhh.. so you haven't compiled on 2.4.20-18-9 then. That seems to be where the problem lies, as RH seems to have changed some of their kernel interfaces between the release and their updated kernel. I'm somewhat disappointed that NVIDIA isn't supporting a kernel that's been out for some months now.
can't remember the stock kernel version.
anyway why don't u use other kernel version?
the ck patches performs great on dekstop

edit: i really disappointed with NVIDIA, coz their support for
"Soundstorm" under linux is really lame and creappy

sphincter 07-21-03 06:50 AM

Quote:

Originally posted by bahamot
can't remember the stock kernel version.
anyway why don't u use other kernel version?
the ck patches performs great on dekstop

RH9 was released with 2.4.20-8 and went to 2.4.20-9 shortly thereafter. The RH kernels have been rock solid for me. I've got boxes with months of uptime that only get rebooted when I install a new kernel. I might give it a go, as I'm running a custom kernel on my laptop due to the need for the ACPI patches, with RH doesn't support very well now. It's just one of those "it works so well other wise" things. I may also give the alsa route a shot, and see how that goes.

Either way, I've emailed NVIDIA and let them know of my disappointment. A large part of the reason I went with an nforce board was because of my experience with their video module. At least everything else is working well, especially the integrated gig-e.

sphincter 07-23-03 08:14 PM

hmmm... ok, well, grabbed the 2.4.20-19.9 kernel from RH yesterday, installed it, and lo and behold... everything build cleanly.

Now I just need to know what module options are available to get whatever nifty stuff I can working ;)

bahamot 07-24-03 04:28 AM

Quote:

Originally posted by sphincter
hmmm... ok, well, grabbed the 2.4.20-19.9 kernel from RH yesterday, installed it, and lo and behold... everything build cleanly.
glad to know it :)
anyway tomorrow the soundstorm gonna be replaced by SBLive! hehehe :)


All times are GMT -5. The time now is 04:33 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.