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

depmod error when running make-kpkg



>From david@davidlist.dk Sat Jun  7 13:22:19 2003
Date: Sat, 7 Jun 2003 11:53:41 +0200 (CEST)
From: David List <david@davidlist.dk>
To: debian-sparc@lists.debian.org
Subject: depmod error when running make-kpkg
Resent-Date: Sat,  7 Jun 2003 05:10:22 -0500 (CDT)
Resent-From: debian-sparc@lists.debian.org

I have tried running make-kpkg as a first attempt in making my own
kernel on a newly installed Debian 3.0_r1 on a Sun Ultra 1.

To be sure I would get working kernel in first try I used the 2.4.18
kernel sources included in the distribution and used the config file
that the running kernel was built from: /boot/config-2.4.18
The idea was to ensure that this worked and then begin to modify.

I cannot even get a working kernel with the default config!

This is what I issue:

# cd /usr/src
# tar -xjvf kernel-source-2.4.18.tar.bz2
# cd kernel-source-2.4.18
# make menuconfig
...... Here I load the config file under /boot .....
# make-kpkg kernel_image

The last lines I see from make_kpkg are these:

cd /usr/src/kernel-source-2.4.18/debian/tmp-image/lib/modules/2.4.18; \
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/src/kernel-source-2.4.18/debian/tmp-image -r 2.4.18; fi
depmod: *** Unresolved symbols in
/usr/src/kernel-source-2.4.18/debian/tmp-image/lib/modules/2.4.18/kernel/fs/binfmt_elf.o
depmod:         mem_map_zero
depmod:         get_user_pages
make[2]: *** [_modinst_post] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.4.18'
make[1]: *** [real_stamp_image] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'

What could cause this behaviour?

Best regards,
David List



Reply to: