Failure compiling loop.ko with loop-aes Makefile

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

 



Hi !

I am new to loop-aes and an advanced linux user - guess what that means.

I am using Mandrake Linux v10.0 Official with a new customly compiled kernel Ver. 2.6.8. Block Device "Loop" is deactivated in .config.

I downloaded
a) util-linux-2.12a
b) aes-loop-2.0g

I chose old Package Versions, because the version of the util-linux package matches the util-linux patch shipped with aes-loop-2.0g (util-linux-2.12a.diff) correctly.

Compiling (a) works fine, but doing "make" in the base dir of (b) fails.

Work Dir (pwd):
   loop-aes-2.12a

Command a)
make
Ouput:
---
cd /lib/modules/2.6.8/build && make SUBDIRS=/root/download/loop-AES-v2.0g modules Q='@cd /root/download/loop-AES-v2.0g && if [ "$@" = "/root/download/loop-AES-v2.0g" ]; then make modules; fi; # '
make[1]: Entering directory `/usr/src/linux-2.6.8'
Building modules, stage 2.
make[1]: Leaving directory `/usr/src/linux-2.6.8'
---
Command b)
make LINUX_SOURCE=/usr/linux-2.6.8
same as with
make LINUX_SOURCE=/usr/linux-2.6.8 KBUILD_OUTPUT=/lib/modules/2.6.8


Output:
---
cd /usr/src/linux-2.6.8 && make SUBDIRS=/root/download/loop-AES-v2.0g modules Q='@cd /root/download/loop-AES-v2.0g && if [ "$@" = "/root/download/loop-AES-v2.0g" ]; then make modules; fi; # '
/usr/src/linux-2.6.8/Makefile:415: .config: No such file or directory
make[1]: Entering directory `/usr/src/linux-2.6.8'
Building modules, stage 2.
make[1]: Leaving directory `/usr/src/linux-2.6.8'
---


"make tests" fails. I cannot find a compiled "loop.ko" (loop.o) in
/lib/modules/2.6.8/kernel/drivers/block
I tried "find /lib/modules/2.6.8/ -name 'loop*'", but got not positive result.


I have successfully used cryptoloop in single-key mode before. My goal is to use aes-loop in multi-key loop as comfortably and verbosly described in the README file of aes-loop.

I would be pleased if someone could give me a hint how to fix the Makefile appropriately, however I consider it to be valid and complete or instruct me what parameters to pass to make to compile aes-loop successfully.

Cheers

Jens Stein



-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux