[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loopAES doesnt compile on 2.6.0-test9-mm3/4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
Just wanted to try the mm-series instead of vanilla 2.6.x, and ran into a
problem when compiling loop-AES 1.7e, with the loop-AES-v1.7e-20030922.diff
patch applied.
The output is:
root@notch loop-AES-v1.7e # make clean
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
root@notch loop-AES-v1.7e # make LINUX_SOURCE="/usr/src/
linux-2.6.0-test9-mm4/"
cd /usr/src/linux-2.6.0-test9-mm4/ && make SUBDIRS=/root/loop-AES-v1.7e
modules Q='@cd /root/loop-AES-v1.7e && if [ "$@" = "/root/loop-AES-v1.7e" ];
then make modules; fi && true '
make[1]: Entering directory `/usr/src/linux-2.6.0-test9-mm4'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
rm -f *.o *.ko *.orig *.rej *.mod.c patched-loop.[ch] test-file[1234]
rm -f patched-loop.[ch]
cp loop.c-2.6.patched patched-loop.c
cd /usr/src/linux-2.6.0-test9-mm4/ && gcc -D__KERNEL__ -Iinclude -Wall
- -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe
- -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default
- -O2 -fomit-frame-pointer -DMODULE -nostdinc -iwithprefix include
- -DKBUILD_BASENAME=patched_loop -DKBUILD_MODNAME=loop -DEXPORT_SYMTAB -c /
root/loop-AES-v1.7e/patched-loop.c -o /root/loop-AES-v1.7e/patched-loop.o
/root/loop-AES-v1.7e/patched-loop.c:144: warning: initialization from
incompatible pointer type
/root/loop-AES-v1.7e/patched-loop.c:149: warning: initialization from
incompatible pointer type
/root/loop-AES-v1.7e/patched-loop.c: In function `figure_loop_size':
/root/loop-AES-v1.7e/patched-loop.c:518: `LO_FLAGS_DO_BMAP' undeclared (first
use in this function)
/root/loop-AES-v1.7e/patched-loop.c:518: (Each undeclared identifier is
reported only once
/root/loop-AES-v1.7e/patched-loop.c:518: for each function it appears in.)
/root/loop-AES-v1.7e/patched-loop.c: In function `lo_do_transfer':
/root/loop-AES-v1.7e/patched-loop.c:558: warning: passing arg 3 of pointer to
function from incompatible pointer type
/root/loop-AES-v1.7e/patched-loop.c:558: warning: passing arg 4 of pointer to
function makes integer from pointer without a cast
/root/loop-AES-v1.7e/patched-loop.c:558: warning: passing arg 5 of pointer to
function makes pointer from integer without a cast
/root/loop-AES-v1.7e/patched-loop.c:558: too few arguments to function
/root/loop-AES-v1.7e/patched-loop.c: In function `loop_make_request_real':
/root/loop-AES-v1.7e/patched-loop.c:670: `LO_FLAGS_DO_BMAP' undeclared (first
use in this function)
/root/loop-AES-v1.7e/patched-loop.c: In function `loop_thread':
/root/loop-AES-v1.7e/patched-loop.c:869: `LO_FLAGS_DO_BMAP' undeclared (first
use in this function)
/root/loop-AES-v1.7e/patched-loop.c: In function `loop_set_softblksz':
/root/loop-AES-v1.7e/patched-loop.c:913: `LO_FLAGS_DO_BMAP' undeclared (first
use in this function)
/root/loop-AES-v1.7e/patched-loop.c: In function `loop_set_fd':
/root/loop-AES-v1.7e/patched-loop.c:992: `LO_FLAGS_DO_BMAP' undeclared (first
use in this function)
/root/loop-AES-v1.7e/patched-loop.c: At top level:
/root/loop-AES-v1.7e/patched-loop.c:1414: warning: initialization from
incompatible pointer type
/root/loop-AES-v1.7e/patched-loop.c:1415: warning: initialization from
incompatible pointer type
/root/loop-AES-v1.7e/patched-loop.c:1416: warning: initialization from
incompatible pointer type
make[2]: *** [patched-loop.o] Error 1
make[1]: *** [/root/loop-AES-v1.7e] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.0-test9-mm4'
make: *** [all] Error 2
Oh,
and this Mailing list has gone quite quiet latly...is loopAES not the best
sollution for completly encrypted disks (including / and *swap*) anymore ?
Ive seen the crypto-api that is in 2.6, how does it compare to loop-AES ?
Are there any other ways (that I dont know of) ?
Peter
- --
Swap read error. You lose your mind.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/vKHcg2ieGvTmHiURAqtbAJ9qlBfUt6ZW4i70JIvpzKL0lbUefgCgjnq3
Cg3BV4ee9njOxvZUDfDTIGY=
=QhLz
-----END PGP SIGNATURE-----
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/