| View previous topic :: View next topic |
| Author |
Message |
gambiting
Joined: 17 Aug 2006 Posts: 154
|
Posted: Tue Dec 11, 2007 4:21 am Post subject: Very strange problem with toolchain |
|
|
Hi! As I broke my previous toolchain instalation I'm trying to install it again,but I have very strange errors:
| Code: | 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: 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: WARNING: No native atomic operations are provided for this platform.
configure: WARNING: They cannot be faked when thread support is disabled.
configure: WARNING: Thread-safety of certain classes is not guaranteed.
checking for shared libgcc... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/gambiting/psp/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/005-gcc-4.1.0-stage2.sh: Failed.
root@gambiting-desktop:/home/gambiting/psp/psptoolchain# |
I belive that config.log for this error is located here:
| Code: | | /home/gambiting/psp/psptoolchain/build/gcc-4.1.0/build-psp/gcc/config.log |
And error it gives is:
| Code: | configure:8727: gcc -o conftest -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./include conftest.c -lld >&5
/usr/bin/ld: cannot find -lld
collect2: ld returned 1 exit status
configure:8733: $? = 1 | I don't know what the hell is -lld,and I don't know how to remove it.Please help ;-( |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Tue Dec 11, 2007 8:08 am Post subject: |
|
|
its library LD
LD is a linker library, you have stuffed something up along the way, it shouldnt even be popping up |
|
| Back to top |
|
 |
|