[gccsdk] Autobuilder build report
Jan-Jaap van der Geer
jjvdgeer at inbox.com
Wed Aug 12 13:59:00 PDT 2009
Peter Naulls wrote:
>> ***
>> *** libgcrypt was not found. You may want to get it from
>> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
>> ***
> Have a look at config.log. This should tell you why it was not
> found.
You're right. It seems to be suffering from the PIC-problem:
configure:7439: checking for libgcrypt
configure:7458: /home/jjvdgeer/cross/bin/arm-unknown-riscos-gcc -std=gnu99 -o conftest,e1f -O3 -static -isystem /home/jjvdgeer/env/include -I/home/jjvdgeer/env/include -L/home/jjvdgeer/env/lib -static conftest.c /home/jjvdgeer/env/lib/libgcrypt.so -L/home/jjvdgeer/cross/bin/../arm-unknown-riscos/lib /home/jjvdgeer/env/lib/libgpg-error.so -Wl,-rpath -Wl,/home/jjvdgeer/env/lib >&5
/home/jjvdgeer/cross/lib/gcc/arm-unknown-riscos/4.1.1/../../../../arm-unknown-riscos/bin/ld: attempted static link of dynamic object `/home/jjvdgeer/env/lib/libgcrypt.so'
collect2: ld returned 1 exit status
configure:7458: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GnuTLS"
| #define PACKAGE_TARNAME "gnutls"
...
>> /home/jjvdgeer/env/ro-ar: 15: Syntax error: redirection unexpected
> Maybe I'm making assumptions about the shell. Try changing '/bin/sh' to
> '/bin/bash' in /home/jjvdgeer/env/ro-ar
Indeed. With that changed, this no longer is an issue. Thanks.
Cheers,
Jan-Jaap
More information about the gcc
mailing list