Sample does not compile

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
cyod
Posts: 36
Joined: Fri Apr 29, 2005 5:46 am

Sample does not compile

Post by cyod »

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...
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Can you paste the specific errors, or should we guess?
cyod
Posts: 36
Joined: Fri Apr 29, 2005 5:46 am

Post by cyod »

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
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Searching for 'SceCtrlData' found this thread:

http://forums.ps2dev.org/viewtopic.php? ... cectrldata
Post Reply