Click to See Complete Forum and Search --> : cant compile modules in kernel 2.6.x


crow2icedearth2
02-22-2004, 11:20 PM
I cant compile modules into the 2.6.x kernels........ it works fine for 2.4.x

here is the error im getting and wondering how to get it working. i need the prism modules to get my wirless card working and yamah opl3 modules which i have had working and compiled on 2.6.x with slackware linux on my laptop.

i am now running debian and here is what i did doing it
the debain way. i know how to compile kernel both debain way and trans way.

downloaded kernel-source-2.6.2_custom.1.i386.deb

upacked it

dpkg -i kernel-source-2.6.2_custom.1.i386.deb
tar xjvf kernel-source-2.6.2_custom.1.i386.tar.bz2
ln -s kernel-source-2.6.2_custom.1.i386. linux
cd /linux
make menuconfig

did al my modules settings , etc

make-kpkg kernel-image

and i get the following compile error when it compiles modules

right afer it compiles depmod: snd_mpu401_uart new
make [2]: *** [modinst_post] Error 1
make [2]: Leaving directory `/usr/src/kernel-source-2.6.2`
make [1]: *** [real_stamp_image] Error 2
make [1]: Leaving directory `/usr/src/kernel-source-2.6.2`

and if i remove sound i get the same error it doesnt matter what module i use the same thing happens....... and i know i have a sound card that uses that because i have used it before with 2.6.2 kernel under slackware on the same laptop machine....

crow2icedearth2
02-22-2004, 11:45 PM
figured it out...i needed

module-init-tools installed

i figured it had to be a module problem and ti was