pspdtoolchain

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

Moderators: cheriff, TyRaNiD

Post Reply
manmal
Posts: 2
Joined: Wed Apr 22, 2009 12:49 am

pspdtoolchain

Post by manmal »

hello,

i wanted to try the d language and all wend well
but then i wanted to try it on psp

and soon an error came
and i rendered clueless
...

So im asking ur advice
for what its worth :)
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
`/cygdrive/c/d/src/psp/pspdtoolchain/build/pspsdk/src
/libc'
make[2]: *** [all-recursive] Error 1



ps u can get pspdtoolchain from soywiz
thkx for reading :)
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Re: pspdtoolchain

Post by Wally »

manmal wrote:hello,

i wanted to try the d language and all wend well
but then i wanted to try it on psp

and soon an error came
and i rendered clueless
...

So im asking ur advice
for what its worth :)
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
`/cygdrive/c/d/src/psp/pspdtoolchain/build/pspsdk/src
/libc'
make[2]: *** [all-recursive] Error 1



ps u can get pspdtoolchain from soywiz
thkx for reading :)
Update your SDK.
manmal
Posts: 2
Joined: Wed Apr 22, 2009 12:49 am

Post by manmal »

hey wally, i just did that the day before
when i was installing psptoolchain (with succes)

it is not a problem that needs the psptoolchain updated
but it could be a problem that the pspdtoolchain could need a patch

thkx anyho
i'll never qsort it ;)
Post Reply