Linux - NetworkingThis 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.
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.
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')?
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
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
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.
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
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 09:13 PM.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.