nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   RH9 Ethernet problem is still!!! (http://www.nvnews.net/vbulletin/showthread.php?t=28681)

Xnici 05-12-04 11:19 PM

RH9 Ethernet problem is still!!!
 
Hi, guys. I read many posts about the RH9 ethernet problem. And tried to follow every suggestion to solve my ethernet problem in RH9. but none of them works.

here is what I did in my last try.

tar xvf NVIDIA_nforce-1.0-0261.tar

then enter the nvnet directory then type "make", below are the last serval line of the output

nvnet.c:1279: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c:1280: dereferencing pointer to incomplete type
nvnet.c: In function `nvnet_init_module':
nvnet.c:1297: warning: implicit declaration of function `pci_module_init'
nvnet.c: In function `nvnet_cleanup_module':
nvnet.c:1303: warning: implicit declaration of function
`pci_unregister_driver'
nvnet.c: In function `nvnet_suspend':
nvnet.c:1322: warning: implicit declaration of function `pci_get_drvdata'
nvnet.c:1323: dereferencing pointer to incomplete type
nvnet.c:1325: warning: implicit declaration of function `netif_running'
nvnet.c:1331: warning: implicit declaration of function `netif_device_detach'
nvnet.c: In function `nvnet_resume':
nvnet.c:1347: dereferencing pointer to incomplete type
nvnet.c:1350: dereferencing pointer to incomplete type
nvnet.c:1355: warning: implicit declaration of function `netif_device_attach'
nvnet.c: At top level:
nvnet.c:99: storage size of `nvnet_driver' isn't known

Then I type "make install" And I got

mkdir -p //lib/modules/2.4.20-8/kernel/drivers/net
install -b -m 644 nvnet.o //lib/modules/2.4.20-8/kernel/drivers/net
install: cannot stat `nvnet.o': No such file or directory
make: *** [install] Error 1

Any more suggestions for this problem. I have been seeking a solution for a long time!!! :( :( :(

hppnq 05-13-04 08:37 AM

Re: RH9 Ethernet problem is still!!!
 
Have you installed the kernel-source rpm?

Xnici 05-13-04 02:17 PM

Re: RH9 Ethernet problem is still!!!
 
Did you mean the NVIDIA_nforce-1.0-0261.src.rpm file?

I think I did. Here is what I did, I typed: rpmbuild --rebuild NVIDIA_nforce-1.0-0261.src.rpm

Then here is what I got.

nvnet.c:1322: warning: implicit declaration of function `pci_get_drvdata'
nvnet.c:1323: dereferencing pointer to incomplete type
nvnet.c:1325: warning: implicit declaration of function `netif_running'
nvnet.c:1331: warning: implicit declaration of function `netif_device_detach'
nvnet.c: In function `nvnet_resume':
nvnet.c:1347: dereferencing pointer to incomplete type
nvnet.c:1350: dereferencing pointer to incomplete type
nvnet.c:1355: warning: implicit declaration of function `netif_device_attach'
nvnet.c: At top level:
nvnet.c:99: storage size of `nvnet_driver' isn't known
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvnet'
make: *** [nvnet_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.68173 (%build)


RPM build errors:
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
user buildmeister does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.68173 (%build)

It seems I fail in install the SRPM file. Do you have any suggestion. How can I corrected install teh SRPM file?

hppnq 05-13-04 06:22 PM

Re: RH9 Ethernet problem is still!!!
 
No, I really meant the kernel-source rpm. ;-)

Either the kernel-source rpm is not installed, or the installer doesn't know where to find the kernel sources. Both are easily fixable.

First, check whether the sources are installed by issuing:

# rpm -q kernel-source

This shows you which kernel=sources you have installed. It should therefore produce at least one line, probably "kernel-source-2.4.20-8". If the output shows a different version than the output of the command

# uname -r

which is the version of the kernel you are currently running (probably 2.4.20-8), you should install the kernel-source rpm for this latter version. You should also do this, of course, if you found you haven't got any kernel sources installed. You will find them on one of the RedHat cd's, or on the web.

If you do already have the kernel sources, the problem is that the installer cannot find them. You should then pass the option --kernel-source-path=<path> to the installer, where path is the directory where the kernel sources reside.

UPDATE: Reading your post again, you are using make, so you cannot pass this option to the installer. ;-) Post the makefile then, if necessary.

Now, if the kernel sources are present in /usr/src/linux (the default), and you still get compiler errors, check for the existence of the symbolic link /lib/modules/2.4.20-8/build (change kernel version if applicable) -- it should point to the directory where the kernel sources are, in this case probably /usr/src/linux-2.4.20-8 (/usr/src/linux could also be a link to this directory, by the way).


All times are GMT -5. The time now is 03:06 PM.

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