| View previous topic :: View next topic |
| Author |
Message |
millionhere
Joined: 19 Sep 2005 Posts: 5
|
Posted: Wed Sep 21, 2005 1:20 am Post subject: o! a error! |
|
|
i'm a newbie and my English is so poor too! hehe
it shows this:
checking whether ln works... yes
checking whether ln -s works... yes
-v: not found
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ERROR CONFIGURING BINUTILS (binutils-2.16 psp)
XXX@XXXX ~
$
What should i do?! HELP ME!!! |
|
| Back to top |
|
 |
Ratty
Joined: 18 Sep 2005 Posts: 18
|
Posted: Wed Sep 21, 2005 1:26 am Post subject: |
|
|
| You don't have GCC installed, which is your C compiler. If you're using cygwin select it from the devel list during installation. If you're using linux, then your distro is nuts. |
|
| Back to top |
|
 |
millionhere
Joined: 19 Sep 2005 Posts: 5
|
Posted: Wed Sep 21, 2005 1:40 pm Post subject: At last,finished the setup,but another problem...... |
|
|
Thanks a lot,i do forgot to select the gcc & binutils
of cause i use the winXP
when i compile my first program--certainly "Helloworld"--
it shows :
$ make
make: psp-config: Command not found
Makefile:16: /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop.
then i go to find the"psp-config"&"build.mak" in cygwin\usr\local\pspdev\bin\
of cause i can't find them but there are about 20 other exe-files just like "psp-addr2line.exe" "psp-g++.exe"......
Why? Didn't I install the psptoolchain correctly? |
|
| Back to top |
|
 |
Ratty
Joined: 18 Sep 2005 Posts: 18
|
|
| Back to top |
|
 |
millionhere
Joined: 19 Sep 2005 Posts: 5
|
Posted: Thu Sep 22, 2005 11:18 pm Post subject: Maybe my toolchain is too old. |
|
|
Thank you......
I'm trying the newest toochain--psptoolchain-20050906
Wish all would be OK... |
|
| Back to top |
|
 |
millionhere
Joined: 19 Sep 2005 Posts: 5
|
Posted: Fri Sep 23, 2005 2:22 am Post subject: OK! It works! |
|
|
After about 2 hours's crack of my harddisk,I install the toolchains again(of cause it's the newest version),then i input "make" it works! So Great!
THANK YOU VERY MUCH!
I'm sure that on my way ahead there are also many questions...... |
|
| Back to top |
|
 |
jason867
Joined: 24 Jul 2005 Posts: 78
|
Posted: Thu Sep 29, 2005 3:22 pm Post subject: |
|
|
I've finally gotten around to updating to the latest toolchain and updating the installation, and I got a few questions.
I downloaded the psptoolchain version 20050906 and unziped the psptoolchain folder into the cygwin\home\owner\ directory
Now, I haven't updated anything in quite a while. Do I need to re-run the entirety of the toolchain script? Or do I just need to type ./toolchain.sh -p and only update the pspsdk part?
Thanks for your help... _________________ Ask not for whom the bell tolls, it tolls for thee, besides, I'm playing my PSP, tee hee!
------------------------------------------------------
Visit my website for my PSP Homebrew! |
|
| Back to top |
|
 |
dankydoo
Joined: 29 Mar 2005 Posts: 11
|
Posted: Thu Oct 06, 2005 9:34 am Post subject: |
|
|
Hey all, I've followed the wiki step by step, and everytime I run the toolchain script it bombs at exactly the same place telling me | Code: | | 'Invalid Configuration' 'psp' machine 'psp' not recognized |
I've searched the forum, and one other person seemed to of had it, but they edited their posted saying they figured it out without their resolution....
thanks for any help,
dankydoo |
|
| Back to top |
|
 |
psveind
Joined: 05 Oct 2005 Posts: 1
|
Posted: Thu Oct 06, 2005 5:03 pm Post subject: |
|
|
Hi,
I failed to compile the psptoolchain script..
I followed all the steps in the tutorial, and installed at the packages required by cygwin.
Yesterday, I downloaded the latest version of psptoolchain, and tried it again, but still failed.
Is there any way to solve this problem?
Thanks! |
|
| Back to top |
|
 |
foobie
Joined: 17 Oct 2005 Posts: 3
|
Posted: Mon Oct 17, 2005 11:59 pm Post subject: |
|
|
Another random error. Happened on both redhat 7.3 and FC3, pretty minimal installs. I can supply kickstart config if required :-)
| Code: | if psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../sdk/base -I../../sdk/user -g -O2 -G0 -Wall -MT pspaudiolib.o -MD -MP -MF ".deps/pspaudiolib.Tpo" -c -o pspaudiolib.o pspaudiolib.c; \
then mv -f ".deps/pspaudiolib.Tpo" ".deps/pspaudiolib.Po"; else rm -f ".deps/pspaudiolib.Tpo"; exit 1; fi
pspaudiolib.c:14:20: error: stdlib.h: No such file or directory
pspaudiolib.c:15:20: error: string.h: No such file or directory
pspaudiolib.c: In function âpspAudioInitâ:
pspaudiolib.c:117: warning: implicit declaration of function âstrcpyâ
pspaudiolib.c:117: warning: incompatible implicit declaration of built-in function âstrcpyâ
gmake[3]: *** [pspaudiolib.o] Error 1
gmake[3]: Leaving directory `/tmp/pspdev/pspsdk/sdk/audio' |
|
|
| Back to top |
|
 |
foobie
Joined: 17 Oct 2005 Posts: 3
|
Posted: Tue Oct 18, 2005 12:07 am Post subject: |
|
|
OK. Bizarre.
Fixed it by running ./toolchain.sh -n to re-download and install newlibs.
Thx anyway :-) |
|
| Back to top |
|
 |
foobie
Joined: 17 Oct 2005 Posts: 3
|
Posted: Tue Oct 18, 2005 11:29 pm Post subject: |
|
|
OK, additional packages I had to install to a minimal FC3 box:
subversion
flex
gcc
gcc-c++
cpp
libstdc++-devel
glibc-devel
glibc-headers
glibc-kernheaders
texinfo
bison
which
autoconf
automake
doxygen
libtool
libtool-libs
ncurses
ncurses-devel
Hope this helps anyone else installing this :-) |
|
| Back to top |
|
 |
seventoes
Joined: 02 Oct 2005 Posts: 79
|
Posted: Sat Oct 29, 2005 3:22 pm Post subject: |
|
|
Im having trouble upgrading to the newest 20051023 toolchain, but i just get this:
How can i fix this? I tried chmodding the configure file, but it didnt help. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Oct 29, 2005 3:41 pm Post subject: |
|
|
| Install automake and autoconf. |
|
| Back to top |
|
 |
seventoes
Joined: 02 Oct 2005 Posts: 79
|
Posted: Sun Oct 30, 2005 5:03 am Post subject: |
|
|
I have to install them again?? I thought i already had them from installing cygwin the first time?
How do i install them again without uninstalling cygwin? |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sun Oct 30, 2005 9:28 am Post subject: |
|
|
Those parts about the 'command not found' mean it isn't installed. What you think is irrelevant.
I do not use cygwin personally, but I've installed it several times to see if the toolchain script works - which it does without fail. However, I am amazed at how something that is VERY simple to install is INVARIABLY the main problem people have getting into pspdev. Its not like there's several versions of windows out there like you'd find with linux. Its not because of some inconsistency in included packages causing an error. You're running windows, you install cygwin, you run the toolchain script. Simple! I really can't understand how his is a problem for people. There's even prebuilt packages available!
Please, SEARCH THE FORUMS to find out the solution to your problem. This one in particular has been answered several times. Then LOOK AT THE WIKI ( http://wiki.pspdev.org/psp:programming_faq ) to see STEP BY STEP instructions. If that fails, utilize those very skills you'll need for programming to SEARCH GOOGLE and FIGURE IT OUT.
Good lord people. Stop sucking at the teat of laziness and THINK for once! |
|
| Back to top |
|
 |
seventoes
Joined: 02 Oct 2005 Posts: 79
|
Posted: Sun Oct 30, 2005 10:11 am Post subject: |
|
|
I already have cygwin installed, and i already installed automake and autoconf. I have installed PSPSDK with your toolchain already, i am just trying to update PSPSDK to the newest version, the one with the wifi stubs. I need to know how to reinstall automake and autoconf without reinstalling cygwin, since i am on dialup and it takes forever to download all of the packages.
Last edited by seventoes on Sun Oct 30, 2005 10:25 am; edited 3 times in total |
|
| Back to top |
|
 |
Skye
Joined: 17 May 2005 Posts: 19
|
Posted: Sun Oct 30, 2005 10:12 am Post subject: |
|
|
Haha, ooPo. It is a very nice tool. Thank you for all the support you give on it!!
And dont blame the people. I personally feel that cygwins install process is very confusing. I just kept click the + stuff Until it said all. And just installed the full package. |
|
| Back to top |
|
 |
millionhere
Joined: 19 Sep 2005 Posts: 5
|
Posted: Sat Nov 12, 2005 5:22 pm Post subject: |
|
|
Now a new problem , when i upgrade to 20051023 it shows :
./toolchian.sh: line 273: cd: pspsdk: No such file or directory
./toolchian.sh: line 276: ./bootstrap: No such file or directory
ERROR RUNNING PSPSDK BOOTSTRAP
Where is the directory "pspsdk"? |
|
| Back to top |
|
 |
w.kosma
Joined: 28 Oct 2005 Posts: 19
|
Posted: Tue Nov 15, 2005 3:15 am Post subject: toolchain on os x.3.9 |
|
|
hello,
i`m trying to update pspsdk with psptoolchain,
i had previously installed pspsdk with precompiled binaries
from
http://www.capsgetpeeled.com/blog/archives/000480.html
i get these errors, i installed newest autoconf,
but nothing changed.
any ideas?
best,
wojciech
****
configure.ac:4: error: Autoconf version 2.59 or higher is required
configure.ac:4: the top level
autom4te: /usr/bin/gm4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1
configure.ac:7: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
./aminclude.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
./aminclude.am:41: DX_COND_html does not appear in AM_CONDITIONAL
./aminclude.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
./aminclude.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
./aminclude.am:67: DX_COND_man does not appear in AM_CONDITIONAL
./aminclude.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
./aminclude.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
./aminclude.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
./aminclude.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
sdk/audio/Makefile.am: installing `./depcomp'
./aminclude.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
./aminclude.am:41: DX_COND_html does not appear in AM_CONDITIONAL
./aminclude.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
./aminclude.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
./aminclude.am:67: DX_COND_man does not appear in AM_CONDITIONAL
./aminclude.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
./aminclude.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
./aminclude.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
./aminclude.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
configure.ac:4: error: Autoconf version 2.59 or higher is required
configure.ac:4: the top level
autom4te: /usr/bin/gm4 failed with exit status: 1
cat: configure: No such file or directory
./toolchain.sh: line 305: ./configure: Permission denied
ERROR RUNNING PSPSDK CONFIGURE |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Tue Nov 15, 2005 6:26 am Post subject: |
|
|
| Try "autoconf --version" and figure out why the latest you installed (if it is above 2.59) isn't found on your PATH. |
|
| Back to top |
|
 |
w.kosma
Joined: 28 Oct 2005 Posts: 19
|
Posted: Tue Nov 15, 2005 10:55 pm Post subject: |
|
|
thanks mrbrown,
i made step further,
but some new errors appear
test -z "" || rm -f
cd . && /bin/sh /tmp/pspdev/pspsdk/missing --run autoheader
Can't locate object method "path" via package "Autom4te::Request" at /usr/bin/autom4te line 81.
autoheader: /usr/bin/autom4te failed with exit status: 1
make: *** [config.h.in] Error 1
ERROR BUILDING PSPSDK
sorry for bothering again,
but any ideas with it?
best,
wojciech |
|
| Back to top |
|
 |
munkers
Joined: 16 Nov 2005 Posts: 2
|
Posted: Wed Nov 16, 2005 12:10 pm Post subject: |
|
|
'configure: creating ./config.status'
I've been stuck on this step for 1hr, how long is it supposed to take or is it frozen? Im going to wait another hour but if it hasnt changed by then I will restart the script I guess.. |
|
| Back to top |
|
 |
songjing
Joined: 18 Nov 2005 Posts: 2 Location: Singapore
|
Posted: Fri Nov 18, 2005 2:44 am Post subject: W32 PSPtoolchain |
|
|
| Any W32 PSPtoolchain? |
|
| Back to top |
|
 |
seventoes
Joined: 02 Oct 2005 Posts: 79
|
Posted: Thu Dec 29, 2005 12:31 pm Post subject: |
|
|
| Well i keep trying to update, but it keeps saying automake is not installed, even though i have reinstalled it MANY times. I dont understand why... Is there an automake file i could download and put into my bin folder? |
|
| Back to top |
|
 |
orphan frequently
Joined: 11 Aug 2005 Posts: 9
|
Posted: Mon Jan 09, 2006 1:54 am Post subject: |
|
|
r declaration, which is probably not what you want
../../src/net/pspnet_resolver.h:76: warning: 'struct in_addr' declared inside pa
rameter list
make[3]: *** [inethelper.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/sdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk'
make: *** [all] Error 2
ERROR BUILDING PSPSDK
and yes Ive reinstalled make. Any suggestions? _________________ Mike3285: wtf is a palindrome
MaroonSand: no its not dude |
|
| Back to top |
|
 |
tachyon
Joined: 18 Jan 2006 Posts: 4
|
Posted: Wed Jan 18, 2006 3:09 am Post subject: |
|
|
I'm also having problems with the PSPSDK. Here is what I did:
Downloaded the psptoolchain from oopo's site
Ran svn update (to update everything to revision 1710?)
./psptoolchain
Goes well until...
/cygdrive/c/DOCUME~1/Sim/LOCALS~1/Temp/ccf7ASwD.s: Assembler messages:
/cygdrive/c/DOCUME~1/Sim/LOCALS~1/Temp/ccf7ASwD.s:25: Error: illegal operands `v
midt.q M300'
make[3]: *** [sceGumLoadIdentity_vfpu.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/gum'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk'
make: *** [all] Error 2
ERROR BUILDING PSPSDK
This looks like something to do with cygwin but I don't know what...any suggestions? Thanks. |
|
| Back to top |
|
 |
619619
Joined: 30 Jun 2005 Posts: 9 Location: Italy
|
Posted: Thu Jan 19, 2006 6:56 am Post subject: Error |
|
|
Same here:
Reinstalled Cygwin and the toolchain script 2 times (also tried ./toolchain.sh -n) |
|
| Back to top |
|
 |
chp
Joined: 23 Jun 2004 Posts: 313
|
Posted: Thu Jan 19, 2006 7:10 am Post subject: |
|
|
Read this for solving those issues. They remain until oopo decides he wants to update the script on his homepage. _________________ GE Dominator |
|
| Back to top |
|
 |
tachyon
Joined: 18 Jan 2006 Posts: 4
|
Posted: Fri Jan 20, 2006 3:54 am Post subject: |
|
|
| Ok but even if you run 'svn update' before running toolchain it still stops at that point. Am I missing something or doesn't that command get the latest version of binutils? |
|
| Back to top |
|
 |
|