Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-16-03, 09:50 AM   #1
steveo_mcg
Registered User
 
Join Date: Oct 2003
Posts: 1
Unhappy asus a7n266-vm lan problems

i'm having problems with the onboard lan for this mobo running redhat 9 and i gather from reading the boards so are a few other people. I down loaded the precompiled rpms from the drivers site but from reading these are for other kernal versions, so following advice given to others i tryed 'make' with the .tar and rpmbuild with the .src but neither return any thing but error messages (below).

this is the last few lines from the make
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: *** [nvnet.o] Error 1

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.5539 (%build)

Using this command ends up with this eror: rpmbuild --rebuild NVIDIA_nforce-1.0-0261.src.rpm

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.5539 (%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.5539 (%build)









any help, even an explanation of the error i might be able to work it out for my self, would be most appreciated as i am currently stuck transfering files from my main machine to the linux box on cd and back via floppy and i am going through lots of cd and i really really hate floppy discs. I am quite new at this linux stuff so simple steps for my simple head.

thanks all

steveo
steveo_mcg is offline   Reply With Quote
Old 10-21-03, 06:34 PM   #2
paddy
Registered User
 
Join Date: Oct 2003
Posts: 1
Default

Similar problem I also need advice! There was an rpm for the driver for the kernel 2.4.20-6 but it gave some "unresolved symbols" when it ran. When I followed instructions to compile my own I got the hundreds of error messages finishing up something like stevio's. The first few error messages are all to do with using header files from /usr/include/linux instead of /lib/modules/2.4.20-6/build/include but in my set up this path is an alias for the path it doesn't like.

[root@localhost nvnet]# make
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-6/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
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from
/usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from
/usr/include/linux/sched.h:14,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from
/usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from nvnet.h:23,
from nvnet.c:21:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from nvnet.h:23,
from nvnet.c:21:
etc
etc
etc
paddy is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
ARCTIC Accelero Xtreme III review (w/ Asus GTX680 DirectCU II TOP) News Latest Tech And Game Headlines 1 07-01-12 03:39 PM
Review of the 23-inch Asus VG23AH Passive 3D IPS Display News Latest Tech And Game Headlines 0 06-21-12 07:40 PM
ASUS GeForce GTX 670 DirectCU II Top Unveiled Features 1137MHz Boost Clock (WCCFTECH) News GeForce GTX 670 Reviews 0 05-10-12 06:30 AM
ASUS p4s8x problems Riptide CPUs, Motherboards And Memory 13 10-15-02 07:30 AM
Problems with Asus A7N266VM - nVidia - Linux emmjanex NVIDIA Linux 3 09-29-02 11:52 PM

All times are GMT -5. The time now is 10:38 AM.


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