This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

GCC-2.95.2 and AIX v4.3.3 compile errors


Hello all,

    I was trying to get gcc-2.95.2 compiled under AIX v4.3.3 and I'm
getting the following compile errors.. Does anybody have any
suggestions. I'm using the IBM compiler v3.6.6.

The output is below:


cd ch; /usr/local/bin/make "AR_FLAGS_FOR_TARGET=rc" "AR_FOR_TARGET=ar
-X32_64" "BISON=bison" "BISONFLAGS=" "CFLAGS=-g" "CLIB=-lld"
"GCC_FOR_TARGET=/home/ed/utils/gcc/gcc-2.95.2/gcc/xgcc
-B/home/ed/utils/gcc/gcc-2.95.2/gcc/
-B/usr/local/powerpc-ibm-aix4.3.3.0/bin/
-I/usr/local/powerpc-ibm-aix4.3.3.0/include" "LDFLAGS=" "LEX=lex"
"LEXFLAGS=" "LN=ln" "LN_S=ln -s"
"MAKEINFO=/home/ed/utils/gcc/gcc-2.95.2/texinfo/makeinfo/makeinfo "
"MAKEINFOFLAGS=" "RANLIB_FOR_TARGET=ranlib" "RANLIB_TEST_FOR_TARGET=[ -f
ranlib ] || ( [ "powerpc-ibm-aix4.3.3.0" = "powerpc-ibm-aix4.3.3.0" ] &&
[ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" "SHELL=/bin/sh"
"STAGE_PREFIX=" "exeext=" "build_exeext=" "objext=.o"
"exec_prefix=/usr/local" "prefix=/usr/local" "local_prefix=/usr/local"
"gxx_include_dir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2/../../../..`echo
/usr/local | sed -e 's|^/usr/local||' -e
's|/[^/]*|/..|g'`/include/g++-3"
"tooldir=/usr/local/powerpc-ibm-aix4.3.3.0"
"gcc_tooldir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2/../../../../powerpc-ibm-aix4.3.3.0"
"bindir=/usr/local/bin"
"libsubdir=/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.95.2"
"datadir=/usr/local/share" "distdir=../tmp/\$(subdir)"
"localedir=/usr/local/share/locale" "CC=cc" "CHILLFLAGS=-g"
"CHILL_FOR_TARGET=cc" "CHILL_LIB=-lchill" "GNUCHILL_VERSION=1.5.2"
../cc1chill
make[2]: Entering directory `/home/ed/utils/gcc/gcc-2.95.2/gcc/ch'
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include parse.c
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include actions.c
"actions.c", line 158.35: 1506-280 (W) Function argument assignment
between types "int(*)(const void*,const void*)" and "int(*)()" is not
allowed.
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include except.c
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include grant.c
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include lang.c
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include tree.c
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include lex.c
cc -c  -DIN_GCC   -g     -I. -I.. -I. -I./.. -I./../config
-I./../../include decl.c
"decl.c", line 1809.54: 1506-280 (W) Function argument assignment
between types "int(*)(const void*,const void*)" and "int(*)()" is not
allowed.
"decl.c", line 4448.1: 1506-343 (S) Redeclaration of start_struct
differs from previous declaration on line 736 of "ch-tree.h".
"decl.c", line 4448.1: 1506-381 (I) The type "enum tree_code" of
parameter 1 in the prototype declaration is not compatible with the
corresponding parameter type "enum chill_tree_code" in the nonprototype
declaration.
make[2]: *** [decl.o] Error 1
make[2]: Leaving directory `/home/ed/utils/gcc/gcc-2.95.2/gcc/ch'
make[1]: *** [cc1chill] Error 2
make[1]: Leaving directory `/home/ed/utils/gcc/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2

Any suggestions would be greatfully appreciated!,

EdGy


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