Code: Select all
C:/pspsdk/psp/sdk/lib\libpspsdk.a(loadmodule.o): In function `pspSdkLoadStartMod
uleWithArgs':
: undefined reference to `snprintf'
collect2: ld returned 1 exit status
make: *** [piKeyChatPad.elf] Error 1
Code: Select all
USE_KERNEL_LIBS = 0
USE_KERNEL_LIBC = 0Code: Select all
int main_thread(SceSize args, void *argp) 
{
	int ch;
	
	sceKernelDelayThread(1000000);
	// get current directory
	char modName[256];
	getcwd(modName,240);
	strcat(modName,"/sioDriver.prx");
	// load siodriver
	SceUID mod = pspSdkLoadStartModule(modName, PSP_MEMORY_PARTITION_KERNEL);   // here execution stops, PSP freezes
	
    	if (mod < 0)
	{
		sceKernelDelayThread(3000000);
		sceKernelExitGame();
	}
	.
	.
	.
}Some hints? Someone who already faced the problem? Seems like that pointed here http://forums.ps2dev.org/viewtopic.php?t=10467

