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

depmod error when running make-kpkg

I have tried running make-kpkg as a first attempt in making my own
kernel on a newly installed Debian 3.0_r1 on an 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

This doesn't work.

This is what I issue:

# cd /usr/src
# tar -xjvf kernel-source-2.4.18.tar.bz2
# ln -s kernel-source-2.4.18 linux
# cd linux
# export CC=/usr/bin/sparc64-linux-gcc
# 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/linux/debian/tmp-image/lib/modules/2.4.18; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
/usr/src/linux/debian/tmp-image -r 2.4.18; fi
depmod: *** Unresolved symbols in
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: