Sample does not compile
Sample does not compile
I installed the psp toolchain and sdk as per the tutorial on another website (I dont have a link handy but theres really only one). Everything is installed and the sdktest compiles fine but the sample under utility/netconf gives errors about sceCtrlData, PSP_CTRL_SELECT and PSP_CTRL_CROSS being undeclared. Any help on this subject would be appreciated...
Code: Select all
$ make
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
main.c: In function 'main':
main.c:62: error: 'SceCtrlData' undeclared (first use in this function)
main.c:62: error: (Each undeclared identifier is reported only once
main.c:62: error: for each function it appears in.)
main.c:62: error: parse error before 'pad'
main.c:74: error: 'pad' undeclared (first use in this function)
main.c:98 error: 'PSP_CTRL_SELECT' undeclared (first use in this function)
main.c:101 error: 'PSP_CTRL_CROSS' undeclared (first use in this function)
make: *** [main.o] Error 1
Searching for 'SceCtrlData' found this thread:
http://forums.ps2dev.org/viewtopic.php? ... cectrldata
http://forums.ps2dev.org/viewtopic.php? ... cectrldata