Click to See Complete Forum and Search --> : trying to recompile kernel...


tired
03-09-2001, 12:05 AM
in a RH7 box.
Here's what I get when I make modules:
In file included from loop.c:46:
/usr/src/linux/include/linux/module.h:145: `get_module_symbol_R_ver_str' declared as function returning a function
/usr/src/linux/include/linux/module.h:145: warning: parameter names (without types) in function declaration
{standard input}: Assembler messages:
{standard input}:9: Warning: Ignoring changed section attributes for .modinfo
make[2]: *** [loop.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.16/drivers/block'
make[1]: *** [_modsubdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16/drivers'
make: *** [_mod_drivers] Error 2


Any clues as to whats going on here?

TIA

Greg :mad:

[ 08 March 2001: Message edited by: tired ]

Lorithar
03-09-2001, 08:29 PM
*grins*


At a real long guess you are trying to compile a 2.4.x kernel on a system with a pre 2.4.x system in place.

[kernelsourceroot]/Documents/Changes
contains vital information about system changes that MUST be implemented prior to building your new kernel. From the error, you need to upgrade modutils.
.... ..
...
Excuse me .. I'm half asleep and didn't read the above post fully ... *slap self*

Or ARE you trying to build 2.4.x???

If you are ... there is something likely mixed up here since it reads like you are trying to build 2.2.16 ...

[ 09 March 2001: Message edited by: Lorithar ]

tired
03-10-2001, 12:13 PM
Well, at the time of the msg, I was re-compileing the kernel that came with RH7. I have since given up and am wrapping up the install of 2.4.2. After a few hiccups, it appears to be running, however, in the late hours of the night I did not read the /changes doc. Maybe I'll just go back and glance at that.
The only prob I had compiling was a crash in make modules of a certain sound module that I didnt need anyway.... lets see what happens...


Thanks

Greg