not sure what to do
Posted: Tue Mar 02, 2010 1:24 am
I was trying to compile some source code I found and I got this error message:
> "make"
psp-gcc -I/c/devkitPro/devkitPSP/psp/sdk/include/libc -I. -I/c/devkitPro/devkitPSP/psp/sdk/include -DNOEXIT -DFPM_MIPS -O2 -G0 -Wall -fno-pic -D_PSP_FW_VERSION=150 -c -o main.o main.c
main.c: In function 'main_thread':
main.c:59: error: 'PSP_POWER_TICK_DISPLAY' undeclared (first use in this function)
main.c:59: error: (Each undeclared identifier is reported only once
main.c:59: error: for each function it appears in.)
main.c:74: warning: implicit declaration of function 'sceDisplaySetBrightness'
main.c:89: warning: implicit declaration of function 'sceSysconCtrlLED'
"make": *** [main.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:03
this was after going through some other error message and finding out the my environment variables were wrong. so I don't know what the message means. I also think my folders are mix up. So I took a picture of my folders and put a link to the picture and the code so that hopefully someone would help me fix the problem and maybe I can move on and mess with other stuff. my desktop is confused.
http://ifile.it/rvg91f0/devkitpsp.png
http://ifile.it/gl3mnaf/code.rar
> "make"
psp-gcc -I/c/devkitPro/devkitPSP/psp/sdk/include/libc -I. -I/c/devkitPro/devkitPSP/psp/sdk/include -DNOEXIT -DFPM_MIPS -O2 -G0 -Wall -fno-pic -D_PSP_FW_VERSION=150 -c -o main.o main.c
main.c: In function 'main_thread':
main.c:59: error: 'PSP_POWER_TICK_DISPLAY' undeclared (first use in this function)
main.c:59: error: (Each undeclared identifier is reported only once
main.c:59: error: for each function it appears in.)
main.c:74: warning: implicit declaration of function 'sceDisplaySetBrightness'
main.c:89: warning: implicit declaration of function 'sceSysconCtrlLED'
"make": *** [main.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:03
this was after going through some other error message and finding out the my environment variables were wrong. so I don't know what the message means. I also think my folders are mix up. So I took a picture of my folders and put a link to the picture and the code so that hopefully someone would help me fix the problem and maybe I can move on and mess with other stuff. my desktop is confused.
http://ifile.it/rvg91f0/devkitpsp.png
http://ifile.it/gl3mnaf/code.rar