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 

various psp libraries fixed

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



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Oct 21, 2009 5:02 pm    Post subject: various psp libraries fixed Reply with quote

I've fixed a number of build bugs in psp libraries:
  • a fix for the freetype config.guess error: while old versions of libtoolize create the config.guess file automatically, new versions require the "--install" option. Rather than attempt to detect the libtool version, we'll just put a generated config.guess in svn.
  • a fix for the recent configure script errors relating to fopen, fclose, etc. The old formula of
    Code:
    LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
    ./configure --host psp --prefix=$(psp-config --psp-prefix)
    is technically wrong, and it should be
    Code:
    LDFLAGS="-L$(psp-config --pspsdk-path)/lib" LIBS="-lc -lpspuser" \
    ./configure --host psp --prefix=$(psp-config --psp-prefix)

    I made this change in various README.PSP files and in all psplibraries scripts.
  • a fix for a bug in libogg that's triggered by the above change

I also took the opportunity to clean up the psplibraries and psptoolchains scripts a little bit by using "set -e" once rather than appending " || { exit 1; }" to every line.

The psplibraries script should run on ubuntu 9.10 with no problems now (assuming you've installed the psptoolchain and the prerequisites).
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Thu Oct 22, 2009 6:23 am    Post subject: Reply with quote

Thx to share this.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Chrighton



Joined: 15 Jun 2005
Posts: 58

PostPosted: Thu Oct 22, 2009 10:14 am    Post subject: Reply with quote

Not that I think it matters much, but the host flag as it stands now (and is this way in a number of places in the repository) is

Code:
--host psp

should it not be
Code:
--host=psp

instead?

Thanks for the fixes :)
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Oct 23, 2009 5:42 am    Post subject: Reply with quote

Either one works for configure scripts.
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