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 

Problem : compilation of screenshot from libpng

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



Joined: 15 Sep 2005
Posts: 11

PostPosted: Sun Sep 25, 2005 9:49 pm    Post subject: Problem : compilation of screenshot from libpng Reply with quote

When I try to compile the sample "screenshot" from libpng, I have this error :
Quote:

psp-gcc -I. -IC:\PSPide\/psp/sdk/include -O2 -G0 -Wall -fno-strict-aliasing -L.
-LC:\PSPide\/psp/sdk/lib main.o -lpng -lz -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspglue -lpspuser -lpspkernel -o screenshot.elf
C:\PSPide\/psp/sdk/lib/libpspglue.a(_open.o): In function __psp_init_cwd':
/cygdrive/c/cygwin/usr/local/pspdev/pspsdk/sdk/libc/libcglue.c:52: undefined reference to `strrchr' collect2: ld returned 1 exit status
make: *** [screenshot.elf] Error 1


I think the problem is in libcglue but how solve it ?
Back to top
View user's profile Send private message MSN Messenger
Shine



Joined: 03 Dec 2004
Posts: 728
Location: Germany

PostPosted: Sun Sep 25, 2005 11:10 pm    Post subject: Re: Problem : compilation of screenshot from libpng Reply with quote

You should update your toolchain, it works for me with the latest toolchain from SVN.
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