Cryptsetup cross compiling for ARM fails

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

 



Hi,

 

I’m trying to build cryptsetup for an ARM Linux machine. I’ve built all dependencies in a dedicated directory and am trying to build cryptsetup there.

 

Configure succeeds:

./configure --host=arm-linux-gnueabihf CC="/usr/bin/ccache `pwd`/../toolchains/aarch32/bin/arm-linux-gnueabihf-gcc" --prefix=`pwd`/build --with-sysroot=`pwd`/../toolchains/aarch32/arm-linux-gnueabihf/libc --enable-static --with-libgcrypt-prefix=`pwd`/build CFLAGS="-I`pwd`/build/include" LDFLAGS="-L`pwd`/build/lib "

 

I’m getting these strange errors, the path is definitely wrong and I haven’t passed it like that, looks like it concatenated two unrelated parts.

/bin/sed: can't read /home/moshe/devel/XXX/cryptsetup/../toolchains/aarch32/arm-linux-gnueabihf/libc/home/moshe/devel/XXX/cryptsetup/build/lib/libgpg-error.la: No such file or directory

libtool:   error: '=/home/moshe/devel/XXX/cryptsetup/build/lib/libgpg-error.la' is not a valid libtool archive

Makefile:569: recipe for target 'libcryptsetup.la' failed

 

BTW, I can see that the binary is built in .libs

 

 

Running make for the second time succeeds, but then make install fails (see the next error).

libtool: install: /usr/bin/install -c .libs/libcryptsetup.lai /home/moshe/devel/optee/cryptsetup/build/lib/libcryptsetup.la

/usr/bin/install: cannot stat '.libs/libcryptsetup.lai': No such file or directory

Please help,

Moshe

 

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux