Good morning, I'm having problems building gcc3.3.1 on solaris 2.7. This same error is posted twice to the gcc mailing list about a year ago, but I don't see a resolution posted. Has anyone figured this out? # This directory was configured as follows: ../gcc-3.3.1/configure --with-gcc-version-trigger=/nfs/p1/share/src/build/gcc-3.3.1/gcc/version.c --host=sparc-sun-solaris2.7 --prefix=/usr/tags/arch --with-local-prefix=/usr/tags/arch --with-gnu-as --with-as=/usr/tags/arch/gnu/bin/as --with-gnu-ld --with-ld=/usr/tags/arch/gnu/bin/ld --disable-multilib --norecursion # uname -a SunOS monster 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-80 # as --version GNU assembler 2.14 20030612 # ld --version GNU ld version 2.14 20030612 binutils-2.14 # make --version GNU Make 3.80 CONFIG_SHELL=/bin/ksh A make bootstrap stops here; ../../../gcc-3.3.1/libjava/java/net/natInetAddress.cc:338: error: ` MAXHOSTNAMELEN' undeclared (first use this function) ../../../gcc-3.3.1/libjava/java/net/natInetAddress.cc:338: error: (Each undeclared identifier is reported only once for each function it appears in.) ../../../gcc-3.3.1/libjava/java/net/natInetAddress.cc:339: error: `buffer' undeclared (first use this function) make[3]: *** [java/net/natInetAddress.lo] Error 1 make[3]: Leaving directory `/nfs/p1/share/src/build/gcc-sol/sparc-sun-solaris2.7/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/nfs/p1/share/src/build/gcc-sol/sparc-sun-solaris2.7/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/nfs/p1/share/src/build/gcc-sol' make: *** [bootstrap] Error 2 # grep MAXHOST /usr/include/netdb.h #define MAXHOSTNAMELEN 256 I've added /usr/include with CPPFLAGS environment variable, but the build still crashes here. And, I can't seem to locate where buffer is defined, either. I'm completely stuck. Any suggestions are greatly appreciated! -- Becky Sander