Find the answer to your Linux question:
Results 1 to 2 of 2
I configured my 2.6.12.3 kernel for dm-crypt... everything works then I compile the user-space tool cryptsetup-luks from http://luks.endorphin.org/dm-crypt but on make it spits Code: keyencryption.c:31:26: libdevmapper.h: No such file or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Posts
    16

    dm-crypt


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

    Code:
    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

    http://luks.endorphin.org/dm-crypt

    # cryptsetup luksFormat /dev/loop0

    WARNING!
    ========
    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
    Location
    St. Petersburg, FL
    Posts
    5,035
    Code:
    updatedb
    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
  •