forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Very strange problem with toolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
gambiting



Joined: 17 Aug 2006
Posts: 154

PostPosted: Tue Dec 11, 2007 4:21 am    Post subject: Very strange problem with toolchain Reply with quote

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
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Tue Dec 11, 2007 8:08 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group