Very strange problem with toolchain

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
gambiting
Posts: 154
Joined: Thu Aug 17, 2006 5:39 pm

Very strange problem with toolchain

Post by gambiting »

Hi! As I broke my previous toolchain instalation I'm trying to install it again,but I have very strange errors:

Code: Select all

checking for psp-gcc... /home/gambiting/psp/psptoolchain/build/gcc-4.1.0/build-psp/./gcc/xgcc -B/home/gambiting/psp/psptoolchain/build/gcc-4.1.0/build-psp/./gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include
checking for stdlib.h... checking for C compiler default output file name... yes
configure: error: C compiler cannot create executables
See `config.log' for more details.
checking for string.h... make[1]: *** [configure-target-libssp] Error 1
make[1]: *** Waiting for unfinished jobs....
yes
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for C locale to use... generic
checking for std::allocator base class... new
configure: "C" header strategy set to c_std
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mbstate_t... yes
checking for ISO C99 support in <math.h>... yes
checking complex.h usability... no
checking complex.h presence... no
checking for complex.h... no
no
checking for ISO C99 support in <stdio.h>... yes
checking for ISO C99 support in <stdlib.h>... no
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for ISO C99 support in <wchar.h>... no
checking for fully enabled ISO C99 support... no
checking for enabled long long specializations... yes
checking for enabled wchar_t specializations... yes
configure&#58; Debug build flags set to -g3 -O0
checking for additional debug build... no
checking for extra compiler flags for building... -G0
checking for thread model used by GCC... single
configure&#58; WARNING&#58; No native atomic operations are provided for this platform.
configure&#58; WARNING&#58; They cannot be faked when thread support is disabled.
configure&#58; WARNING&#58; Thread-safety of certain classes is not guaranteed.
checking for shared libgcc... configure&#58; error&#58; Link tests are not allowed after GCC_NO_EXECUTABLES.
make&#91;1&#93;&#58; *** &#91;configure-target-libstdc++-v3&#93; Error 1
make&#91;1&#93;&#58; Leaving directory `/home/gambiting/psp/psptoolchain/build/gcc-4.1.0/build-psp'
make&#58; *** &#91;all&#93; Error 2
../scripts/005-gcc-4.1.0-stage2.sh&#58; Failed.
root@gambiting-desktop&#58;/home/gambiting/psp/psptoolchain#
I belive that config.log for this error is located here:

Code: Select all

/home/gambiting/psp/psptoolchain/build/gcc-4.1.0/build-psp/gcc/config.log
And error it gives is:

Code: Select all

configure&#58;8727&#58; gcc -o conftest -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include    conftest.c -lld >&5
/usr/bin/ld&#58; cannot find -lld
collect2&#58; ld returned 1 exit status
configure&#58;8733&#58; $? = 1
I don't know what the hell is -lld,and I don't know how to remove it.Please help ;-(
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

its library LD

LD is a linker library, you have stuffed something up along the way, it shouldnt even be popping up
Post Reply