cross problem at gpgme

Oguz Yarimtepe comp.ogz at
Wed Mar 11 16:45:40 CET 2009


I have a cross compile problem of gpgme. Although i had set the
LD_LIBRARY_PATH and LDFLAGS i am getting errors at the make process of

Below is how i compile:

./configure --host="sh4-linux"  --prefix="$ROOTDIR/usr"
--enable-maintainer-mode --without-pth-test
--with-gpg="$ROOTDIR/usr/bin" --with-gpgsm="$ROOTDIR/usr/bin"
--disable-largefile --with-pth=$ROOTDIR/usr

$ make

/opt/STM/STLinux-2.2/devkit/sh4/lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/bin/ld: skipping incompatible /lib/ when searching for /lib/
/opt/STM/STLinux-2.2/devkit/sh4/lib/gcc/sh4-linux/4.1.1/../../../../sh4-linux/bin/ld: cannot find /lib/
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory
make[2]: *** [all] Error 2
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all] Error 2

Is there any one that can give me an idea about what the problem is? The
compile is searching /lib for file but the path it should
look is somewhere different. How can i set it? 


More information about the Gnupg-devel mailing list