[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling 2.4.19 on woody with kernel package




Hi all.
Im trying to build 2.4.19 with the command:
make-kpkg --initrd  kernel_image


It fails after running through the whole process with error message that
follows.
what i do:

1. download source from mirror and extract it in /usr/local/src/
2. copy the config-2.4.18-686 from boot and give it name .config so that
i only use the new options in new kernel.
3. edit source according to reference from binutils
4 run command with the initrd option bacause my stock 2.4.18 debian
kernel uses it.

It fails to build proparly and i end up with these files in the kernel
directry:
 drivers  lib              stamp-debian
  Rules.make      fs       mm               stamp-kernel-configure
Documentation  System.map      include  net              vmlinux
MAINTAINERS    arch            init     scripts
Makefile       conf.vars       ipc      stamp-build
README         debian          kernel   stamp-configure

Help needed please, cant find anything on the internet referring to this
problem.


Error messages after compilation finishes:
make[3]: Entering directory
`/usr/local/src/kjerne/linux-2.4.19/arch/i386/lib'
make[3]: Nothing to be done for `modules_install'.
make[3]: Leaving directory
`/usr/local/src/kjerne/linux-2.4.19/arch/i386/lib'
cd
/usr/local/src/kjerne/linux-2.4.19/debian/tmp-image/lib/modules/2.4.19;
\
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
/usr/local/src/kjerne/linux-2.4.19/debian/tmp-image -r 2.4.19; fi
depmod: *** Unresolved symbols in
/usr/local/src/kjerne/linux-2.4.19/debian/tmp-image/lib/modules/2.4.19/kernel/drivers/net/wan/comx.o
depmod:         proc_get_inode
make[2]: *** [_modinst_post] Error 1
make[2]: Leaving directory `/usr/local/src/kjerne/linux-2.4.19'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory `/usr/local/src/kjerne/linux-2.4.19'
You have new mail in /var/mail/ken
pingu:/usr/local/src/kjerne/linux-2.4.19#



Reply to: