Click to See Complete Forum and Search --> : Need help with module-assistant


mike_flow
11-11-2006, 10:21 PM
I upgraded from ubuntu 6.06 LTS to 6.10 (the clean install didn't work and the cd's I used were good) and I am trying to compile the realtime module in to the kernel to use with jackd and other sound apps. I have the kernel image, source and headers installed but the module-assistant cannot find the kernel binaries when trying to compile the lsm module.

Does any of you know a workaround to this problem, or if I need to create a link somewhere in the system so the module-assistant finds the kernel binaries?

Thanks.

EDIT

It seems that the problem is not the kernel. Am I right?

Here is the logfile of mod-assistant

dh_clean
make COMMONCAP=none clean
make[1]: Entering directory `/usr/src/modules/realtime-lsm'
rm -f *.ko *.o none
rm -f *.mod.* .*.cmd
make[1]: Leaving directory `/usr/src/modules/realtime-lsm'
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/realtime-lsm'
dh_clean
make COMMONCAP=none clean
make[2]: Entering directory `/usr/src/modules/realtime-lsm'
rm -f *.ko *.o none
rm -f *.mod.* .*.cmd
make[2]: Leaving directory `/usr/src/modules/realtime-lsm'
/usr/bin/gcc-4.1
for templ in /usr/src/modules/realtime-lsm/debian/realtime-lsm-module-_KVERS_.postinst /usr/src/modules/realtime-lsm/debian/realtime-lsm-module-_KVERS_.postinst.backup /usr/src/modules/realtime-lsm/debian/realtime-lsm-module-_KVERS_.postinst.modules.in; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17-10-386/g'` ; \
done
for templ in `ls debian/*.modules.in` ; do \
test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \
sed -e 's/##KVERS##/2.6.17-10-386/g ;s/#KVERS#/2.6.17-10-386/g ; s/_KVERS_/2.6.17-10-386/g ; s/##KDREV##/2.6.17-10.33/g ; s/#KDREV#/2.6.17-10.33/g ; s/_KDREV_/2.6.17-10.33/g ' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
dh_clean -k
make KERNEL_DIR=/usr/src/linux-OLDVERSION.1163310580 MODVERSIONS=detect KERNEL=linux-2.6.17-10-386 COMMONCAP=none
make[2]: Entering directory `/usr/src/modules/realtime-lsm'
CONFIG_SECURITY_CAPABILITIES=m
make CC=gcc-4.1 modules -C /usr/src/linux-OLDVERSION.1163310580 SUBDIRS=/usr/src/modules/realtime-lsm
make[3]: Entering directory `/usr/src/linux-source-2.6.17-10-386'
CC [M] /usr/src/modules/realtime-lsm/realcap.o
/usr/src/modules/realtime-lsm/realcap.c:36: error: expected ‘)’ before string constant
/usr/src/modules/realtime-lsm/realcap.c:40: error: expected ‘)’ before string constant
/usr/src/modules/realtime-lsm/realcap.c:44: error: expected ‘)’ before string constant
/usr/src/modules/realtime-lsm/realcap.c:48: error: expected ‘)’ before string constant
make[4]: *** [/usr/src/modules/realtime-lsm/realcap.o] Error 1
make[3]: *** [_module_/usr/src/modules/realtime-lsm] Error 2
make[3]: Leaving directory `/usr/src/linux-source-2.6.17-10-386'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/realtime-lsm'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/realtime-lsm'
make: *** [kdist_build] Error 2

mike_flow
11-12-2006, 05:09 PM
Many things were broken in the upgrade, so I went back to Ubuntu 6.06.