I am sorta new but not really to the whole C/C++ Dev thing.
Anyway I have compiled my own C programs using OSLib, under the same settings I'm using now.
This is what I get when I try to compile Super Patrick II:
It is a C++ program, if that matters.psp-gcc -I. -IC:/pspdev/psp/sdk/include -G0 -Wall -O2 -L. -LC:/pspdev/psp/sdk/
lib main.o -losl -lmikmod -lpng -lz -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsp
power -lpspgu -lpspaudiolib -lpspaudio -lm -lpspmpeg -lpspaudiocodec -lpspdebug
-lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apct
l -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o maps.elf
C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `oslLoadSoundFileAT3':
audio/media.c:404: undefined reference to `sceAudiocodecCheckNeedMem'
audio/media.c:377: undefined reference to `sceAudiocodecCheckNeedMem'
C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `osl_mp3Load':
audio/media.c:266: undefined reference to `sceAudiocodecCheckNeedMem'
C:/pspdev/psp/sdk/lib/libosl.a(media.o): In function `initME':
audio/media.c:172: undefined reference to `sceUtilityLoadAvModule'
collect2: ld returned 1 exit status
make: *** [maps.elf] Error 1
Any help would be greatly appreciated.
Thanks for reading this.