Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-18-2001, 09:39 AM
|
#1
|
LQ Newbie
Registered: May 2001
Posts: 6
Rep:
|
hi, i need some help, i recompiled the kernel and the modules didn't work, specially 3c59x. i tryed to put it into the kernel and it doesn't work too.
|
|
|
05-18-2001, 01:33 PM
|
#2
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
Did you get errors during the compile? What commands did you use to rebuild the kernel? Did you do everything for the compile (including 'make modules' and 'make modules_install')?
If you did get errors what were they?
cheers.
Jamie...
|
|
|
05-21-2001, 12:45 PM
|
#3
|
LQ Newbie
Registered: May 2001
Posts: 6
Original Poster
Rep:
|
first, thanks for answer me.
to rebuid the kernel i used make dep...ok, make clean...ok and make modules...fail, and the error is:
make[2]: Entering directory `/usr/src/linux-2.4.2/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -c -o 3c59x.o 3c59x.c
In file included from 3c59x.c:195:
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: parse error before `62dada05'
/usr/src/linux-2.4/include/linux/module.h:173: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:173: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:174: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:174: missing white space after number `7a9e845'
/usr/src/linux-2.4/include/linux/module.h:174: parse error before `7a9e845'
/usr/src/linux-2.4/include/linux/module.h:174: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:174: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:175: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:175: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:176: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:176: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: parse error before `6b99f7d8'
/usr/src/linux-2.4/include/linux/module.h:177: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:177: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:186: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:186: warning: parameter names (without types) in function declaration
make[2]: *** [3c59x.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.2/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2/drivers'
make: *** [_mod_drivers] Error 2
cheers.
Nicolas.
|
|
|
07-26-2001, 03:35 PM
|
#4
|
LQ Newbie
Registered: Jul 2001
Posts: 1
Rep:
|
The same problem happened to me....
Any ideas?
......
make[2]: Entering directory `/usr/src/linux-2.4.2/drivers/net'
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -c -o dummy.o dummy.c
In file included from /usr/src/linux-2.4/include/linux/spinlock.h:35,
from /usr/src/linux-2.4/include/linux/module.h:11,
from dummy.c:34:
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: parse error before `1b7d4074'
/usr/src/linux-2.4/include/asm/spinlock.h:9: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/asm/spinlock.h:9: warning: function declaration isn't a prototype
In file included from dummy.c:34:
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: parse error before `62dada05'
/usr/src/linux-2.4/include/linux/module.h:173: `inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:173: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:174: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:174: missing white space after number `7a9e845'
/usr/src/linux-2.4/include/linux/module.h:174: parse error before `7a9e845'
/usr/src/linux-2.4/include/linux/module.h:174: `inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:174: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:175: `inter_module_get_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:175: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:176: `inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:176: warning: parameter names (without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: parse error before `6b99f7d8'
/usr/src/linux-2.4/include/linux/module.h:177: `inter_module_put_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:177: warning: function declaration isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:186: `try_inc_mod_count_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:186: warning: parameter names (without types) in function declaration
make[2]: *** [dummy.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.2/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.2/drivers'
make: *** [_mod_drivers] Error 2
|
|
|
07-28-2001, 11:02 AM
|
#5
|
Member
Registered: Apr 2001
Location: NY
Distribution: used to be Redhat, now Debian Sarge
Posts: 291
Rep:
|
what distro are you guys using and what kernel are you trying to compile? I am going to recompile my kernel too and you guys are scaring me
|
|
|
07-29-2001, 02:49 PM
|
#6
|
LQ Newbie
Registered: Jul 2001
Location: Cambridge, MA
Distribution: RedHat 7.1
Posts: 4
Rep:
|
I just had exactly the same problem too! I thought maybe the files could be damaged, but I can edit them in emacs and eveything looks fine. But, the numbers mentioned in the errors (like `62dada05' , the exact same number I get) don't appear anywhere in module.h...
This is mysterious. I'll see if I can figure anything out, but I'm a linux novice so don't hold your breath.
|
|
|
07-29-2001, 06:40 PM
|
#7
|
Member
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496
Rep:
|
Hi
RH7.0 had a non functional gcc included. I don't know for sure, but given the number of compile problems posted by 7.1 users , I guess the gcc update never got sorted. That would explain everything. Get the latest gcc (or just go to redhat for theirs) and see if it works.
Jim
|
|
|
09-23-2001, 11:52 PM
|
#8
|
LQ Newbie
Registered: Sep 2001
Location: Canada
Posts: 8
Rep:
|
Hi guys,
The linux out of the box kernel source has something strange in it  . I fixed the problem like this:
safe your .config file somewhere else
'mv /usr/src/linux-2.4.x/.config ~'
then 'cd /usr/src/linux-2.4.x; make mrproper'
now copy the .config file back where it belongs
'mv ~/.config /usr/src/linux-2.4.x/'
and try to recompile the whole thing and it should work.
Good luck.
Last edited by mindsurfer; 11-28-2001 at 10:13 PM.
|
|
|
11-28-2001, 08:28 PM
|
#9
|
LQ Newbie
Registered: Nov 2001
Posts: 1
Rep:
|
Quote:
Originally posted by mindsurfer
Hi guys,
The linux out of the box kernel source has something strange in it . I fixed the problem like this:
safe your .config file somewhere else
'mv /usr/src/linux-2.4.x/.config ~'
then 'cd /usr/src/liux-2.4.x; make mrproper'
now copy the .config file back where it belongs
'mv ~/.config /usr/src/linux-2.4.x/'
and try to recompile the whole thing and it should work.
Good luck.
|
This didn't work for me until I ran 'make menuconfig' again and resaved the configuration file without making any changes. Even 'make dep' didn't work until I did this, but afterwards it worked fine.
|
|
|
11-28-2001, 10:08 PM
|
#10
|
LQ Newbie
Registered: Sep 2001
Location: Canada
Posts: 8
Rep:
|
Sorry, forgot to add
'make oldconfig' in the end that would save you the trouble.

Last edited by mindsurfer; 11-28-2001 at 10:09 PM.
|
|
|
All times are GMT -5. The time now is 12:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|