Toolchain error help...

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

Moderators: cheriff, TyRaNiD

Post Reply
MJBoa
Posts: 6
Joined: Sat Jan 21, 2006 10:27 am

Toolchain error help...

Post by MJBoa »

Code: Select all

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?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Quick guess: Are you running out of ram?
MJBoa
Posts: 6
Joined: Sat Jan 21, 2006 10:27 am

Post by MJBoa »

I haven't checked but I have 512 and I'm not running anything else except winamp.
MJBoa
Posts: 6
Joined: Sat Jan 21, 2006 10:27 am

Post by MJBoa »

I've run it with nothing else multiple times still getting the same type of error. Most recent one:

Code: Select all

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
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

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

I'm afraid I have no solution, unfortunately.
MJBoa
Posts: 6
Joined: Sat Jan 21, 2006 10:27 am

Post by MJBoa »

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.
619619
Posts: 9
Joined: Thu Jun 30, 2005 11:02 am
Location: Italy
Contact:

Post by 619619 »

Are you using the latest version on cygwin?
It was updated few days ago, check it out.
Or install linux :P
MJBoa
Posts: 6
Joined: Sat Jan 21, 2006 10:27 am

Post by MJBoa »

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?
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

The script works best in anything but cygwin, actually.
Panajev2001a
Posts: 100
Joined: Sat Aug 20, 2005 3:25 am

Post by Panajev2001a »

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.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

That would be entirely up to how unix-like and stable Cygwin decides to be.
Post Reply