Is anyone else getting an error with the latest toolchain release related to missing netinet/in.h during the pspsdk phase of a toolchain installation? I realize it's there.. just not in the path. The sys/socket.h is also not being found with a default installation with some of the samples (net/simple_prx).
I have reinstalled my entire cygwin and toolchain more than once now this weekend trying to get past the problem (blew away all the directories and reran cygwin and ./toolchain.sh). I have bypassed the issue temporarily during install by moving some files... but this breaks later program compilations.
If this is working for someone else.. please give me your PSPSDK setting and anything else I could use. I am following the installation instructions word-for-word trying to "FOR ONCE" get a clean install. I've been writing/compiling my own program for a while now but I can't get the latest to work.. please HELP!
Thanks,
David Beyer
toolchain error, latest release. 20060110
-
- Posts: 7
- Joined: Wed Jan 18, 2006 4:25 am
Install
Hi,
I am trying to install this toolchain version and have also compiling errors.
I am going to try previous releases of toolchain to see what exactly happen.
I am trying to install this toolchain version and have also compiling errors.
I am going to try previous releases of toolchain to see what exactly happen.
LwRed
-
- Posts: 81
- Joined: Mon Dec 19, 2005 4:09 pm
i try to install all again. And i got a problem with PSPSDK.
See:
and when i try to compile any sample. I got a error in "/lib/build.mak"...
What can i do?
I DELETE the Cygwin directory. And i follow this tutorial http://wiki.pspdev.org/psp:programming_faq and i got the same problems...
See:
and when i try to compile any sample. I got a error in "/lib/build.mak"...
What can i do?
I DELETE the Cygwin directory. And i follow this tutorial http://wiki.pspdev.org/psp:programming_faq and i got the same problems...
-
- Posts: 81
- Joined: Mon Dec 19, 2005 4:09 pm
Google "psp lesson #1" and follow that tutorial. It will probably be easier to follow (it is what I used to reinstall and it worked). It doesn't mention grabbing "subversion" which is required. Make sure if you have set any global environment variables in the past you get rid of them too. you can type "ENV" and make sure there's nothing PSP specific. I think this is where part of my problem was.ShUr1k3n wrote:i try to install all again. And i got a problem with PSPSDK.
See:
and when i try to compile any sample. I got a error in "/lib/build.mak"...
What can i do?
I DELETE the Cygwin directory. And i follow this tutorial http://wiki.pspdev.org/psp:programming_faq and i got the same problems...
Grab the psptoolchain file from http://www.oopo.net/consoledev/
It's the file at the bottom.
David Beyer
I Already try to follow THIS Tutorial (LESSON 1)... And the problem continue... I do the "ENV" and i dont have any "global environment variables" about the PSP...
What can i do to put this in to work?
How can i make a "FULL CLEAN SYSTEM" (just clean the cygwin, psptoolchain, pspsdk...etc)? (I dont know if this is possible).
Regards,
ShUr1k3n.
What can i do to put this in to work?
How can i make a "FULL CLEAN SYSTEM" (just clean the cygwin, psptoolchain, pspsdk...etc)? (I dont know if this is possible).
Regards,
ShUr1k3n.
-
- Posts: 81
- Joined: Mon Dec 19, 2005 4:09 pm
If you delete the cygwin directory totally as well as any old pspdev (pspsdk) directories from another installation you have installed and follow the tutorial using the toolchain file from oopo's web site (previous message of mine) it should work without a problem.ShUr1k3n wrote:I Already try to follow THIS Tutorial (LESSON 1)... And the problem continue... I do the "ENV" and i dont have any "global environment variables" about the PSP...
What can i do to put this in to work?
How can i make a "FULL CLEAN SYSTEM" (just clean the cygwin, psptoolchain, pspsdk...etc)? (I dont know if this is possible).
Regards,
ShUr1k3n.
In short, you should:
1. remove all instances of cygwin and pspsdk/pspdev
2. make sure you don't have any old global environment variables defined (I like to set them to make it easier for me).
3. run the cygwin installation
4. run the cygwin.bat file so it sets up the environment after downloading is completed.
5. unpack the files from the toolchain (http://www.oopo.net/consoledev/files/ps ... 060110.tgz) to \cygwin\home\<username>
6. run cygwin and change directories as the tutorial tells you to
7. enter ./toolchain.sh
./toolchain.sh will download and install all the files it needs (binaries, gcc, newlib and pspsdk). It takes a long time (hours).
##
The errors you are describing are either likely caused by a corrupted file download or the path information isn't correct. A fresh/new installation with the above steps and the files I indicated worked for me.
Hope this helps. Hang in there -- I know it's frustrating. I had to get rid of EVERYTHING (all those directories) to get it to work. It seems that everything must be about exactly right for it to work.
Here's another installation page:
http://wiki.pspdev.org/psp:toolchain
The list of files they have are 100% accurate except they don't mention "subversion" which doesn't always come down automatically so make sure it's downloaded too.
David Beyer