This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

make error for powerpc-ibm-aix


<FONT color= #005B7F > <B>  혁신하겠습니다.!.  </B></FONT>

Hello...
I encountered the following error in build gcc..
I don'n know reason for compile error
Please help me..



The following is procedure of build gcc
---------------------------------------------------------------------------

1. setting Compile Environment
[root@linux2 binutils-2.15]# export TARGET=powerpc-ibm-aix5.1.0.0
[root@linux2 binutils-2.15]# export PREFIX1=/home/docho/cross
[root@linux2 binutils-2.15]# export PATH=${PREFIX}/bin:${PATH}

2. configure
[linux2:/home/docho/cross/build-gccbootstrap] ../gcc-3.4.3/configure \
> --target=${TARGET} --prefix=${PREFIX1} \
> --with-local-prefix=${PREFIX1}/${TARGET} --with-headers=${PREFIX1}/${TARGET}\
> --enable-languages=c --disable-shared --disable-threads --with-newlib

3. make all-gcc
.....................................
mkdir -p -- libgcc/pthread/powerpc
mkdir -p -- pthread/ppc64
mkdir -p -- libgcc/pthread/ppc64

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/docho/cross/build-gccbootstrap/gcc/xgcc -B/home/docho/cross/build-gccbootstrap/gcc/ -B/home/docho/cross/power
pc-ibm-aix5.1.0.0/bin/ -B/home/docho/cross/powerpc-ibm-aix5.1.0.0/lib/ -isystem /home/docho/cross/powerpc-ibm-aix5.
1.0.0/include -isystem /home/docho/cross/powerpc-ibm-aix5.1.0.0/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wal
l -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DHAVE_G
THR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/ -I../../gcc-
3.4.3/gcc/../include   -DL_muldi3 -c ../../gcc-3.4.3/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from ../../gcc-3.4.3/gcc/libgcc2.c:41:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: no such file or directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: no such file or directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: no such file or directory
In file included from ../../gcc-3.4.3/gcc/tsystem.h:100,
                 from ../../gcc-3.4.3/gcc/libgcc2.c:41:
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:5:25: linux/types.h: no such file or directory
In file included from ../../gcc-3.4.3/gcc/tsystem.h:100,
                 from ../../gcc-3.4.3/gcc/libgcc2.c:41:

/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:10: error: parse error before "time_t"
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:12: error: parse error before '}' token
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:89: error: parse error before "time_t"
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:120: error: field `it_interval' has incomplete type
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:121: error: field `it_value' has incomplete type
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:125: error: field `it_interval' has incomplete type
/home/docho/cross/powerpc-ibm-aix5.1.0.0/include/time.h:126: error: field `it_value' has incomplete type

make[2]: *** [libgcc/./_muldi3.o] error 1
make[2]: exit `/home/docho/cross/build-gccbootstrap/gcc' directory
make[1]: *** [stmp-multilib] error 2
make[1]: exit `/home/docho/cross/build-gccbootstrap/gcc' directory
make: *** [all-gcc] error 2
[linux2:/home/docho/cross/build-gccbootstrap]


<FONT color= #005B7F >****************************************
<FONT color=red><B>♨</B></FONT> 감사합니다.
<MARQUEE><FONT color=pink><B>♥</B></FONT> 따뜻한 2005년이 되십시오.</MARQUEE>
       E-mail : docho@lge.com
       ☎.    : 02-705-3075
       ☎.    : 019-309-7818
</FONT>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]