forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

pspdtoolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
manmal



Joined: 22 Apr 2009
Posts: 2

PostPosted: Wed Apr 22, 2009 12:54 am    Post subject: pspdtoolchain Reply with quote

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 :)
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Wed Apr 22, 2009 9:46 am    Post subject: Re: pspdtoolchain Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
manmal



Joined: 22 Apr 2009
Posts: 2

PostPosted: Wed Apr 22, 2009 6:10 pm    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group