Question for all you programmers out there`

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
ripplar
Posts: 8
Joined: Mon May 03, 2004 10:00 am

Question for all you programmers out there`

Post by ripplar »

I'm trying to complie GCC C and using the tut. I received off of PS2DEV website and get this error when
use the make command:

In file included from ../../gcc-3.2.2/gcc/optabs.h:24,
from ../../gcc-3.2.2/gcc/builtins.c:35:
insn-codes.h:28: error: redefinition of `CODE_FOR_mulsi3_mult3_r5900'
insn-codes.h:27: error: `CODE_FOR_mulsi3_mult3_r5900' previously defined here
insn-codes.h:36: error: redefinition of `CODE_FOR_mulsidi3_64bit_r5900'
insn-codes.h:35: error: `CODE_FOR_mulsidi3_64bit_r5900' previously defined here
insn-codes.h:46: error: redefinition of `CODE_FOR_divmodsi4_internal_r5900'
insn-codes.h:45: error: `CODE_FOR_divmodsi4_internal_r5900' previously defined h
ere
insn-codes.h:50: error: redefinition of `CODE_FOR_udivmodsi4_internal_r5900'
insn-codes.h:49: error: `CODE_FOR_udivmodsi4_internal_r5900' previously defined
here
insn-codes.h:71: error: redefinition of `CODE_FOR_minsf3'
insn-codes.h:65: error: `CODE_FOR_minsf3' previously defined here
insn-codes.h:72: error: redefinition of `CODE_FOR_maxsf3'
insn-codes.h:66: error: `CODE_FOR_maxsf3' previously defined here
insn-codes.h:190: error: redefinition of `CODE_FOR_one_cmplti2'
insn-codes.h:82: error: `CODE_FOR_one_cmplti2' previously defined here
insn-codes.h:216: error: redefinition of `CODE_FOR_call_indirect_internal'
insn-codes.h:215: error: `CODE_FOR_call_indirect_internal' previously defined he
re
insn-codes.h:235: error: redefinition of `CODE_FOR_nop_internal'
insn-codes.h:234: error: `CODE_FOR_nop_internal' previously defined here
make[1]: *** [builtins.o] Error 1
make[1]: Leaving directory `/usr/local/ps2dev/source/gcc/gcc-3.2.2-bootstrap/gcc
'
make: *** [all-gcc] Error 2

any suggestions
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

yes use ooPo's buildscript tools->toolchain on ps2dev.org
Kung VU
ripplar
Posts: 8
Joined: Mon May 03, 2004 10:00 am

Post by ripplar »

Thanks blackdroid that has gottne me up and running. Now I can get some programming done on what I hope will be very intresting to everyone.


Thanks again,
Ripplar

:D
Post Reply