Cannot cross-compile libgcrypt-1.4.4
John Taylor
pi00100100 at gmail.com
Tue Sep 22 14:31:59 CEST 2009
Hello,
I'm trying to cross-compile libgcrypt-1.4.4. Configure argument list
is: --prefix=/usr --build=i486-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu. Make fails with the following error
message:
/bin/bash ../libtool --tag=CC --mode=link
x86_64-unknown-linux-gnu-gcc -g -O2 -fvisibility=hidden -Wall -o
version version.o ../src/libgcrypt.la
mkdir .libs
x86_64-unknown-linux-gnu-gcc -g -O2 -fvisibility=hidden -Wall -o
.libs/version version.o ../src/.libs/libgcrypt.so
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_add_n'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_submul_1'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_lshift'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_addmul_1'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_mul_1'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_sub_n'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_rshift'
collect2: ld returned 1 exit status
make[2]: *** [version] Error 1
make[2]: Leaving directory `/mnt/clfs/sources/libgcrypt-build/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/libgcrypt-build'
make: *** [all] Error 2
Is this a bug perhaps?
Thanks.
More information about the Gcrypt-devel
mailing list