Problem : compilation of screenshot from libpng

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
StouffR
Posts: 11
Joined: Thu Sep 15, 2005 11:43 pm

Problem : compilation of screenshot from libpng

Post by StouffR »

When I try to compile the sample "screenshot" from libpng, I have this error :
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 ?
Shine
Posts: 728
Joined: Fri Dec 03, 2004 12:10 pm
Location: Germany

Re: Problem : compilation of screenshot from libpng

Post by Shine »

You should update your toolchain, it works for me with the latest toolchain from SVN.
Post Reply