My configuration:
cygwin
latest toolchain SDK / SDL / SDL_image / libTremor / libjpeg / libpng / zlib from svn (rev 1835)
PSPLINK (running elf file from host0:/)
Flags:
Code: Select all
CFLAGS='-I/usr/local/pspdev/psp/sdk/include -I/usr/local/pspdev/psp/include/SDL -O -W -Wall -Dmain=SDL_main -DDEBUG -DGFXMODULE_SDL -DSOUNDMODULE_SDL -DOVCODEC_TREMOR -DHAVE_ZIP=1 -I "."'
LDFLAGS='-L/usr/local/pspdev/psp/sdk/lib -L/usr/local/pspdev/psp/lib -lSDL_image -lSDLmain -lSDL -lpspsdk -lpspdebug -lc -lpspuser -lm -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpsprtc -lpspaudio -lpsputility -lpspkernel -ljpeg -lpng -lvorbisidec -lz'
SDL_Video = SDL_SetVideoMode (640, 480, 0, 0);
Crash Image Dump: http://www.sharkus.com/gallery2/main.ph ... itemId=769
What is strange is that I compiled the SDL test applications and this exact call is made (and it works).
Here's the output of psp-addr2line:
Code: Select all
$ psp-addr2line.exe -e ./uqm-debug.elf -f -C 0x8031804 0x0 0x8a3c65c
??
??:0
??
??:0
sceGuInit
/tmp/pspdev/pspsdk/src/gu/sceGuInit.c:67