Re: Kernel compilation woes
On Sat, 07 Feb 2004 12:09:10 -0600, Joel Konkle-Parker wrote:
> I'm trying to compile my own 2.4.24 kernel using the sources from
> kernel.org and the .config from Sarge, and I'm getting some errors:
>
> # make-kpkg kernel_image
>
> <compiling...>
>
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
> /usr/src/linux-2.4.
> 24/debian/tmp-image -r 2.4.24; fi
> depmod: *** Unresolved symbols in
> /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
> ules/2.4.24/kernel/drivers/ide/ide-core.o depmod: init_cmd640_vlb
> depmod: *** Unresolved symbols in
> /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
> ules/2.4.24/kernel/drivers/net/wan/comx.o depmod: proc_get_inode
> make[2]: *** [_modinst_post] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.24' make[1]: ***
> [real_stamp_image] Error 2 make[1]: Leaving directory
> `/usr/src/linux-2.4.24' #
>
> Anyone have any idea what could cause something like this?
One suggestion: either use the Debian 2.4.24 kernel source, or ditch the
config and make a new one. Debian kernel sources contain patches which
may affect the config.
Whether this specifically is your problem or not I don't know. I've
never had problems compiling 2.4.* kernels from Debian source and configs,
including 2.4.24.
--
....................paul
It is important to realize that any lock can be picked with a big
enough hammer.
-- Sun System & Network Admin manual
Reply to: