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 

Compilation error during toolchain build

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



Joined: 24 Jul 2009
Posts: 2

PostPosted: Fri Jul 24, 2009 2:04 pm    Post subject: Compilation error during toolchain build Reply with quote

I've checked out revision 2468 of psptoolchain and pspsdk from the SVN

I get an error when toolchain.sh reaches 002-gcc-4.3.2-stage1.sh.

Code:
echo timestamp > stmp-fixproto
make[2]: Leaving directory `/home/leroy/Documents/pkgbuild/pspsdk/src/pspsdk-build/build/gcc-4.3.2/build-psp/gcc'
Checking multilib configuration for libgcc...
mkdir -p -- psp/libgcc
Configuring in psp/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... mipsallegrexel-psp-elf
checking for psp-ar... /home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/bin/ar
checking for psp-lipo... psp-lipo
checking for psp-nm... /home/leroy/Documents/pkgbuild/pspsdk/src/pspsdk-build/build/gcc-4.3.2/build-psp/./gcc/nm
checking for psp-ranlib... /home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/bin/ranlib
checking for psp-strip... /home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/bin/strip
checking whether ln -s works... yes
checking for psp-gcc... /home/leroy/Documents/pkgbuild/pspsdk/src/pspsdk-build/build/gcc-4.3.2/build-psp/./gcc/xgcc -B/home/leroy/Documents/pkgbuild/pspsdk/src/pspsdk-build/build/gcc-4.3.2/build-psp/./gcc/ -B/home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/bin/ -B/home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/lib/ -isystem /home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/include -isystem /home/leroy/Documents/pkgbuild/pspsdk/pkg/usr/local/pspdev/psp/sys-include
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/leroy/Documents/pkgbuild/pspsdk/src/pspsdk-build/build/gcc-4.3.2/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.3.2-stage1.sh: Failed.


Here is the config.log from pspsdk-build/build/gcc-4.3.2/build-psp/psp/libgcc/config.log

http://dpaste.com/70741/

My building environment
Code:
Linux: Arch Linux (Linux 2.6.30-ARCH i686)
GCC Version: 4.3.3 | 4.4.0 (Tried both, both failed at the same point)
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Fri Jul 24, 2009 7:02 pm    Post subject: Reply with quote

Try with GCC 4.2
_________________
The Incredible Bill Gates wrote:
The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Back to top
View user's profile Send private message
yuminanako



Joined: 24 Jul 2009
Posts: 2

PostPosted: Fri Jul 24, 2009 9:10 pm    Post subject: Reply with quote

Hmm. I tried with GCC 4.2.4 again, but somewhat I got the same results.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Jul 25, 2009 1:20 am    Post subject: Reply with quote

Be sure to either have the toolchain going someplace you have authorization for, or use the sudo script. The default location of /usr/local/pspdev requires you to chown the directory, or access with sudo.
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