Package: module-assistant
Version: 0.7.3
Severity: normal
When trying to build loop-aes, it fails, I believe because the
instructions to build the loop-aes stuff is not followed correctly (at
the very beginning of the README.Debian in loop-aes-source it says,
"Building loop-AES requires a full kernel source tree, the headers
from kernel-headers packages are not sufficient. Unless you already")
According to the loop-aes-source README.Debian you can use
module-assistant to make loop-aes if you do the following:
2. Using module-assistant
You can easily create a loop-aes package for your kernel with
module-assistant. This assumes that the kernel source is in
/usr/src/kernel-source-VERSION and has already been compiled.
# cd /usr/src/kernel-source-VERSION
# module-assistant build loop-aes -k /usr/src/kernel-source-VERSION
# dpkg -i /usr/src/NEW_PACKAGE
Here is the log from the output.
Build log starting, file:
/var/cache/modass/loop-aes-source.buildlog.2.6.8-2-686-smp.1109368549
Date: Fri, 25 Feb 2005 13:55:50 -0800
dh_clean
make clean
make[1]: Entering directory `/usr/src/modules/loop-aes'
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f -r test-dir1 tmp-d-kbuild
make[1]: Leaving directory `/usr/src/modules/loop-aes'
for templ in ; do \
cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.8-2-686-smp/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.8-2-686-smp/g ;s/#KVERS#/2.6.8-2-686-smp/g ;
s/_KVERS_/2.6.8-2-686-smp/g ; s/##KDREV##/2.6.8-13/g ; s/#KDREV#/2.6.8-13/g ;
s/_KDREV_/2.6.8-13/g' < $templ > ${templ%.modules.in}; \
done
dh_testdir
dh_testroot
rm -f build-arch-stamp build-indep-stamp configure-stamp
make clean
make[1]: Entering directory `/usr/src/modules/loop-aes'
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f -r test-dir1 tmp-d-kbuild
make[1]: Leaving directory `/usr/src/modules/loop-aes'
dh_clean
dh_testdir
dh_testroot
dh_clean -k
# Build the module
make LINUX_SOURCE=/usr/src/linux USE_KBUILD=y RUNDM=n MODINST=n
make[1]: Entering directory `/usr/src/modules/loop-aes'
rm -r -f tmp-d-kbuild
mkdir tmp-d-kbuild
cd tmp-d-kbuild && ln -s ../loop.c-2.6.patched patched-loop.c && ln -s
../glue.c glue.c && ln -s ../aes.h aes.h && ln -s ../md5.h md5.h
cd tmp-d-kbuild && ln -s ../aes-x86.S aes-x86.S && ln -s ../md5-x86.S md5-x86.S
echo 'loop-y:=patched-loop.o glue.o aes-x86.o md5-x86.o' >>tmp-d-kbuild/Makefile
echo 'EXTRA_CFLAGS:= -DOLD_REQUEST_MODULE_INTERFACE -DX86_ASM'
>>tmp-d-kbuild/Makefile
echo 'obj-m:=loop.o' >>tmp-d-kbuild/Makefile
cd /usr/src/linux && make M=/usr/src/modules/loop-aes/tmp-d-kbuild modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686-smp'
CC [M] /usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.o
/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.c: In function
`loop_thread':
/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.c:908: error: structure has
no member named `rlim'
/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.c:908: error: structure has
no member named `rlim'
/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.c:908: error: structure has
no member named `rlim'
/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.c:908: error: structure has
no member named `rlim'
/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.c:908: error: structure has
no member named `rlim'
make[3]: *** [/usr/src/modules/loop-aes/tmp-d-kbuild/patched-loop.o] Error 1
make[2]: *** [_module_/usr/src/modules/loop-aes/tmp-d-kbuild] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686-smp'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/modules/loop-aes'
make: *** [binary-modules] Error 2
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages module-assistant depends on:
ii perl 5.8.4-6 Larry Wall's Practical Extraction
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]