Reg:Cross compilation problem libgcrypt-1.2.4 against Powerpc

Alok Kumar Yadav alokkumar.yadav at gdatech.co.in
Tue Apr 22 14:51:06 CEST 2008


Hi Libgcrypt-Team ,
                   I am crosscompiling libgcrypt-1.2.4 against 
powerpc.But I am suffering from a problem while doing make.
log is :
******************************************************
[root at localhost libgcrypt-1.2.4]# make
make  all-recursive
make[1]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4'
Making all in m4
make[2]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/m4'
Making all in mpi
make[2]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/mpi'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/mpi'
Making all in cipher
make[2]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/cipher'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/cipher'
Making all in src
make[2]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/src'
Making all in doc
make[2]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/doc'
Making all in tests
make[2]: Entering directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/tests'
/bin/sh ../libtool --tag=CC --mode=link 
/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-dp-2/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc  
-I/usr/local/libgpg-error/include/ -Wall  -L/usr/local/libgpg-error/lib 
-o prime  prime.o ../src/libgcrypt.la -lnsl  -lnsl
/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-dp-2/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc 
-I/usr/local/libgpg-error/include/ -Wall -o .libs/prime prime.o  
-L/usr/local/libgpg-error/lib ../src/.libs/libgcrypt.so -lnsl 
-Wl,--rpath -Wl,/usr/local/libgcrypt/lib
/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-dp-2/powerpc-none-linux-gnuspe/lib/gcc/powerpc-none-linux-gnuspe/4.1.2/../../../../powerpc-none-linux-gnuspe/bin/ld: 
warning: libgpg-error.so.0, needed by ../src/.libs/libgcrypt.so, not 
found (try using -rpath or -rpath-link)
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_addmul_1'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_rshift'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_add_n'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_mul_1'
../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 `gpg_err_code_from_errno'
../src/.libs/libgcrypt.so: undefined reference to `_gcry_mpih_sub_n'
../src/.libs/libgcrypt.so: undefined reference to `gpg_strerror'
../src/.libs/libgcrypt.so: undefined reference to `gpg_strsource'
collect2: ld returned 1 exit status
make[2]: *** [prime] Error 1
make[2]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/libcrypt/libgcrypt-1.2.4'
make: *** [all] Error 2
***************************************************
I have also crosscompiled libgpg-error-1.6 package for PPC.
Please help me to solving that issue.

Thanks and regards
Alok

-------------------

We recently installed the spam filter from Abaca. It's over 99% accurate.
Check it out - http://www.abaca.com/success/story.cgi?domain=gdatech.co.in

-------------------




More information about the Gnupg-users mailing list