/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_EventQuit':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:274: undefined reference to `pspIrKeybFinish'
/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_EventInit':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:247: undefined reference to `pspIrKeybInit'
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:249: undefined reference to `pspIrKeybOutputMode'
/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_PumpEvents':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:112: undefined reference to `pspIrKeybReadinput'
collect2: ld returned 1 exit status
make: *** [HelloWorld.elf] Error 1
Also, I'm getting "undefined reference to 'sysconf'", which I understand is in unistd.h, but when I #include it in my app, it still throws me the error.
/usr/local/pspdev/lib/gcc/psp/4.3.1/../../../../psp/lib/libSDL.a(SDL_pspevents.o): In function `PSP_EventQuit':
/root/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:274: undefined reference to `pspIrKeybFinish'
You need -lpspirkeyb
Also, I'm getting "undefined reference to 'sysconf'", which I understand is in unistd.h, but when I #include it in my app, it still throws me the error.
The library pspirkeyb is in the repo, but it's pretty out of date. I posted a much newer version in a thread here, and there's an even newer version in the new version of pikey that is coming soon.
Since Harald can no longer be contacted, I'll update the lib for now.
This version has key repeats (adjusted in the "PSPIRKeyB.ini"), new drivers and software to code new drivers. A tutorial on how to do this will be next. (Maybe even software to write each key value in a file???)
Last edited by angelo on Fri Nov 07, 2008 3:34 am, edited 1 time in total.