gcc4 compile problem on AIX 4.3

Bob Rossi bob@brasko.net
Tue May 3 14:10:00 GMT 2005


Hi,

I've already got gcc4 to compile on linux and solaris. Now I'm
trying to build gcc4 on AIX 4.3 and am getting an error. Any help
would be appreciated.

$ oslevel
4.3.3.0

$ uname -a
AIX ibm4 3 4 0000C11F4C00

I'm using GNAT to compile gcc4.
$ gnatchop -v
GNATCHOP 3.14p (20010503) Copyright 1998-2000, Ada Core Technologies

I configured gcc4 like this,
# ../gcc-4.0.0/configure   --prefix=/home/GCC/gcc-4.0.0 --enable-libada 
--enable-languages=c,ada,c++

The link error I'm getting is below.

Any help would be greatly appreciated!

Thanks,
Bob Rossi

$ make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
make[1]: Entering directory `/home/bar/download/gcc-4/objdir/build-powerpc-ibm-aix4.3.3.0/libiberty'
make[2]: Entering directory `/home/bar/download/gcc-4/objdir/build-powerpc-ibm-aix4.3.3.0/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bar/download/gcc-4/objdir/build-powerpc-ibm-aix4.3.3.0/libiberty/testsuite'
make[1]: Leaving directory `/home/bar/download/gcc-4/objdir/build-powerpc-ibm-aix4.3.3.0/libiberty'
make[1]: Entering directory `/home/bar/download/gcc-4/objdir/build-powerpc-ibm-aix4.3.3.0/fixincludes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bar/download/gcc-4/objdir/build-powerpc-ibm-aix4.3.3.0/fixincludes'
make[1]: Entering directory `/home/bar/download/gcc-4/objdir/intl'
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[1]: Leaving directory `/home/bar/download/gcc-4/objdir/intl'
make[1]: Entering directory `/home/bar/download/gcc-4/objdir/libiberty'
make[2]: Entering directory `/home/bar/download/gcc-4/objdir/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/bar/download/gcc-4/objdir/libiberty/testsuite'
make[1]: Leaving directory `/home/bar/download/gcc-4/objdir/libiberty'
make[1]: Entering directory `/home/bar/download/gcc-4/objdir/libcpp'
gcc -O  -o makedepend \
  makedepend.o libcpp.a ../libiberty/libiberty.a \
  ./../intl/libintl.a -liconv -liconv
ld: 0711-317 ERROR: Undefined symbol: ..libintl_dgettext
ld: 0711-317 ERROR: Undefined symbol: ..libintl_bindtextdomain
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make[1]: *** [makedepend] Error 1
make[1]: Leaving directory `/home/bar/download/gcc-4/objdir/libcpp'
make: *** [all-libcpp] Error 2
bar@ibm4 ~/download/gcc-4/objdir



More information about the Gcc-help mailing list