| View previous topic :: View next topic |
| Author |
Message |
StouffR
Joined: 15 Sep 2005 Posts: 11
|
Posted: Sun Sep 25, 2005 9:49 pm Post subject: Problem : compilation of screenshot from libpng |
|
|
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 |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Sun Sep 25, 2005 11:10 pm Post subject: Re: Problem : compilation of screenshot from libpng |
|
|
| You should update your toolchain, it works for me with the latest toolchain from SVN. |
|
| Back to top |
|
 |
|