From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ed Geraghty To: help-gcc@gnu.org Subject: GCC-2.95.2 and AIX v4.3.3 compile errors Date: Fri, 31 Dec 1999 22:24:00 -0000 Message-ID: <3850C26A.84AB45F0@us.ibm.com> X-SW-Source: 1999-12n/msg00145.html Message-ID: <19991231222400.ootiatQkp8aZiA0_8x6k2qcNGSio7UjN-YThBGJP1sk@z> 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