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 

Toolchain error help...

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



Joined: 21 Jan 2006
Posts: 6

PostPosted: Sat Jan 21, 2006 10:31 am    Post subject: Toolchain error help... Reply with quote

Code:
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included...   15055 [main] sh
 944 child_copy: stack write copy failed, 0x22E070..0x230000, done 0, windows pi
d 2285476, Win32 error 5
/tmp/pspdev/binutils-2.16.1/bfd/configure: fork: No error
make: *** [configure-bfd] Error 1
ERROR BUILDING BINUTILS

Michael@mikesroom ~/psptoolchain
$


That's what I get when I run the toolchain script. I installed Devel and Wget and have the latest version of the script 20060120. I've been trying this for a few days now and always get an error building binutils. Anyone know what the problem could be?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Jan 21, 2006 5:02 pm    Post subject: Reply with quote

Quick guess: Are you running out of ram?
Back to top
View user's profile Send private message Visit poster's website
MJBoa



Joined: 21 Jan 2006
Posts: 6

PostPosted: Sun Jan 22, 2006 3:36 am    Post subject: Reply with quote

I haven't checked but I have 512 and I'm not running anything else except winamp.
Back to top
View user's profile Send private message
MJBoa



Joined: 21 Jan 2006
Posts: 6

PostPosted: Mon Jan 23, 2006 4:40 am    Post subject: Reply with quote

I've run it with nothing else multiple times still getting the same type of error. Most recent one:
Code:
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... no
checking for stpcpy... no
checking for stpncpy... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul...      17 [main] sh 3176 child_copy: stack write copy fail
ed, 0x22AD80..0x230000, done 0, windows pid 2272436, Win32 error 5
/tmp/pspdev/binutils-2.16.1/libiberty/configure: fork: No error
make: *** [configure-libiberty] Error 1
ERROR BUILDING BINUTILS
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jan 23, 2006 9:49 am    Post subject: Reply with quote

It appears to be a cygwin issue involving buggy fork code.

I'm afraid I have no solution, unfortunately.
Back to top
View user's profile Send private message Visit poster's website
MJBoa



Joined: 21 Jan 2006
Posts: 6

PostPosted: Tue Jan 24, 2006 7:40 am    Post subject: Reply with quote

Hmm, is there any other way to get the pspsdk working so I can design and compile PSP programs? I've been looking forward to doing PSP programming.
Back to top
View user's profile Send private message
619619



Joined: 30 Jun 2005
Posts: 9
Location: Italy

PostPosted: Tue Jan 24, 2006 8:59 am    Post subject: Reply with quote

Are you using the latest version on cygwin?
It was updated few days ago, check it out.
Or install linux :P
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
MJBoa



Joined: 21 Jan 2006
Posts: 6

PostPosted: Tue Jan 24, 2006 9:40 am    Post subject: Reply with quote

Yea, I have the latest version. I was thinking about actually installing Ubuntu since I've tried the Live CD and I liked it, the script will work without any changes, right?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jan 25, 2006 12:54 am    Post subject: Reply with quote

The script works best in anything but cygwin, actually.
Back to top
View user's profile Send private message Visit poster's website
Panajev2001a



Joined: 20 Aug 2005
Posts: 100

PostPosted: Wed Jan 25, 2006 3:17 am    Post subject: Reply with quote

ooPo wrote:
The script works best in anything but cygwin, actually.


Please let it keep working as best as possible with Cygwin... I want to keep working with Visual Studio.NET :D.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jan 25, 2006 3:42 am    Post subject: Reply with quote

That would be entirely up to how unix-like and stable Cygwin decides to be.
Back to top
View user's profile Send private message Visit poster's website
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