• [^] # Re: Le soucis c'est ?

    Posté par . En réponse au message Cryptsetup: help !!!. Évalué à 1. Dernière modification le 11 avril 2016 à 21:54.

    Voici les commandes que j'ai exécutées:

    export PATH=/toolchains_for_arm/bin:$PATH
    # libgpg-error-1.19
    cd $OUTPUT_DIR/libgpg-error-1.9
    sudo ./configure --enable-static --host=arm-linux-gnueabihf
    sudo make clean
    sudo make
    sudo make install
    # libgcrypt 1.5.2
    cd $OUTPUT_DIR/libgcrypt-1.5.2
    sudo ./autogen.sh
    sudo ./configure --enable-static --host=arm-linux-gnueabihf
    sudo make clean 
    sudo make
    sudo make install 
    #LVM
    cd $OUTPUT_DIR/LVM2.2.02.98
    export ac_cv_func_malloc_0_nonnull=yes
    c_cv_func_malloc_0_nonnull=yes
    ac_cv_func_realloc_0_nonnull=yes
    sudo ./configure --host=arm-linux-gnueabihf --enable-lvm1_fallback --enable-fsadm --with-clvmd --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-pool=none --with-cluster=none --with-snapashots=none --with-mirrors=none 
    sudo make clean
    sudo make
    sudo make install
    # cryptsetup 1.6.1
    cd $OUTPUT_DIR/cryptsetup-1.6.1
    sudo ./configure --host=arm-linux-gnueabihf --build=arm-linux --enable-static
    sudo make clean
    sudo make
    sudo make install
    file /usr/sbin/cryptsetup

    => ELF 64-bit LSB executable, x86-64 !!!