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 

error while RE-building toolchain/sdk

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



Joined: 17 Oct 2005
Posts: 71
Location: New York

PostPosted: Sun Jan 22, 2006 11:40 am    Post subject: error while RE-building toolchain/sdk Reply with quote

I got following error while trying to update the toolchain:
Code:
psp-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/base -I../../src/kernel -I../../src/display -I../../src/ge -I../../src/user    -g -O2 -G0 -Wall -DF_sceGumLoadIdentity_vfpu pspgum_vfpu.c -c -o sceGumLoadIdentity_vfpu.o
/cygdrive/c/DOCUME~1/HP_ADM~1/LOCALS~1/Temp/ccTRu4zn.s: Assembler messages:
/cygdrive/c/DOCUME~1/HP_ADM~1/LOCALS~1/Temp/ccTRu4zn.s:25: Error: illegal operands `vmidt.q M300'
make[3]: *** [sceGumLoadIdentity_vfpu.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/gum'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk'
make: *** [all] Error 2
ERROR BUILDING PSPSDK


I built it in the same environment (cygwin) about 1 month ago w/o any problems. Can someone advise what went wrong this time?

Thank you in advance..
Back to top
View user's profile Send private message
Panajev2001a



Joined: 20 Aug 2005
Posts: 100

PostPosted: Sun Jan 22, 2006 7:59 pm    Post subject: Reply with quote

Download the latest script: http://www.oopo.net/consoledev/files/psptoolchain-20060120.tgz

Extract its content, enter in the extracted directory and run a svn update



then run


./toolchain.sh


The error you got was caused by the fact that PSPSDK is now switching to real VFPU ASM instead of Macros or C/C++ code (in the places where VFPU ASM code was supposed to be used) as VFPU support was added to binutils and GAS (the GNU Assembler) thanks to a patch provided here by an user of these forums.

You have not updated the toolchain, so when trying to compile VFPU code your older toolchain pukes up an error.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Mon Jan 23, 2006 9:47 am    Post subject: Reply with quote

As the included readme.txt states, you can also type 'svn update' to get the same result.
Back to top
View user's profile Send private message Visit poster's website
deniska



Joined: 17 Oct 2005
Posts: 71
Location: New York

PostPosted: Tue Jan 24, 2006 12:39 am    Post subject: Reply with quote

Thanks,

worked like a charm...

I did not realized the toolchain script required updating...
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