LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-10-2003, 11:38 PM   #1
riczan
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 2

Rep: Reputation: 0
Thumbs down installing nforce driver on RedHat 9. Make errors...


I have a ASUS A7N8X Delux Mother Board.
The nvidia NIC is not working. I tried to install the nForce Drivers.

I tried to install the RPM, I didn't realized the kernel version was wrong. I got no error message but the driver didn't work. I tried to uninstall it, says nothing to uninstall. (but some files remained).
Then I tried to build my own rpm with the Nvidia*.src.rpm provided and I get errors like this:

warning: user buildmeister does not exist - using root
Installing NVIDIA_nforce-1.0-0261.src.rpm
.
.
make -C nvnet
make[1]: Entering directory `/usr/src/redhat/BUILD/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.4.20-20.9/build/include nvnet.c
In file included from /usr/include/linux/module.h:20,
from nvnet.h:20,
from nvnet.c:21:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include

then I get more and more errors an no rpm created.

Then I tried to install from the tar.gz file. I get the same errors when I make the Makefile
----------------------------------------------------------
the make file looks like this.
.PHONY: dummy

SUBDIRS = nvnet nvaudio nvgart
SUBDIR_make = $(patsubst %,%_make, $(SUBDIRS))
SUBDIR_install = $(patsubst %,%_install, $(SUBDIRS))
SUBDIR_installrpm = $(patsubst %,%_installrpm, $(SUBDIRS))
SUBDIR_uninstall = $(patsubst %,%_uninstall, $(SUBDIRS))

.PHONY: subdirs $(SUBDIRS)

#Use by nvnet and nvaudio Makefiles for install
export UID = $(shell id -u)

all: $(SUBDIR_make)

install: $(SUBDIR_install)
installrpm: $(SUBDIR_installrpm)
uninstall: $(SUBDIR_uninstall)

$(SUBDIR_make): dummy
$(MAKE) -C $(patsubst %_make, %, $@)
$(SUBDIR_install): dummy
$(MAKE) -C $(patsubst %_install, %, $@) install

$(SUBDIR_installrpm): dummy
$(MAKE) -C $(patsubst %_installrpm, %, $@) installrpm

$(SUBDIR_uninstall): dummy
$(MAKE) -C $(patsubst %_uninstall, %, $@) uninstall

HELP!!!!!! This looks like a RedHat9 issue
 
Old 10-10-2003, 11:50 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

I think you may need to install the kernel source RPM from the redhat disks (It's on install disk 2, called kernel-source-2.4.20-8.i386.rpm).

Try installing the nforce RPM after that.

Dave.
 
Old 10-11-2003, 10:33 AM   #3
riczan
LQ Newbie
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 2

Original Poster
Rep: Reputation: 0
But that means Im going backwards. There's a new kernel every month, shouldn't I be updated. I think the problem with the compiler, or the paths.

What is the meaning of 'modules should never use kernel-headers system headers'???????
Any other suggestions?
 
Old 10-12-2003, 10:46 AM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi again.

Download the kernel-source RPMs with the same version number as the kernel you're using (or select the option to do so in up2date, if that's where you got your latest kernel from).

I'm not enirely sure what the "should never use kernel-headers system headers" message means precisely, but it's the message I always got if I tried to compile modules without the kernel source on my machine.

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux nForce Driver - AMD64 Version: 1.0-0283 installing on SUSE 9.1 Pro jshaulis Linux - Software 1 08-19-2004 10:42 AM
Getting errors when installing fglrx driver Duukkis Debian 5 05-15-2004 08:49 PM
nforce driver for redhat strider_D_3000 Linux - Newbie 2 07-24-2003 10:34 PM
NVIDIA nForce driver installation problem on RedHat 8.0 alphajoe Linux - General 10 11-08-2002 07:01 PM
NVIDIA nForce driver installation problem on RedHat 8.0 alphajoe Linux - Hardware 5 10-19-2002 10:29 AM


All times are GMT -5. The time now is 04:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration