Hi,
My goal is to manage crypted devices using own C program which should include and use Cryptsetup API.
In order to start I'm first trying to build the example files but I got the following error:
# make
gcc -O0 -g -Wall -D_GNU_SOURCE -c -o crypt_luks_usage.o crypt_luks_usage.c
crypt_luks_usage.c: In function ‘format_and_add_keyslots’:
crypt_luks_usage.c:85: error: ‘struct crypt_params_luks1’ has no member named ‘data_device’
make: *** [crypt_luks_usage.o] Error 1
It's on CentOS 6.2, cryptsetup 1.2.0
# rpm -qa | grep crypt
libgcrypt-1.4.5-9.el6_2.2.i686
cryptsetup-luks-libs-1.2.0-7.el6.i686
cryptsetup-luks-1.2.0-7.el6.i686
cryptsetup-luks-devel-1.2.0-7.el6.i686
libgcrypt-devel-1.4.5-9.el6_2.2.i686
Is something missing?
---
max
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt