Find the answer to your Linux question:
Results 1 to 2 of 2

Thread: dm-crypt

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    I configured my kernel for dm-crypt... everything works then I compile the user-space tool cryptsetup-luks from
    but on make it spits

    keyencryption.c:31:26: libdevmapper.h: No such file or directory
    keyencryption.c:35:26: libdevmapper.h: No such file or directory
    keyencryption.c: In function `LUKS_endec_template':
    keyencryption.c:100: warning: initialization makes pointer from integer withouta cast
    make[2]: *** [libluks_la-keyencryption.lo] Error 1
    make[2]: Leaving directory `/home/bastille/cryptsetup-luks-1.0.1/luks'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/bastille/cryptsetup-luks-1.0.1'
    make: *** [all] Error 2
    I tried using the cryptsetup-1.0.1-i686-pc-linux-gnu-static.bz2 - Precompiled binary version 1.0.1: my kernel is working correctly so I issue the commands written on the luks page

    # cryptsetup luksFormat /dev/loop0

    This will overwrite data on /dev/loop0 irrevocably.

    Are you sure? (Type uppercase yes): YES
    Enter LUKS passphrase:
    failed to setup dm-crypt mapping.
    failed to write to key storage.
    Command failed.

    What's wrong???

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    St. Petersburg, FL
    locate libdevmapper.h

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts