LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2004, 04:04 PM   #1
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Rep: Reputation: 15
What the? "make" gives strange errors on A7N8X-VM.


Running RedHat 9.0
Kernel 2.4.20-8
Onboard GFX, NIC and everything else.

I were going to get myself the nforce drivers I need to set up my lan. So in my blissfull newbieness I get the RPM' install them and find that they don't work. I run "modprobe nvnet" nothing, I run "insmod nvnet" nothing. And when I tried to uninstall the RPM's I get a bash telling me that the package is not installed. And yes I am root while doing this. I have some suspicions towards the key end of the keyboard, if you know what I'm saying.

So I figure the tar.gz should work. I download it and try to make(and I'm annoyed that there's no ./configure) I get a dungload of error.

Code:
[root@localhost nforce]# make
make -C  nvnet
make[1]: Entering directory `/home/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-8/build/include   -DMODVERSIONS -include 
/lib/modules/2.4.20-8/build/include/linux/modversions.h nvnet.c
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from nvnet.h:20,
                 from nvnet.c:21:
/lib/modules/2.4.20-8/build/include/asm/processor.h:60: warning: parameter 
names (without types) in function declaration
/lib/modules/2.4.20-8/build/include/asm/processor.h:60: field 
`loops_per_jiffy_R_ver_str' declared as a function
/lib/modules/2.4.20-8/build/include/asm/processor.h:82: invalid suffix on 
integer constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:82: parse error before 
numeric constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:82: warning: function 
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/asm/processor.h:265: invalid suffix on 
integer constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:265: parse error before 
numeric constant
/lib/modules/2.4.20-8/build/include/asm/processor.h:265: warning: function 
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/asm/processor.h:269: warning: parameter 
names (without types) in function declaration
In file included from nvnet.h:20,
                 from nvnet.c:21:
/lib/modules/2.4.20-8/build/include/linux/module.h:183: invalid suffix on 
integer constant
/lib/modules/2.4.20-8/build/include/linux/module.h:183: parse error before 
numeric constant
/lib/modules/2.4.20-8/build/include/linux/module.h:183: 
`inter_module_register_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:183: warning: function 
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/module.h:184: invalid suffix on 
integer constant
/lib/modules/2.4.20-8/build/include/linux/module.h:184: parse error before 
numeric constant
/lib/modules/2.4.20-8/build/include/linux/module.h:184: 
`inter_module_unregister_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:184: warning: function 
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/module.h:185: 
`inter_module_get_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:185: warning: parameter 
names (without types) in function declaration
/lib/modules/2.4.20-8/build/include/linux/module.h:186: 
`inter_module_get_request_R_ver_str' declared as function returning a 
function
/lib/modules/2.4.20-8/build/include/linux/module.h:186: warning: parameter 
names (without types) in function declaration
/lib/modules/2.4.20-8/build/include/linux/module.h:187: invalid suffix on 
integer constant
/lib/modules/2.4.20-8/build/include/linux/module.h:187: parse error before 
numeric constant
/lib/modules/2.4.20-8/build/include/linux/module.h:187: 
`inter_module_put_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:187: warning: function 
declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/linux/module.h:196: 
`try_inc_mod_count_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/linux/module.h:196: warning: parameter 
names (without types) in function declaration
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/home/nforce/nvnet'
make: *** [nvnet_make] Error 2
Well then, I aska experienced friend of mine about this. He can't really figure it out either, but he figures it's just a small problem, but that it leads to more and more trouble. And then I get his nvnet.o file, since that's the one I am lacking, and since I already got a different file from him which worked like a charm. I put it in the appropriate location (/lib/modules/2.4.20-8/kernel/drivers/net/nvnet.o) change it's ownership to root and modprobe it. Still no good. I run insmod and it tells me that loading the module will taint my system.

If I had the money I would've just went and bought myself a new NIC, but I don't have the money so. *shrug*

What do you think is wrong?

Thanks for helping a ^_^

EDIT - Fixed some long lines that made the borders stretch,

Last edited by Dunedain; 02-03-2004 at 07:47 AM.
 
Old 02-03-2004, 07:49 AM   #2
Dunedain
Member
 
Registered: Jan 2004
Location: Norway
Distribution: FC12
Posts: 77

Original Poster
Rep: Reputation: 15
Bump, I need some help.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
Errors Trying to "make menuconfig" kernel-source-2.6.10 Royle Debian 2 02-14-2005 06:53 AM
"make-kpkg --revision=foo.1.0 kernel_image" gives some errors (kernel 2.6.3) Duukkis Debian 14 05-23-2004 03:58 AM
WPC11 Ver4 and "Make" errors. plz help JRR Linux - Hardware 4 05-22-2004 05:08 PM
make-kpkg errors "multiple instances" rickenbacherus Linux - Software 0 06-06-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration