psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c -o main.o main.c
main.c: In function 'New_IoOpen':
main.c:26: error: invalid type argument of '->'
main.c:28: error: invalid type argument of '->'
main.c: In function 'New_IoClose':
main.c:34: error: invalid type argument of '->'
main.c:36: error: invalid type argument of '->'
main.c: In function 'New_IoRead':
main.c:42: error: invalid type argument of '->'
main.c:44: error: invalid type argument of '->'
main.c: In function 'New_IoWrite':
main.c:50: error: invalid type argument of '->'
main.c:52: error: invalid type argument of '->'
main.c: In function 'New_IoLseek':
main.c:58: error: invalid type argument of '->'
main.c:60: error: invalid type argument of '->'
main.c: In function 'New_IoIoctl':
main.c:85: warning: implicit declaration of function 'memcpy'
main.c:85: warning: incompatible implicit declaration of built-in function 'memcpy'
main.c: In function 'patch_drivers':
main.c:111: warning: assignment makes integer from pointer without a cast
main.c:115: warning: implicit declaration of function 'ErrorExit'
main.c:117: warning: assignment makes integer from pointer without a cast
main.c:123: error: invalid type argument of '->'
main.c:124: error: invalid type argument of '->'
main.c:125: error: invalid type argument of '->'
main.c:126: error: invalid type argument of '->'
main.c:127: error: invalid type argument of '->'
main.c:128: error: invalid type argument of '->'
main.c:129: error: invalid type argument of '->'
main.c: At top level:
main.c:143: warning: conflicting types for 'ErrorExit'
main.c:115: warning: previous implicit declaration of 'ErrorExit' was here
main.c: In function 'ErrorExit':
main.c:144: error: 'va_list' undeclared (first use in this function)
main.c:144: error: (Each undeclared identifier is reported only once
main.c:144: error: for each function it appears in.)
main.c:144: error: syntax error before 'list'
main.c:146: warning: implicit declaration of function 'va_start'
main.c:146: error: 'list' undeclared (first use in this function)
main.c:148: warning: implicit declaration of function 'va_end'
make: *** [main.o] Error 1