[EMAIL PROTECTED] wrote:
>
> didn't see any responses. Am I asking the wrong q? wrong group? Not enough 
> info? too much info? Am i wearing the wrong color tie? 
> 
> big TIA!
> 
> Begin forwarded message:
> 
> Date: Sun, 21 Jan 2001 19:40:25 -0700
> From: Keith Robinson <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [newbie] 2.4.0 kernel upgrade make modules fails
> 
> 
> All,
> 
> am running mandrake 7.2
> modutils 2.4.0
> am trying to compile kernel 2.4.0. am a semi-newbie but have succesfully 
> compiled kernels in the past, without this problem, which is:
> 
> modules won't make. I get the following errors:
> 
> mem.c: In function `memory_open':
> mem.c:573: `random_fops' undeclared (first use in this function)
> mem.c:573: (Each undeclared identifier is reported only once
> mem.c:573: for each function it appears in.)
> mem.c:576: `urandom_fops' undeclared (first use in this function)
> mem.c: In function `memory_devfs_register':
> mem.c:601: `random_fops' undeclared (first use in this function)
> mem.c:601: initializer element is not constant
> mem.c:601: (near initialization for `list[6].fops')
> mem.c:602: `urandom_fops' undeclared (first use in this function)
> mem.c:602: initializer element is not constant
> mem.c:602: (near initialization for `list[7].fops')
> make[3]: *** [mem.o] Error 1
> make[3]: Leaving directory `/usr/src/linux/drivers/char'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux/drivers/char'
> make[1]: *** [_subdir_char] Error 2
> make[1]: Leaving directory `/usr/src/linux/drivers'
> make: *** [_mod_drivers] Error 2  
> 
> and no modules get built in /lib/modules/2.4.0
> 
> any help greatly appreciated. my config follows...
> 
>

The errors seems like it fails to make modules in your library for character devices 
by looking at the last directory that it was in before it backed out and quit. In my 
charactoer devices section, I choose a module for CONFIG_PPDEV while you choose not to 
use it. Hopefully the problem is as simple as that but...

I have modutils 2.3.21-1.3mdk. You have modutils 2.4.  Also, are you certain that your 
system is a i686 to the kernel? I have an AMD so I choose the K6 path. But when I 
recompile binaries, as system intensive as kernel2.4 and X4.0.2, I could never seem to 
have them complete rebuild from source. I bet half my earnings that it has something 
to do with me taking the K6 path. I bet if I set it back to i586, I should have it 
rebuilding just nicely. But it isn't necessary.  Tarballs are suiting me fine. 
Besides, you learn more about how the program works that way. 
I hope I helped.

Cheers
== Al

__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at 
http://webmail.netscape.com/

Reply via email to