| View previous topic :: View next topic |
| Author |
Message |
RetroGamer
Joined: 07 Nov 2006 Posts: 11
|
Posted: Tue Nov 07, 2006 1:33 pm Post subject: PSPSDK ERRORS!!!!! |
|
|
Hi all! I have been using the PSPSDK with CYGWIN for a while now. I had some trouble with it in the past, so I deleted CYGWIN along with the PSPSDK so I could reinstall it. The PSPSDK has some problems in it though. Whenever I build a project, it looks for the build.mak file to build the EBOOT from the elf file under C:\pspdev\bin. That was where I had xorloser's PSPDEV for Windows installed as well (I had them both on my computer at the same time). I deleted that, and reinstalled CYGWIN from scratch. After reinstalling CYGWIN and installing the PSPSDK to CYGWIN, I got this many errors like this when building the gcc end of the PSPSDK:
16 [main] ? (2496) c:\pspdev\bin\psp-ranlib.exe: *** fatal error - proc magic mismatch detected - 0x704D1F7E/0xC87757A7.
This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive where you have installed the cygwin distribution. Rebooting is also a suggestion if you are unable to find the another cygwin DLL.
There are more error messages exactly like the one above with the exception that the psp-ranlib.exe is replaced by a different executable, the (2496) is a different number, and the hex string is a different value. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Nov 07, 2006 4:12 pm Post subject: |
|
|
Did you try:
This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive where you have installed the cygwin distribution. Rebooting is also a suggestion if you are unable to find the another cygwin DLL. |
|
| Back to top |
|
 |
RetroGamer
Joined: 07 Nov 2006 Posts: 11
|
Posted: Tue Nov 07, 2006 6:29 pm Post subject: |
|
|
| I did try that, and it fixed that problem, but then it now says 'bash: /bin/find: No such file of directory'. I know it is needed to update the toolchain script because whenever I use the './toochain.sh -p' command, it says that the 'find' cannot be found resulting in a faliure to build the PSPSDK. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Nov 08, 2006 2:30 am Post subject: |
|
|
| Install find |
|
| Back to top |
|
 |
RetroGamer
Joined: 07 Nov 2006 Posts: 11
|
Posted: Wed Nov 08, 2006 4:32 am Post subject: |
|
|
| How do I install find? |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Nov 08, 2006 4:41 am Post subject: |
|
|
| Run the cygwin installer and select the "findutils" package |
|
| Back to top |
|
 |
RetroGamer
Joined: 07 Nov 2006 Posts: 11
|
Posted: Wed Nov 08, 2006 9:33 am Post subject: |
|
|
I compiled the PSPSDK and I got this error now:
"
make[1]: Leaving directory '/tmp/pspdev/pspsdk'
cd . && /bin/sh /tmp/pspdev/pspsdk/missing --run autoheader
autoheader-2.60: cannot remove /tmp/ahNhI964: Directory not empty
make: *** [config.h.in] Error 1
ERROR BUILDING PSPSDK
"
Then I tried to build a simply PSP App and this error message came out:
"
make: psp-config: Command not found
Makefile:12: /lib/build.mak: No such file or directory
make: *** No rule to make target '/lib/build.mak'. Stop.
" |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Nov 08, 2006 10:46 am Post subject: |
|
|
| Sounds like your cygwin is still not quite set up right... not sure exactly how to fix it, but maybe it would help to start clean and try following one of the guides out there. |
|
| Back to top |
|
 |
RetroGamer
Joined: 07 Nov 2006 Posts: 11
|
Posted: Wed Nov 08, 2006 12:15 pm Post subject: |
|
|
Thank you for the help. I found the problem, I had a bunch of old cygwin1.dll's installed on my computer along with accompaning programs that need it. I deleted them and added the newest version of cygwin1.dll to the directories. It works for now. I did have more problems with the PSPSDK installation not working, then I deleted the pspdev folder under C:\cygwin/usr/local and installed xorloser's pre-compiled PSPSDK, and it worked! I built a demo project, it compiled correctly, installed LTE Studios' 3D Game Engine v2.0e and compiled the examples flawlessly as well under cygwin! The only problem is that when I tried to patch cygwin to run under Visual Studio. I have gotten it to work before (I had the PSPSDK and cygwin installed and working great previously until something got messed up I had to reinstall everything), but I won't work now. When I followed Ramsus's example for patching Visual Studio, I got this message:
"
/bin/bash: line 0: cd: /cygdrive/c/Program: No such file or directory
make: psp-config: Command not found
Makefile:12: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
"
I am not sure what the problem is. I followed the instructions perfectly like the first time when I got it to work. |
|
| Back to top |
|
 |
|