Re: [ILUG] kernel problems

From: Ruairķ Newman (bofh at domain tech-mad.org)
Date: Tue 14 Aug 2001 - 17:38:39 IST


declan at domain nuvotem.com [14/08/01 17:24 +0100]:
> I've been trying to compile a new kernel to give me support for the usb handspring visor.
>
> I used 'make xconfig' and set the USB options as per the Visor-HOWTO, and then did a 'make dep' as instructed, which didn't seem to come up with any errors.
>
> My 'make bzImage' command gave me errors, so I did a 'make mrproper' and the xconfig and dep again, and now the 'make bzImage' gives the following errors.
>
> Im using redhat7.0, trying to build kernel 2.2-16
>
> What can I do ?
>
>
> ip_masq.c:578: 'ip_masq_hash' undeclared here (not in a function)
> ip_masq.c:578: initializer element for '__ksymtab_ip_masq_hash.value' is not constant
> ip_masq.c:579: 'ip_masq_unhash' undeclared here (not in a function)
> ip_masq.c:579: initializer element for '__ksymtab_ip_masq_unhash.value' is not constant
> ip_masq.c:518: warning 'masq_port_lock' defined but not used
> make[3]: *** [ip_masq.o] Error 1

Seems as though there's a compile error on IP Masquerading. Do you need IP
Masq? If not, do a make (x|menu)config and remove it.

If you're still getting errors try a different kernel source (this is what I do, I've never managed to compile a kernel successfully on RH from the stock source), and interestingly, never failed on any other source.

Regards,

Ruairi

P.S. ip_masq.o? You could also try upgrading your modutils package.

--
A flight attendant's comment on a less than perfect landing: 
"We ask you to please remain seated as Captain Kangaroo bounces 
us to the terminal".
			--Anonymous


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:38 GMT