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 

The first working ps3toolchain release!
Goto page Previous  1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development
View previous topic :: View next topic  
Author Message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Mon Jun 18, 2007 2:51 pm    Post subject: Reply with quote

emoon wrote:
you change

Code:

prefix = /usr/local/ps3dev/ppu


to

Code:

prefix = usr/local/ps3dev/ppu


and run make install. Thats what I did for the spu toolchain at least (ppu worked just fine)

Code:
$ make install
for outputs in libgloss.a crti.o crtn.o crt1.o crt2.o; do\
         /usr/bin/install -c -m 644 ${outputs} /usr/local/ps3dev/ppu/ppu/lib/${o
utputs}; \
        done


But now isnt the whole toolchain installed , is it?
Back to top
View user's profile Send private message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Mon Jun 18, 2007 9:04 pm    Post subject: Reply with quote

Code:
../../binutils/bin2c.c: In function `main':
../../binutils/bin2c.c:89: warning: implicit declaration of function `_fileno'
../../binutils/bin2c.c:89: warning: implicit declaration of function `_setmode'
make[4]: *** [bin2c.exe] Error 1
make[4]: Leaving directory `/home/Leen/ps3toolchain/build/binutils-2.17.50/build
-spu/binutils'


noooo:(
Back to top
View user's profile Send private message
Den_John



Joined: 18 Jun 2007
Posts: 6

PostPosted: Mon Jun 18, 2007 10:11 pm    Post subject: Reply with quote

Den_John wrote:
emoon wrote:
Make sure to have a home directory with no spaces in it.

Like Jonathan_Heirbaut instead of "Jonathan Heirbaut"

Done that and it worked but is it normal that the installation takes more then 4hours?
I see this for more then one hour, that's not normal isn't it
?
Code:

/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2   -o gprof.exe  basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o spar
c.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/libbfd.la ../libiberty/libiberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o gprof.exe basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl
.o fsf_callg_bl.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
make[4]: Leaving directory `/home/ps3toolchain/build/binutils-2.17.50/build-ppu/gprof'
make[3]: Leaving directory `/home/ps3toolchain/build/binutils-2.17.50/build-ppu/gprof'
make[2]: Leaving directory `/home/ps3toolchain/build/binutils-2.17.50/build-ppu/gprof'


Nobody?
Back to top
View user's profile Send private message
emoon



Joined: 18 Jan 2004
Posts: 91
Location: Stockholm, Sweden

PostPosted: Tue Jun 19, 2007 6:25 am    Post subject: Reply with quote

hallo007 wrote:
Code:
../../binutils/bin2c.c: In function `main':
../../binutils/bin2c.c:89: warning: implicit declaration of function `_fileno'
../../binutils/bin2c.c:89: warning: implicit declaration of function `_setmode'
make[4]: *** [bin2c.exe] Error 1
make[4]: Leaving directory `/home/Leen/ps3toolchain/build/binutils-2.17.50/build
-spu/binutils'


noooo:(


I had the same thing, what I did was to copy the compileline and then just remove -Werror and run it again and it builds fine.
Back to top
View user's profile Send private message Visit poster's website
emoon



Joined: 18 Jan 2004
Posts: 91
Location: Stockholm, Sweden

PostPosted: Tue Jun 19, 2007 6:27 am    Post subject: Reply with quote

Den_John wrote:
Den_John wrote:
emoon wrote:
Make sure to have a home directory with no spaces in it.

Like Jonathan_Heirbaut instead of "Jonathan Heirbaut"

Done that and it worked but is it normal that the installation takes more then 4hours?
I see this for more then one hour, that's not normal isn't it
?
Code:

/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2   -o gprof.exe  basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o spar
c.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/libbfd.la ../libiberty/libiberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o gprof.exe basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl
.o fsf_callg_bl.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
make[4]: Leaving directory `/home/ps3toolchain/build/binutils-2.17.50/build-ppu/gprof'
make[3]: Leaving directory `/home/ps3toolchain/build/binutils-2.17.50/build-ppu/gprof'
make[2]: Leaving directory `/home/ps3toolchain/build/binutils-2.17.50/build-ppu/gprof'


Nobody?


just try to run make for it again.
Back to top
View user's profile Send private message Visit poster's website
emoon



Joined: 18 Jan 2004
Posts: 91
Location: Stockholm, Sweden

PostPosted: Tue Jun 19, 2007 6:29 am    Post subject: Reply with quote

I would just also say I tested to build and run the OtherOS demo with the cygwin built toolchain and it worked just fine. Good to know :)
Back to top
View user's profile Send private message Visit poster's website
zabbyh



Joined: 15 Jul 2005
Posts: 13

PostPosted: Tue Jun 19, 2007 7:51 am    Post subject: Reply with quote

Hi All;

Anyone willing to share some information, on how to setup a working version of this toolchain on Windows Environment. The programs required and how to compile this demo.pkg etc..

Thanks.
Back to top
View user's profile Send private message
emoon



Joined: 18 Jan 2004
Posts: 91
Location: Stockholm, Sweden

PostPosted: Tue Jun 19, 2007 8:52 am    Post subject: Reply with quote

Well... Currently it's not really a smooth ride to get it running under cygwin as you can see in this thread (it is possible though with basic *nix shell knowledge and some programming experience)

what you need to do is to install cygwin www.cygwin.com and the gcc compiler for it. then grab the toolchain buildscripts from the subversion repository svn://svn.ps2dev.org/ps3/trunk/ps3toolchain

information about subversion and how to use it can be found at www.subversion.com
Back to top
View user's profile Send private message Visit poster's website
nirving



Joined: 20 Sep 2006
Posts: 12

PostPosted: Tue Jun 19, 2007 9:05 am    Post subject: Reply with quote

zabbyh wrote:
Hi All;

Anyone willing to share some information, on how to setup a working version of this toolchain on Windows Environment. The programs required and how to compile this demo.pkg etc..

Thanks.

1. Download Cygwin - http://www.cygwin.com/setup.exe
2. Execute setup.exe
3. Click the Next Button
4. Select "Install from Internet" radio button and click Next
5. Browse for a "Root Directory" and then click Next
6. Browse for a "Local Package Directory" and click Next
7. Choose your Proxy settings, I use Direct Connection, and click Next
8. Choose a download site near to you and click Next
9. Click the "view" button till you get Full
10. Select the following Packages
Code:
     autoconf 2.1
     automake 1.10
     bison
     flex
     gcc
     libgmp3
     libmpfr-devel
     libmpfr1
     make
     ncurses
     patch
     subversion
     terminfo
     wget

11. Click Next
12. Click Finish
13. Open a Cygwin Terminal
14. edit .bash_profile and add the following lines to the bottom.
Code:
export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

15. use svn to checkout the tool chains
Code:
svn export svn://svn.ps2dev.org/ps3/trunk/ps3toolchain

16. run the toolchain script.
Code:
./toolchain.sh


Thats pretty much it.


Last edited by nirving on Wed Jun 20, 2007 6:55 am; edited 2 times in total
Back to top
View user's profile Send private message
nirving



Joined: 20 Sep 2006
Posts: 12

PostPosted: Tue Jun 19, 2007 11:45 am    Post subject: Reply with quote

I am getting this, on a Cygwin install as outlined above.
Code:
checking for string.h... (cached) yes
checking for wait3... checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking for wait4... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for __fsetlocking... no
checking for fgets_unlocked... no
checking whether basename is declared... no
  23838 [sig] sh 3480 d:\development\cygwin\bin\sh.exe: *** fatal error - called
 with threadlist_ix -1
/bin/sh: line 16:  3480 Hangup                  /bin/sh ${libsrcdir}/configure -
-cache-file=./config.cache --build=i686-pc-cygwin --host=i686-pc-cygwin --target
=ppu --prefix=/usr/local/ps3dev/ppu --with-newlib --enable-cxx-flags=-G0 --disab
le-libgomp --disable-libmudflap --disable-nls --disable-shared --disable-threads
 --enable-languages=c,c++ --program-transform-name='s,^,ppu-,; ' ${srcdiroption}

no
make[1]: *** [configure-intl] Error 1
make[1]: *** Waiting for unfinished jobs....
checking whether ffs is declared... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether calloc is declared... yes
checking whether getenv is declared... yes
checking whether getopt is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether sbrk is declared... yes
checking whether strverscmp is declared... no
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... no
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Leaving directory `/home/nirving/ps3/ps3toolchain/build/gcc-4.2.0/build
-ppu-stage2'
make: *** [all] Error 2
../scripts/004-gcc-4.2.0-ppu-stage2.sh: Failed.


Any ideas?
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Jun 19, 2007 12:54 pm    Post subject: Reply with quote

Quote:
23838 [sig] sh 3480 d:\development\cygwin\bin\sh.exe: *** fatal error - called
with threadlist_ix -1

Looks like hardware problems to me.
Back to top
View user's profile Send private message Visit poster's website
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 6:15 am    Post subject: error Reply with quote

Code:
ERROR: Set $PS3DEV before continuing.
../depends/check-ps3dev.sh: Failed.

also i did add
Code:

export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin
Back to top
View user's profile Send private message
nirving



Joined: 20 Sep 2006
Posts: 12

PostPosted: Wed Jun 20, 2007 6:42 am    Post subject: Reply with quote

ooPo wrote:
Quote:
23838 [sig] sh 3480 d:\development\cygwin\bin\sh.exe: *** fatal error - called
with threadlist_ix -1

Looks like hardware problems to me.


This was done on a T7200 (Intel Centino Core 2 Duo) processor, so is there any way to modify the build process not to use both cores?

I am now trying on an AMD Athlon 64 3000+ Processor.


Last edited by nirving on Wed Jun 20, 2007 6:56 am; edited 1 time in total
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 6:56 am    Post subject: Reply with quote

can someone please explain more what to do with

Code:


export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin

Back to top
View user's profile Send private message
nirving



Joined: 20 Sep 2006
Posts: 12

PostPosted: Wed Jun 20, 2007 6:58 am    Post subject: Reply with quote

kid101skater wrote:
can someone please explain more what to do with

Code:


export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin



You need to add it to your path. In Cygwin, there is a file in your users root directory called .bash_profile, edit that and add it to the end and then restart your Cygwin window. Under linux edit whatever is your default profile and add those details.
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 7:00 am    Post subject: Reply with quote

nirving wrote:
kid101skater wrote:
can someone please explain more what to do with

Code:


export PS3DEV=/usr/local/ps3dev
export PATH=$PATH:$PS3DEV/bin
export PATH=$PATH:$PS3DEV/ppu/bin
export PATH=$PATH:$PS3DEV/spu/bin



You need to add it to your path. In Cygwin, there is a file in your users root directory called .bash_profile, edit that and add it to the end and then restart your Cygwin window. Under linux edit whatever is your default profile and add those details.


well everytime i open up the .bash_profile in home/kev/ and put those lines at the end from notepad, i open up cygwin and get an error:

Code:

bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/kevin/.bash_profile: line 45: syntax error: unexpected end of file
Back to top
View user's profile Send private message
nirving



Joined: 20 Sep 2006
Posts: 12

PostPosted: Wed Jun 20, 2007 7:18 am    Post subject: Reply with quote

kid101skater wrote:
well everytime i open up the .bash_profile in home/kev/ and put those lines at the end from notepad, i open up cygwin and get an error:

There lies your problem, Notepad. It does not save in Unix Format, so try adding Vim as a Cygwin package, or using another application like TextPad, PSPad that can save in Unix Format. The other alternative is to try and use dos2unix to convert the Windows formatted file back into Unix format.

Code:

dos2unix .bash_profile > tmp
mv tmp .bash_profile

or
Code:

cat .bash_profile | tr -d '\r' > .bash_profile


Last edited by nirving on Wed Jun 20, 2007 8:13 am; edited 1 time in total
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 7:29 am    Post subject: Reply with quote

nirving wrote:
kid101skater wrote:
well everytime i open up the .bash_profile in home/kev/ and put those lines at the end from notepad, i open up cygwin and get an error:

There lies your problem, Notepad. It does not save in Unix Format, so try adding Vim as a Cygwin package, or using another application like TextPad, PSPad that can save in Unix Format. The other alternative is to try and use dos2unix to convert the Windows formatted file back into Unix format.

Code:

dos2unix .bash_profile > tmp
mv tmp .bash_profile

or
Code:

cat .bash_profile | tr -d '\r' > .bash_profile


HAHA... i feel kinda stupid... but hey, thanks alot... if u got aim or msn... msg me it cause id love to talk to some dev's :) ... i cant wait, u can expect something good from me soon as long as i dont run into more errors :)
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 11:20 am    Post subject: Reply with quote

new error

Code:

make[8]: *** [compatibility.lo] Error 1
make[8]: *** Waiting for unfinished jobs....
make[8]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/32/libstdc++-v3/src'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/32/libstdc++-v3'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/32/libstdc++-v3'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/libstdc++-v3'
make[4]: *** [all-multi] Error 2
make[4]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/libstdc++-v3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2/ppu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/kevin/ps3toolchain/build/gcc-4.2.0/build-ppu-s
tage2'
make: *** [all] Error 2
../scripts/004-gcc-4.2.0-ppu-stage2.sh: Failed.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Wed Jun 20, 2007 12:51 pm    Post subject: Reply with quote

Quote:
make[8]: *** [compatibility.lo] Error 1

The important part is probably just above that first line you posted.
Back to top
View user's profile Send private message Visit poster's website
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 2:12 pm    Post subject: Reply with quote

Well heres the new problem

Code:


../../binutils/bin2c.c: In function `main':
../../binutils/bin2c.c:89: warning: implicit declaration of function `_fileno'
../../binutils/bin2c.c:89: warning: implicit declaration of function `_setmode'
make[4]: *** [bin2c.exe] Error 1
make[4]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -D_GNU_SOURCE -I. -I../../gas -I../bfd -
I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOC
ALEDIR="\"/usr/local/ps3dev/spu/share/locale\""   -W -Wall -Wstrict-prototypes -
Wmissing-prototypes -Werror -g -O2 -c ../../gas/write.c
gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -D_GNU_SOURCE -I. -I../../gas -I../bfd -
I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOC
ALEDIR="\"/usr/local/ps3dev/spu/share/locale\""   -W -Wall -Wstrict-prototypes -
Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/tc-spu.c
gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -D_GNU_SOURCE -I. -I../../gas -I../bfd -
I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOC
ALEDIR="\"/usr/local/ps3dev/spu/share/locale\""   -W -Wall -Wstrict-prototypes -
Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/obj-elf.c
gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -D_GNU_SOURCE -I. -I../../gas -I../bfd -
I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOC
ALEDIR="\"/usr/local/ps3dev/spu/share/locale\""   -W -Wall -Wstrict-prototypes -
Wmissing-prototypes -Werror -g -O2 -c ../../gas/config/atof-ieee.c
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototy
pes -Werror -g -O2   -o as-new.exe  app.o as.o atof-generic.o cond.o depend.o dw
arf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o flonum-copy.o flonum-konst.o flonum
-mult.o frags.o hash.o input-file.o input-scrub.o listing.o literal.o macro.o me
ssages.o output-file.o read.o sb.o stabs.o subsegs.o symbols.o write.o tc-spu.o
obj-elf.o atof-ieee.o  ../opcodes/libopcodes.la ../bfd/libbfd.la ../libiberty/li
biberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o as-new.e
xe app.o as.o atof-generic.o cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o eho
pt.o expr.o flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file
.o input-scrub.o listing.o literal.o macro.o messages.o output-file.o read.o sb.
o stabs.o subsegs.o symbols.o write.o tc-spu.o obj-elf.o atof-ieee.o  ../opcodes
/.libs/libopcodes.a ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
make[4]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu/gas'
make[3]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu/gas'
make[2]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu/gas'
make[1]: Leaving directory `/home/kevin/ps3toolchain/build/binutils-2.17.50/buil
d-spu'
make: *** [all] Error 2
../scripts/005-binutils-2.17.50-spu.sh: Failed.

Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Jun 20, 2007 2:34 pm    Post subject: Reply with quote

That error and its solution were already discussed in an earlier post in this thread.
Back to top
View user's profile Send private message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Wed Jun 20, 2007 2:35 pm    Post subject: Reply with quote

I fixed it:):):) you get this error when you dont have cygwin1.dll in windows/system32 , so copy usr/bin/cygwin1.dll to the system32 folder



check-cygwin1.sh

Code:
#!/bin/sh
# check-cygwin1.sh by Roel (zottebelg@gmail.com)

 ## Check for cygwin1.dll
 ls -l C:/windows/system32/cygwin1.dll 1> /dev/null || { echo "ERROR: Copy usr/bin/Cygwin1.dll before continuing."; exit 1; }


Dunno how to do it with other drives:p


Last edited by hallo007 on Wed Jun 20, 2007 2:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 2:37 pm    Post subject: Reply with quote

Quote:

had the same thing, what I did was to copy the compileline and then just remove -Werror and run it again and it builds fine.


explain in english plz.... little confused
Back to top
View user's profile Send private message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Wed Jun 20, 2007 2:38 pm    Post subject: Reply with quote

kid101skater wrote:
Quote:

had the same thing, what I did was to copy the compileline and then just remove -Werror and run it again and it builds fine.


explain in english plz.... little confused

check my post above , it will fix it
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 2:40 pm    Post subject: Reply with quote

ok...
lol i bet thats it... im doing it on my new amd 3800+ dual core
gosh, i didnt do the cygwin1.dll before too for the psp one on this comp :(


let me try dat
Back to top
View user's profile Send private message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Wed Jun 20, 2007 2:44 pm    Post subject: Reply with quote

i found it by running manuel the bin2C.exe wich gave the error and windows said it couldnt find cygwin1.dll and I remember i had to copied in the past too to that folder , when it was copied , it dindt gave the error any more


add this in your ps3toolchain/depends

http://hallo007.e-vizion.com/check-cygwin1.sh
Back to top
View user's profile Send private message
kid101skater



Joined: 20 Jun 2007
Posts: 26

PostPosted: Wed Jun 20, 2007 3:34 pm    Post subject: Reply with quote

ok...

have u got cygwin to fully compile the toolchain?
Back to top
View user's profile Send private message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Wed Jun 20, 2007 9:18 pm    Post subject: Reply with quote

This technic work


-copy the compille line of bin2c
-delete -werror
-paste it
-run the scripts in ps3toolchain/scripts , one by one
Back to top
View user's profile Send private message
hallo007



Joined: 13 May 2006
Posts: 36

PostPosted: Thu Jun 21, 2007 12:30 am    Post subject: Reply with quote

AARAGH

Code:
checking for suffix of object files... configure: error: cannot compute suffix o
f object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/Leen/ps3toolchain/scripts/gcc-4.3-20070608/bui
ld-spu-stage1'
make: *** [all] Error 2


:( , tommorow have i a week free , i hope to install it soon
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS3 Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 2 of 6

 
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