C:\pspdev\Projects\Counter>make psp-gcc -I. -IC:/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c main.c: In function 'main': main.c(52) : error: 'sceCtrlData' undeclared (first use in this function) main.c(52) : error: (Each undeclared identifier is reported only once main.c(52) : error: for each function it appears in.) main.c(52) : error: syntax error before 'pad' main.c(56) : error: syntax error before 'while' main.c(51) : warning: unused variable 'i' main.c(50) : warning: unused variable 'counter' main.c: At top level: main.c(58) : error: syntax error before '&' token main.c(58) : warning: type defaults to 'int' in declaration of 'sceCtrlReadbuffe rPositive' main.c(58) : warning: data definition has no type or storage class main.c(71) : warning: type defaults to 'int' in declaration of 'pspDebugScreenCl ear' main.c(71) : error: conflicting types for 'pspDebugScreenClear' C:/pspdev/psp/sdk/include/pspdebug.h(119) : error: previous declaration of 'pspD ebugScreenClear' was here main.c(71) : warning: data definition has no type or storage class main.c(73) : error: syntax error before string constant main.c(73) : warning: type defaults to 'int' in declaration of 'pspDebugScreenPr intf' main.c(73) : error: conflicting types for 'pspDebugScreenPrintf' C:/pspdev/psp/sdk/include/pspdebug.h(49) : error: previous declaration of 'pspDe bugScreenPrintf' was here main.c(73) : warning: data definition has no type or storage class main.c(74) : error: syntax error before string constant main.c(74) : warning: type defaults to 'int' in declaration of 'pspDebugScreenPr intf' main.c(74) : error: conflicting types for 'pspDebugScreenPrintf' C:/pspdev/psp/sdk/include/pspdebug.h(49) : error: previous declaration of 'pspDe bugScreenPrintf' was here main.c(74) : warning: data definition has no type or storage class main.c(76) : error: syntax error before '++' token main.c(84) : warning: type defaults to 'int' in declaration of 'pspDebugScreenCl ear' main.c(84) : error: conflicting types for 'pspDebugScreenClear' C:/pspdev/psp/sdk/include/pspdebug.h(119) : error: previous declaration of 'pspD ebugScreenClear' was here main.c(84) : warning: data definition has no type or storage class main.c(85) : error: syntax error before string constant main.c(85) : warning: type defaults to 'int' in declaration of 'pspDebugScreenPr intf' main.c(85) : error: conflicting types for 'pspDebugScreenPrintf' C:/pspdev/psp/sdk/include/pspdebug.h(49) : error: previous declaration of 'pspDe bugScreenPrintf' was here main.c(85) : warning: data definition has no type or storage class main.c(86) : error: syntax error before string constant main.c(86) : warning: type defaults to 'int' in declaration of 'pspDebugScreenPr intf' main.c(86) : error: conflicting types for 'pspDebugScreenPrintf' C:/pspdev/psp/sdk/include/pspdebug.h(49) : error: previous declaration of 'pspDe bugScreenPrintf' was here main.c(86) : warning: data definition has no type or storage class main.c(88) : warning: type defaults to 'int' in declaration of 'sceKernelSleepTh read' main.c(88) : warning: data definition has no type or storage class main.c(90) : error: syntax error before 'return' make: *** [main.o] Error 1 C:\pspdev\Projects\Counter>