| View previous topic :: View next topic |
| Author |
Message |
EdSchouten
Joined: 07 Jul 2004 Posts: 3
|
Posted: Wed Jul 07, 2004 5:37 pm Post subject: [GCC 3.2.2] ldfcn.h not found? |
|
|
Hello guys,
At the moment, I'm trying to do a Linux From Scratch install on the Playstation2, to get some newer software running.
Binutils 2.14 compiled fine on the machine and seems to work great. GCC, however, won't build properly.
If I apply the patch to GCC 3.2.2 and configure it as following:
../gcc-3.2.2/configure --prefix=/tools \
--with-local-prefix=/tools \
--disable-nls --enable-shared \
--enable-languages=c \
--host=mips64r5900el-scei-elf
I get an error while compiling 'collect2.c' because it cannot '#include <ldfcn.h>' (it doesn't exist).
While looking in the source, I found the following piece of code:
| Code: | #ifdef OBJECT_FORMAT_COFF
#include <a.out.h>
#include <ar.h>
#ifdef UMAX
#include <sgs.h>
#endif
/* Many versions of ldfcn.h define these. */
#ifdef FREAD
#undef FREAD
#undef FWRITE
#endif
#include <ldfcn.h>
/* Some systems have an ISCOFF macro, but others do not. In some cases
the macro may be wrong. MY_ISCOFF is defined in tm.h files for machines
that either do not have an ISCOFF macro in /usr/include or for those
where it is wrong. */
#ifndef MY_ISCOFF
#define MY_ISCOFF(X) ISCOFF (X)
#endif
#endif /* OBJECT_FORMAT_COFF */ |
Is it possible to compile GCC without support for COFF binaries on the PS2?
Yours,
Ed Schouten |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Wed Jul 07, 2004 8:18 pm Post subject: |
|
|
COFF support is certainly not necessary, that being said I am not sure gcc-3.2.2 has the needed patches to compile under ps2linux.
you might get more info on that topic by asking on http://www.playstation2-linux.com _________________ Kung VU |
|
| Back to top |
|
 |
EdSchouten
Joined: 07 Jul 2004 Posts: 3
|
Posted: Thu Jul 08, 2004 4:04 am Post subject: |
|
|
Hehe, stupid me :P I found the problem. I had to use mips64r5900el-sky-linux-gnu as host :P
But now I still have a problem, and I guess it is a bug...
Here is what happens when I start compiling GCC:
| Code: | make[2]: Entering directory `/home/lfs/sources/gcc-build/gcc'
HEADERS="auto-host.h ansidecl.h mips/little.h dbxelf.h elfos.h svr4.h linux.h mips/linux.h mips/r5900.h defaults.h" DEFINES="POSIX" \
TARGET_CPU_DEFAULT="MASK_GAS" \
/bin/sh ../../gcc-3.2.2/gcc/mkconfig.sh config.h
HEADERS="auto-host.h ansidecl.h mips/little.h dbxelf.h elfos.h svr4.h linux.h mips/linux.h mips/r5900.h defaults.h" DEFINES="POSIX" \
TARGET_CPU_DEFAULT="MASK_GAS" \
/bin/sh ../../gcc-3.2.2/gcc/mkconfig.sh hconfig.h
gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc-3.2.2/gcc -I../../gcc-3.2.2/gcc/. -I../../gcc-3.2.2/gcc/config -I../../gcc-3.2.2/gcc/../include ../../gcc-3.2.2/gcc/gengenrtl.c -o gengenrtl.o
In file included from ../../gcc-3.2.2/gcc/config/mips/r5900.h:20,
from hconfig.h:23,
from ../../gcc-3.2.2/gcc/gengenrtl.c:22:
../../gcc-3.2.2/gcc/config/mips/elf64.h:25: warning: `TARGET_DEFAULT' redefined
../../gcc-3.2.2/gcc/config/mips/linux.h:131: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/elf64.h:26: warning: `MIPS_ISA_DEFAULT' redefined
../../gcc-3.2.2/gcc/config/mips/mips.h:555: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/elf64.h:29: warning: `MIPS_ABI_DEFAULT' redefined
../../gcc-3.2.2/gcc/config/mips/mips.h:892: warning: this is the location of the previous definition
In file included from ../../gcc-3.2.2/gcc/config/mips/r5900.h:20,
from hconfig.h:23,
from ../../gcc-3.2.2/gcc/gengenrtl.c:22:
../../gcc-3.2.2/gcc/config/mips/elf64.h:39: warning: `INIT_SUBTARGET_OPTABS' redefined
../../gcc-3.2.2/gcc/config/mips/mips.h:4852: warning: this is the location of the previous definition
In file included from ../../gcc-3.2.2/gcc/config/mips/elf64.h:41,
from ../../gcc-3.2.2/gcc/config/mips/r5900.h:20,
from hconfig.h:23,
from ../../gcc-3.2.2/gcc/gengenrtl.c:22:
../../gcc-3.2.2/gcc/config/mips/mips.h:645: warning: `SUBTARGET_TARGET_OPTIONS' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:27: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/mips.h:818: warning: `SUBTARGET_CONDITIONAL_REGISTER_USAGE' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:64: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/mips.h:2723: warning: `REG_PARM_STACK_SPACE' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:74: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/mips.h:2786: warning: `GP_ARG_LAST' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:42: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/mips.h:2788: warning: `FP_ARG_LAST' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:45: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/mips.h:2790: warning: `MAX_ARGS_IN_REGISTERS' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:68: warning: this is the location of the previous definition
../../gcc-3.2.2/gcc/config/mips/mips.h:2844: warning: `RETURN_IN_MEMORY' redefined
../../gcc-3.2.2/gcc/config/mips/abi64.h:112: warning: this is the location of the previous definition
In file included from hconfig.h:23,
from ../../gcc-3.2.2/gcc/gengenrtl.c:22:
../../gcc-3.2.2/gcc/config/mips/r5900.h:229: warning: `SBSS_SECTION_ASM_OP' redefined
../../gcc-3.2.2/gcc/config/mips/linux.h:39: warning: this is the location of the previous definition
In file included from ../../gcc-3.2.2/gcc/config/mips/elf64.h:41,
from ../../gcc-3.2.2/gcc/config/mips/r5900.h:20,
from hconfig.h:23,
from ../../gcc-3.2.2/gcc/gengenrtl.c:22:
../../gcc-3.2.2/gcc/config/mips/mips.h:38: redeclaration of `enum cmp_type'
../../gcc-3.2.2/gcc/config/mips/mips.h:39: conflicting types for `CMP_SI'
../../gcc-3.2.2/gcc/config/mips/mips.h:39: previous declaration of `CMP_SI'
../../gcc-3.2.2/gcc/config/mips/mips.h:40: conflicting types for `CMP_DI'
../../gcc-3.2.2/gcc/config/mips/mips.h:40: previous declaration of `CMP_DI'
../../gcc-3.2.2/gcc/config/mips/mips.h:41: conflicting types for `CMP_SF'
../../gcc-3.2.2/gcc/config/mips/mips.h:41: previous declaration of `CMP_SF'
../../gcc-3.2.2/gcc/config/mips/mips.h:42: conflicting types for `CMP_DF'
../../gcc-3.2.2/gcc/config/mips/mips.h:42: previous declaration of `CMP_DF'
../../gcc-3.2.2/gcc/config/mips/mips.h:44: conflicting types for `CMP_MAX'
../../gcc-3.2.2/gcc/config/mips/mips.h:44: previous declaration of `CMP_MAX'
../../gcc-3.2.2/gcc/config/mips/mips.h:47: redeclaration of `enum delay_type'
../../gcc-3.2.2/gcc/config/mips/mips.h:48: conflicting types for `DELAY_NONE'
../../gcc-3.2.2/gcc/config/mips/mips.h:48: previous declaration of `DELAY_NONE'
../../gcc-3.2.2/gcc/config/mips/mips.h:49: conflicting types for `DELAY_LOAD'
../../gcc-3.2.2/gcc/config/mips/mips.h:49: previous declaration of `DELAY_LOAD'
../../gcc-3.2.2/gcc/config/mips/mips.h:50: conflicting types for `DELAY_HILO'
../../gcc-3.2.2/gcc/config/mips/mips.h:50: previous declaration of `DELAY_HILO'
../../gcc-3.2.2/gcc/config/mips/mips.h:51: conflicting types for `DELAY_HILO1'
../../gcc-3.2.2/gcc/config/mips/mips.h:51: previous declaration of `DELAY_HILO1'
../../gcc-3.2.2/gcc/config/mips/mips.h:53: conflicting types for `DELAY_FCMP'
../../gcc-3.2.2/gcc/config/mips/mips.h:53: previous declaration of `DELAY_FCMP'
../../gcc-3.2.2/gcc/config/mips/mips.h:60: redeclaration of `enum processor_type'
../../gcc-3.2.2/gcc/config/mips/mips.h:61: conflicting types for `PROCESSOR_DEFAULT'
../../gcc-3.2.2/gcc/config/mips/mips.h:61: previous declaration of `PROCESSOR_DEFAULT'
../../gcc-3.2.2/gcc/config/mips/mips.h:62: conflicting types for `PROCESSOR_R3000'
../../gcc-3.2.2/gcc/config/mips/mips.h:62: previous declaration of `PROCESSOR_R3000'
../../gcc-3.2.2/gcc/config/mips/mips.h:63: conflicting types for `PROCESSOR_R3900'
../../gcc-3.2.2/gcc/config/mips/mips.h:63: previous declaration of `PROCESSOR_R3900'
../../gcc-3.2.2/gcc/config/mips/mips.h:64: conflicting types for `PROCESSOR_R6000'
../../gcc-3.2.2/gcc/config/mips/mips.h:64: previous declaration of `PROCESSOR_R6000'
../../gcc-3.2.2/gcc/config/mips/mips.h:65: conflicting types for `PROCESSOR_R4000'
../../gcc-3.2.2/gcc/config/mips/mips.h:65: previous declaration of `PROCESSOR_R4000'
../../gcc-3.2.2/gcc/config/mips/mips.h:66: conflicting types for `PROCESSOR_R4100'
../../gcc-3.2.2/gcc/config/mips/mips.h:66: previous declaration of `PROCESSOR_R4100'
../../gcc-3.2.2/gcc/config/mips/mips.h:67: conflicting types for `PROCESSOR_R4300'
../../gcc-3.2.2/gcc/config/mips/mips.h:67: previous declaration of `PROCESSOR_R4300'
../../gcc-3.2.2/gcc/config/mips/mips.h:68: conflicting types for `PROCESSOR_R4600'
../../gcc-3.2.2/gcc/config/mips/mips.h:68: previous declaration of `PROCESSOR_R4600'
../../gcc-3.2.2/gcc/config/mips/mips.h:69: conflicting types for `PROCESSOR_R4650'
../../gcc-3.2.2/gcc/config/mips/mips.h:69: previous declaration of `PROCESSOR_R4650'
../../gcc-3.2.2/gcc/config/mips/mips.h:70: conflicting types for `PROCESSOR_R5000'
../../gcc-3.2.2/gcc/config/mips/mips.h:70: previous declaration of `PROCESSOR_R5000'
../../gcc-3.2.2/gcc/config/mips/mips.h:71: conflicting types for `PROCESSOR_R5900'
../../gcc-3.2.2/gcc/config/mips/mips.h:71: previous declaration of `PROCESSOR_R5900'
../../gcc-3.2.2/gcc/config/mips/mips.h:72: conflicting types for `PROCESSOR_R8000'
../../gcc-3.2.2/gcc/config/mips/mips.h:72: previous declaration of `PROCESSOR_R8000'
../../gcc-3.2.2/gcc/config/mips/mips.h:73: conflicting types for `PROCESSOR_R4KC'
../../gcc-3.2.2/gcc/config/mips/mips.h:73: previous declaration of `PROCESSOR_R4KC'
../../gcc-3.2.2/gcc/config/mips/mips.h:74: conflicting types for `PROCESSOR_R5KC'
../../gcc-3.2.2/gcc/config/mips/mips.h:74: previous declaration of `PROCESSOR_R5KC'
../../gcc-3.2.2/gcc/config/mips/mips.h:76: conflicting types for `PROCESSOR_R20KC'
../../gcc-3.2.2/gcc/config/mips/mips.h:76: previous declaration of `PROCESSOR_R20KC'
../../gcc-3.2.2/gcc/config/mips/mips.h:106: redeclaration of `enum mips_abicalls_type'
../../gcc-3.2.2/gcc/config/mips/mips.h:107: conflicting types for `MIPS_ABICALLS_NO'
../../gcc-3.2.2/gcc/config/mips/mips.h:107: previous declaration of `MIPS_ABICALLS_NO'
../../gcc-3.2.2/gcc/config/mips/mips.h:109: conflicting types for `MIPS_ABICALLS_YES'
../../gcc-3.2.2/gcc/config/mips/mips.h:109: previous declaration of `MIPS_ABICALLS_YES'
../../gcc-3.2.2/gcc/config/mips/mips.h:117: redeclaration of `enum block_move_type'
../../gcc-3.2.2/gcc/config/mips/mips.h:118: conflicting types for `BLOCK_MOVE_NORMAL'
../../gcc-3.2.2/gcc/config/mips/mips.h:118: previous declaration of `BLOCK_MOVE_NORMAL'
../../gcc-3.2.2/gcc/config/mips/mips.h:119: conflicting types for `BLOCK_MOVE_NOT_LAST'
../../gcc-3.2.2/gcc/config/mips/mips.h:119: previous declaration of `BLOCK_MOVE_NOT_LAST'
../../gcc-3.2.2/gcc/config/mips/mips.h:121: conflicting types for `BLOCK_MOVE_LAST'
../../gcc-3.2.2/gcc/config/mips/mips.h:121: previous declaration of `BLOCK_MOVE_LAST'
../../gcc-3.2.2/gcc/config/mips/mips.h:2090: redeclaration of `enum reg_class'
../../gcc-3.2.2/gcc/config/mips/mips.h:2091: conflicting types for `NO_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2091: previous declaration of `NO_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2092: conflicting types for `M16_NA_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2092: previous declaration of `M16_NA_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2093: conflicting types for `M16_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2093: previous declaration of `M16_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2094: conflicting types for `T_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2094: previous declaration of `T_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2095: conflicting types for `M16_T_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2095: previous declaration of `M16_T_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2096: conflicting types for `GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2096: previous declaration of `GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2097: conflicting types for `FP_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2097: previous declaration of `FP_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2098: conflicting types for `HI_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2098: previous declaration of `HI_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2099: conflicting types for `LO_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2099: previous declaration of `LO_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2100: conflicting types for `HILO_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2100: previous declaration of `HILO_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2101: conflicting types for `MD_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2101: previous declaration of `MD_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2102: conflicting types for `HI_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2102: previous declaration of `HI_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2103: conflicting types for `LO_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2103: previous declaration of `LO_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2104: conflicting types for `HILO_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2104: previous declaration of `HILO_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2105: conflicting types for `HI_AND_FP_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2105: previous declaration of `HI_AND_FP_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2106: conflicting types for `HI1_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2106: previous declaration of `HI1_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2107: conflicting types for `LO1_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2107: previous declaration of `LO1_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2108: conflicting types for `HILO1_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2108: previous declaration of `HILO1_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2109: conflicting types for `MD1_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2109: previous declaration of `MD1_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2110: conflicting types for `HI1_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2110: previous declaration of `HI1_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2111: conflicting types for `LO1_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2111: previous declaration of `LO1_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2112: conflicting types for `HILO1_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2112: previous declaration of `HILO1_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2113: conflicting types for `HI01_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2113: previous declaration of `HI01_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2114: conflicting types for `LO01_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2114: previous declaration of `LO01_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2115: conflicting types for `HILO01_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2115: previous declaration of `HILO01_REG'
../../gcc-3.2.2/gcc/config/mips/mips.h:2116: conflicting types for `MD01_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2116: previous declaration of `MD01_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2117: conflicting types for `HI01_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2117: previous declaration of `HI01_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2118: conflicting types for `LO01_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2118: previous declaration of `LO01_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2119: conflicting types for `HILO01_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2119: previous declaration of `HILO01_AND_GR_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2120: conflicting types for `ST_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2120: previous declaration of `ST_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2121: conflicting types for `ALL_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2121: previous declaration of `ALL_REGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2123: conflicting types for `LIM_REG_CLASSES'
../../gcc-3.2.2/gcc/config/mips/mips.h:2123: previous declaration of `LIM_REG_CLASSES'
../../gcc-3.2.2/gcc/config/mips/mips.h:2539: redefinition of `struct mips_frame_info'
../../gcc-3.2.2/gcc/config/mips/mips.h:2868: redefinition of `struct mips_args'
../../gcc-3.2.2/gcc/config/mips/mips.h:2882: redefinition of `CUMULATIVE_ARGS'
../../gcc-3.2.2/gcc/config/mips/mips.h:2882: `CUMULATIVE_ARGS' previously declared here
../../gcc-3.2.2/gcc/config/mips/mips.h:4935: redeclaration of `enum r5900_builtins'
../../gcc-3.2.2/gcc/config/mips/mips.h:4937: conflicting types for `MMI_BUILTIN_PADDB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4937: previous declaration of `MMI_BUILTIN_PADDB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4938: conflicting types for `MMI_BUILTIN_PADDH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4938: previous declaration of `MMI_BUILTIN_PADDH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4939: conflicting types for `MMI_BUILTIN_PADDW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4939: previous declaration of `MMI_BUILTIN_PADDW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4940: conflicting types for `MMI_BUILTIN_PADDSB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4940: previous declaration of `MMI_BUILTIN_PADDSB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4941: conflicting types for `MMI_BUILTIN_PADDSH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4941: previous declaration of `MMI_BUILTIN_PADDSH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4942: conflicting types for `MMI_BUILTIN_PADDSW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4942: previous declaration of `MMI_BUILTIN_PADDSW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4943: conflicting types for `MMI_BUILTIN_PADDUB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4943: previous declaration of `MMI_BUILTIN_PADDUB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4944: conflicting types for `MMI_BUILTIN_PADDUH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4944: previous declaration of `MMI_BUILTIN_PADDUH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4945: conflicting types for `MMI_BUILTIN_PADDUW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4945: previous declaration of `MMI_BUILTIN_PADDUW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4947: conflicting types for `MMI_BUILTIN_PSUBB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4947: previous declaration of `MMI_BUILTIN_PSUBB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4948: conflicting types for `MMI_BUILTIN_PSUBH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4948: previous declaration of `MMI_BUILTIN_PSUBH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4949: conflicting types for `MMI_BUILTIN_PSUBW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4949: previous declaration of `MMI_BUILTIN_PSUBW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4950: conflicting types for `MMI_BUILTIN_PSUBSB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4950: previous declaration of `MMI_BUILTIN_PSUBSB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4951: conflicting types for `MMI_BUILTIN_PSUBSH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4951: previous declaration of `MMI_BUILTIN_PSUBSH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4952: conflicting types for `MMI_BUILTIN_PSUBSW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4952: previous declaration of `MMI_BUILTIN_PSUBSW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4953: conflicting types for `MMI_BUILTIN_PSUBUB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4953: previous declaration of `MMI_BUILTIN_PSUBUB'
../../gcc-3.2.2/gcc/config/mips/mips.h:4954: conflicting types for `MMI_BUILTIN_PSUBUH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4954: previous declaration of `MMI_BUILTIN_PSUBUH'
../../gcc-3.2.2/gcc/config/mips/mips.h:4955: conflicting types for `MMI_BUILTIN_PSUBUW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4955: previous declaration of `MMI_BUILTIN_PSUBUW'
../../gcc-3.2.2/gcc/config/mips/mips.h:4960: conflicting types for `R5900_BUILTIN_MAX'
../../gcc-3.2.2/gcc/config/mips/mips.h:4960: previous declaration of `R5900_BUILTIN_MAX'
make[2]: *** [gengenrtl.o] Error 1
make[2]: Leaving directory `/home/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2 |
It seems that:
- Somewhere we include something double
- linux.h and r5900.h have #define's that overlap eachother |
|
| Back to top |
|
 |
EdSchouten
Joined: 07 Jul 2004 Posts: 3
|
Posted: Fri Jul 09, 2004 1:18 am Post subject: |
|
|
Hmmm... I've tried to build a cross-compiler for my Pentium 4 so it can compile mips64r5900el-sky-linux-gnu, but this fails, because it builds the stage1 compiler for mips64r5900el-sky-linux-gnu, so that it can't compile the stage2 compiler for my Pentium 4...
:( |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Fri Jul 09, 2004 2:19 am Post subject: |
|
|
If you just want a cross-compiler on your pc look at ooPo's toolchain script ( its linked on ps2dev.org from both tutorials and tools ). _________________ Kung VU |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
|
| Back to top |
|
 |
|