Code: Select all
Linking...
../Fuji/Lib/libFuji_Debug_PSP.a(System_PSP.o): In function `loaderInit()':
System_PSP.cpp:(.text+0x60): undefined reference to `pspSdkInstallNoDeviceCheckPatch'
collect2: ld returned 1 exit status
heres my command line.. (not working)
psp-gcc.exe $(IntDir)/*.o ../Fuji/Lib/libFuji_$(ConfigurationName).a -LC:\cygwin\usr\local\pspdev\psp\sdk\lib -o$(TargetName).elf -lpspkernel -lpspgu -lpspusb -lpspusbstor -lstdc++ -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lc -lpspglue -lc -lpspuser
I am definately linking pspkernel, and the sample ap builds fine.. (using the pspsdk sampel ap makefile)
On an unrelated note (or maybe related, who knows) I'm getting some strange linking problems related to the order i specify libs on the command line..
I noticed this a while back, and i couldnt figure out any logic to it.. So when i had link errors, i just rearranged the order of my -l's on the command line until it links without errors...
This is just weird... Can anyone enlighten me about this weird link order logic that GCC seems to have issues with?