gcc-3.3.1 build problem MAXHOSTNAMELEN undeclared
Eric Botcazou
ebotcazou@libertysurf.fr
Fri Oct 10 10:34:00 GMT 2003
> 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.
You should file a PR with Bugzilla.
> ../../../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
Could you post a (gzipped version) of
$(objdir)/sparc-sun-solaris2.7/libjava/include/config.h ?
> And, I can't seem to locate where buffer is defined,
> either.
As indicated, line 338.
--
Eric Botcazou
More information about the Gcc
mailing list