Succesfully compiled the PSPTOOLCHAIN BUT....
Succesfully compiled the PSPTOOLCHAIN BUT....
I'm getting this error whenever im trying to compile my sample code for psp.
[root@ernesta helloworld]# make
make: psp-config: Command not found
Makefile:20: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
[root@ernesta helloworld]#
im running fedora 10. thanks
[root@ernesta helloworld]# make
make: psp-config: Command not found
Makefile:20: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'. Stop.
[root@ernesta helloworld]#
im running fedora 10. thanks
<><><><><>>>NOOB<><><><><<>
this part?
i didn't miss any of the steps and i succesfuly compiled the toolchain.
Code: Select all
2) Add the following to your login script:
export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
<><><><><>>>NOOB<><><><><<>
i repeat all the process and i got this new error
T_T someone help pls.
Code: Select all
psp-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libc/include -I../../src/base -I../../src/kernel -I../../src/user -I../../src/debug -g -O2 -G0 -Wall -DF_glue_gettimeofday libcglue.c -c -o glue_gettimeofday.o
libcglue.c:46: error: conflicting types for ‘gettimeofday’
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/include/sys/time.h:73: error: previous declaration of ‘gettimeofday’ was here
make[3]: *** [glue_gettimeofday.o] Error 1
make[3]: Leaving directory `/home/alex/psptoolchain/build/pspsdk/src/libc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alex/psptoolchain/build/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/psptoolchain/build/pspsdk'
make: *** [all] Error 2
../scripts/006-pspsdk-stage2.sh: Failed.
<><><><><>>>NOOB<><><><><<>
It's a Bug in the latest SDK BuildSwissidle wrote:i repeat all the process and i got this new error
T_T someone help pls.Code: Select all
psp-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/libc/include -I../../src/base -I../../src/kernel -I../../src/user -I../../src/debug -g -O2 -G0 -Wall -DF_glue_gettimeofday libcglue.c -c -o glue_gettimeofday.o libcglue.c:46: error: conflicting types for ‘gettimeofday’ /usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/include/sys/time.h:73: error: previous declaration of ‘gettimeofday’ was here make[3]: *** [glue_gettimeofday.o] Error 1 make[3]: Leaving directory `/home/alex/psptoolchain/build/pspsdk/src/libc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/alex/psptoolchain/build/pspsdk/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/alex/psptoolchain/build/pspsdk' make: *** [all] Error 2 ../scripts/006-pspsdk-stage2.sh: Failed.
libcglue.c:46: error: conflicting types for ‘gettimeofday’
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/include/sys/time.h:73: error: previous declaration of ‘gettimeofday’ was here
comment out that section in that code and it should all be sweet.
If you are using GCC 4.1.0 (from your error log) I almost beat that you have newlib 1.15. The new Toolchain is updated with newlib 1.16 and the timeofday struct changed, If you are building the Toolchain from scratch make sure you have newlib 1.16.
This is no bug in the SDK, the SDK was updated but you are still using an old version of the scripts with the updated SVN code.
This is no bug in the SDK, the SDK was updated but you are still using an old version of the scripts with the updated SVN code.
-
- Posts: 4
- Joined: Fri Jan 30, 2009 12:12 am
timeoftheday problem
Hi,
I am trying the same using cygwin.
Tried updating using svn but still gives the same error.
I see that both the bild script and the downloaded package is 1.15.
How can i change it to 1.16
I am trying the same using cygwin.
Tried updating using svn but still gives the same error.
I see that both the bild script and the downloaded package is 1.15.
How can i change it to 1.16
try deleting all the previous pspdev folders that you've installed/compiled.
it worked for me. just downloaded the latest psptoolchain using svn read the readme.
if you're using ubuntu follow the ubuntu-readme, the readme and toolchain.sh worked for me, im using fedora 10.
just make sure u've downloaded all of the dependencies etc. its listed on the readme.
it worked for me. just downloaded the latest psptoolchain using svn read the readme.
if you're using ubuntu follow the ubuntu-readme, the readme and toolchain.sh worked for me, im using fedora 10.
just make sure u've downloaded all of the dependencies etc. its listed on the readme.
<><><><><>>>NOOB<><><><><<>
-
- Posts: 4
- Joined: Fri Jan 30, 2009 12:12 am
Error with gettimeofday
Hi,
Thank you very much. That was solved.
Thank you very much. That was solved.
-
- Posts: 4
- Joined: Fri Jan 30, 2009 12:12 am
Another problem with psplinkusb
Hi,
I installed sdl in my cygwin environment.
Now i'm getting the following errors
if ( which sdl-config ); then { make -C tools/remotejoy/pcsdl all; } else { make
-C tools/remotejoy/pc all; } fi
/usr/local/bin/sdl-config
make[1]: Entering directory `/cygdrive/d/installers/psp/psptoolchain/build/pspli
nkusb/tools/remotejoy/pcsdl'
cc -O2 -Wall -g -I/usr/local/include/SDL -I/usr/include/mingw -mno-cygwin -Dmain
=SDL_main -c -o remotejoy.o remotejoy.c
remotejoy.c:16:24: sys/select.h: No such file or directory
remotejoy.c:17:24: sys/socket.h: No such file or directory
remotejoy.c:20:24: netinet/in.h: No such file or directory
remotejoy.c:21:25: netinet/tcp.h: No such file or directory
remotejoy.c:22:19: netdb.h: No such file or directory
remotejoy.c:185: error: field `serv' has incomplete type
remotejoy.c: In function `init_sockaddr':
remotejoy.c:325: error: dereferencing pointer to incomplete type
remotejoy.c:325: error: `AF_INET' undeclared (first use in this function)
remotejoy.c:325: error: (Each undeclared identifier is reported only once
remotejoy.c:325: error: for each function it appears in.)
remotejoy.c:326: error: dereferencing pointer to incomplete type
remotejoy.c:326: warning: implicit declaration of function `htons'
remotejoy.c:327: warning: implicit declaration of function `gethostbyname'
remotejoy.c:327: warning: assignment makes pointer from integer without a cast
remotejoy.c:333: error: dereferencing pointer to incomplete type
remotejoy.c:333: error: dereferencing pointer to incomplete type
remotejoy.c: In function `connect_to':
remotejoy.c:340: error: storage size of 'name' isn't known
remotejoy.c:344: warning: implicit declaration of function `socket'
remotejoy.c:344: error: `PF_INET' undeclared (first use in this function)
remotejoy.c:344: error: `SOCK_STREAM' undeclared (first use in this function)
remotejoy.c:359: warning: implicit declaration of function `connect'
remotejoy.c:367: warning: implicit declaration of function `setsockopt'
remotejoy.c:367: error: `IPPROTO_TCP' undeclared (first use in this function)
remotejoy.c:367: error: `TCP_NODELAY' undeclared (first use in this function)
remotejoy.c:340: warning: unused variable `name'
remotejoy.c: In function `read_thread':
remotejoy.c:583: error: `fd_set' undeclared (first use in this function)
remotejoy.c:583: error: parse error before "saveset"
remotejoy.c:588: warning: implicit declaration of function `FD_ZERO'
remotejoy.c:588: error: `saveset' undeclared (first use in this function)
remotejoy.c:589: warning: implicit declaration of function `FD_SET'
remotejoy.c:593: error: `readset' undeclared (first use in this function)
remotejoy.c:595: warning: implicit declaration of function `select'
remotejoy.c:595: error: `FD_SETSIZE' undeclared (first use in this function)
remotejoy.c:603: warning: implicit declaration of function `FD_ISSET'
make[1]: *** [remotejoy.o] Error 1
make[1]: Leaving directory `/cygdrive/d/installers/psp/psptoolchain/build/psplin
kusb/tools/remotejoy/pcsdl'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
Please let me know where to find these files sys/select.h sys/socket.h etc...
Also i read in quite a bit of forums we can skip this (though i think debugging would be a good help)
so also please let me know how to skip this.
Regards
Mithil
I installed sdl in my cygwin environment.
Now i'm getting the following errors
if ( which sdl-config ); then { make -C tools/remotejoy/pcsdl all; } else { make
-C tools/remotejoy/pc all; } fi
/usr/local/bin/sdl-config
make[1]: Entering directory `/cygdrive/d/installers/psp/psptoolchain/build/pspli
nkusb/tools/remotejoy/pcsdl'
cc -O2 -Wall -g -I/usr/local/include/SDL -I/usr/include/mingw -mno-cygwin -Dmain
=SDL_main -c -o remotejoy.o remotejoy.c
remotejoy.c:16:24: sys/select.h: No such file or directory
remotejoy.c:17:24: sys/socket.h: No such file or directory
remotejoy.c:20:24: netinet/in.h: No such file or directory
remotejoy.c:21:25: netinet/tcp.h: No such file or directory
remotejoy.c:22:19: netdb.h: No such file or directory
remotejoy.c:185: error: field `serv' has incomplete type
remotejoy.c: In function `init_sockaddr':
remotejoy.c:325: error: dereferencing pointer to incomplete type
remotejoy.c:325: error: `AF_INET' undeclared (first use in this function)
remotejoy.c:325: error: (Each undeclared identifier is reported only once
remotejoy.c:325: error: for each function it appears in.)
remotejoy.c:326: error: dereferencing pointer to incomplete type
remotejoy.c:326: warning: implicit declaration of function `htons'
remotejoy.c:327: warning: implicit declaration of function `gethostbyname'
remotejoy.c:327: warning: assignment makes pointer from integer without a cast
remotejoy.c:333: error: dereferencing pointer to incomplete type
remotejoy.c:333: error: dereferencing pointer to incomplete type
remotejoy.c: In function `connect_to':
remotejoy.c:340: error: storage size of 'name' isn't known
remotejoy.c:344: warning: implicit declaration of function `socket'
remotejoy.c:344: error: `PF_INET' undeclared (first use in this function)
remotejoy.c:344: error: `SOCK_STREAM' undeclared (first use in this function)
remotejoy.c:359: warning: implicit declaration of function `connect'
remotejoy.c:367: warning: implicit declaration of function `setsockopt'
remotejoy.c:367: error: `IPPROTO_TCP' undeclared (first use in this function)
remotejoy.c:367: error: `TCP_NODELAY' undeclared (first use in this function)
remotejoy.c:340: warning: unused variable `name'
remotejoy.c: In function `read_thread':
remotejoy.c:583: error: `fd_set' undeclared (first use in this function)
remotejoy.c:583: error: parse error before "saveset"
remotejoy.c:588: warning: implicit declaration of function `FD_ZERO'
remotejoy.c:588: error: `saveset' undeclared (first use in this function)
remotejoy.c:589: warning: implicit declaration of function `FD_SET'
remotejoy.c:593: error: `readset' undeclared (first use in this function)
remotejoy.c:595: warning: implicit declaration of function `select'
remotejoy.c:595: error: `FD_SETSIZE' undeclared (first use in this function)
remotejoy.c:603: warning: implicit declaration of function `FD_ISSET'
make[1]: *** [remotejoy.o] Error 1
make[1]: Leaving directory `/cygdrive/d/installers/psp/psptoolchain/build/psplin
kusb/tools/remotejoy/pcsdl'
make: *** [all] Error 2
../scripts/009-psplinkusb.sh: Failed.
Please let me know where to find these files sys/select.h sys/socket.h etc...
Also i read in quite a bit of forums we can skip this (though i think debugging would be a good help)
so also please let me know how to skip this.
Regards
Mithil
-
- Posts: 4
- Joined: Fri Jan 30, 2009 12:12 am
Problem with psplinkusb
Hi,
I eventually built the toolchain on OpenSuse 10.3
Thanks for the Help
Regards
Mithil
I eventually built the toolchain on OpenSuse 10.3
Thanks for the Help
Regards
Mithil