Discuss the development of new homebrew software, tools and libraries.
Moderators: cheriff , TyRaNiD
deniska
Posts: 71 Joined: Mon Oct 17, 2005 1:38 pm
Location: New York
Post
by deniska » Sun Jan 22, 2006 11:40 am
I got following error while trying to update the toolchain:
Code: Select all
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..
Panajev2001a
Posts: 100 Joined: Sat Aug 20, 2005 3:25 am
Post
by Panajev2001a » Sun Jan 22, 2006 7:59 pm
Download the latest script:
http://www.oopo.net/consoledev/files/ps ... 060120.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.
ooPo
Site Admin
Posts: 2023 Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:
Post
by ooPo » Mon Jan 23, 2006 9:47 am
As the included readme.txt states, you can also type 'svn update' to get the same result.
deniska
Posts: 71 Joined: Mon Oct 17, 2005 1:38 pm
Location: New York
Post
by deniska » Tue Jan 24, 2006 12:39 am
Thanks,
worked like a charm...
I did not realized the toolchain script required updating...