| View previous topic :: View next topic |
| Author |
Message |
cools
Joined: 04 Mar 2006 Posts: 46
|
Posted: Thu Jun 21, 2007 2:55 pm Post subject: toolchain error or cygwin screw-up?! |
|
|
Well I'm on a new computer running vista, just installed cygwin + psptoolchain. The thing is whenever I try to compile anything I get the error, "/lib/libc.a: could not read symbols: file format not recognized". I then did a quick search for the file libc.a and found out there were 2 of them, one "/lib/libc.a" and the other "/usr/local/pspdev/psp/lib/libc.a". They had very different file sizes and I am pretty sure the one in pspdev/psp/etc was needed to compile. I then tried to copy the one in pspdev/psp/etc to /usr/ but I just ended up with even more compiling errors and figured it was wrong...
Any help is appreciated. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Jun 21, 2007 5:19 pm Post subject: |
|
|
| Make sure $PSPDEV is actually set. If it isn't, whenever you try to access $PSPDEV/lib/libc.a the blank $PSPDEV will mean it is looking at /lib/libc.a. |
|
| Back to top |
|
 |
cools
Joined: 04 Mar 2006 Posts: 46
|
Posted: Sat Jun 23, 2007 11:41 am Post subject: |
|
|
I didn't have that set correctly. (after I did, alot of things started compiling again!). Also freetype-config (file) seems to install in the wrong place (might just be my fault again...), I did get it in the correct. it puts the freetype-config file in /pspdev/psp/bin, when it should be in /pspdev/bin. (or it might be vice-versa, seeing I have it in both)
So Thanks! |
|
| Back to top |
|
 |
jsharrad
Joined: 20 Oct 2005 Posts: 102
|
Posted: Sat Jun 23, 2007 3:15 pm Post subject: |
|
|
| Lots of those programs go in pspdev/psp/bin, like freetype-config and sdl-config. Just add it to your path. |
|
| Back to top |
|
 |
|