| View previous topic :: View next topic |
| Author |
Message |
deniska
Joined: 17 Oct 2005 Posts: 71 Location: New York
|
Posted: Sun Jan 22, 2006 11:40 am Post subject: error while RE-building toolchain/sdk |
|
|
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 |
|
 |
Panajev2001a
Joined: 20 Aug 2005 Posts: 100
|
Posted: Sun Jan 22, 2006 7:59 pm Post subject: |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Mon Jan 23, 2006 9:47 am Post subject: |
|
|
| As the included readme.txt states, you can also type 'svn update' to get the same result. |
|
| Back to top |
|
 |
deniska
Joined: 17 Oct 2005 Posts: 71 Location: New York
|
Posted: Tue Jan 24, 2006 12:39 am Post subject: |
|
|
Thanks,
worked like a charm...
I did not realized the toolchain script required updating... |
|
| Back to top |
|
 |
|