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 

toolchain error or cygwin screw-up?!

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
cools



Joined: 04 Mar 2006
Posts: 46

PostPosted: Thu Jun 21, 2007 2:55 pm    Post subject: toolchain error or cygwin screw-up?! Reply with quote

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
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Jun 21, 2007 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
cools



Joined: 04 Mar 2006
Posts: 46

PostPosted: Sat Jun 23, 2007 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message
jsharrad



Joined: 20 Oct 2005
Posts: 102

PostPosted: Sat Jun 23, 2007 3:15 pm    Post subject: Reply with quote

Lots of those programs go in pspdev/psp/bin, like freetype-config and sdl-config. Just add it to your path.
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 -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
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