Red Hat default kernel compile problem

William F. Acker WB2FLW +1-303-777-8123 wacker at octothorp.org
Wed Oct 23 00:25:39 EDT 2002


Hi,

     I don't know how you did it, so I'll take it from the top.  First, cd 
/usr/src/linux-2.4.  Next, do: make mrproper
cp configs/kernel-2.4.18-i586.config .config
Using an editor, delete the lines you want to change from .config.  make 
oldconfig
Answer the questions pertaining to what you just deleted.  now, make dep 
bzImage modules modules_install install.  That'll give you a kernel ending 
in the word "custom".  Check lilo.conf, or grub.conf and run lilo if 
appropriate.  

     Now that I've explained how to do it, I ask if it's really necessary.  
Like you, i was hoping that RH would compile the speakup keymap into the 
kernel.  I don't know what the downside of this would be, though.  I've 
found 
that if you just hit a key like CTRL a few times when you first boot, the 
keymap will be loaded relatively early in the boot process which will 
allow you to shut the system up for the remainder of the boot.



          HTH and 73.
-- 
          Bill


On Tue, 22 Oct 2002, Tommy Moore wrote:

> Hi guys.
> Am trying to compile the RH 8.0 i586 kernel so that Speakup's keymap will be the default keymap when the kernel boots.
> I changed the configuration options to reflect this but when I go and build the modues with:
> make modules it dies.
> Here's the errors I get.
> 
> first use in this function)
> In file included from cipe.h:69,
>                  from module.c:15:
> /usr/src/linux-2.4.18-14/include/net/sock.h: In function `sk_filter_release':
> /usr/src/linux-2.4.18-14/include/net/sock.h:934: warning: implicit declaration of function `kfree_R037a0cba'
> /usr/src/linux-2.4.18-14/include/net/sock.h: In function `sock_orphan':
> /usr/src/linux-2.4.18-14/include/net/sock.h:1009: `do_softirq_Rf0a529b7' undeclared (first use in this function)
> /usr/src/linux-2.4.18-14/include/net/sock.h: In function `sock_graft':
> /usr/src/linux-2.4.18-14/include/net/sock.h:1018: `do_softirq_Rf0a529b7' undeclared (first use in this function)
> /usr/src/linux-2.4.18-14/include/net/sock.h: In function `sock_recv_timestamp':
> /usr/src/linux-2.4.18-14/include/net/sock.h:1266: warning: implicit declaration
> of function `put_cmsg_Rf39bf4d9'
> module.c: In function `cipe_check_kernel':
> module.c:73: warning: implicit declaration of function `printk_R1b7d4074'
> make[3]: *** [module.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.18-14/drivers/addon/cipe'
> make[2]: *** [_modsubdir_cipe] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.18-14/drivers/addon'
> make[1]: *** [_modsubdir_addon] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.18-14/drivers'
> make: *** [_mod_drivers] Error 2
> 
> What's up with RH shipping a kernel that won't build properly?
> Anyone help me out on this one?
> Thanks.
> 





More information about the Speakup mailing list