This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-3.2 build problem in the java area
- From: <cyan at obrien dot cc dot rochester dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 10 Oct 2002 10:55:25 -0400 (EDT)
- Subject: gcc-3.2 build problem in the java area
- Reply-to: charles dot yanaitis at rochester dot edu
Hi,
I'm having consistent problem compiling gcc-3.2 on a Solaris 7 box.
The problem seems to be with libjava/java/net/natInetAddress.cc and
the make bombs out with:
./../../../libjava/java/net/natInetAddress.cc: In static member function
`static java::lang::String* java::net::InetAddress::getLocalHostname()':
../../../../libjava/java/net/natInetAddress.cc:338: `MAXHOSTNAMELEN'
undeclared
(first use this function)
../../../../libjava/java/net/natInetAddress.cc:339: `buffer' undeclared
(first use this function)
make[5]: *** [java/net/natInetAddress.lo] Error 1
I'm compiling on an E420R, Solaris 7, kernel Generic_106541-21. I've
tried various things such as trying the build with binutils-2.13, but
it's the same error that occurs.
I noticed in your archives, back in June 1, 2002, a gentleman named
George Goffe had almost the exact same problem I'm having, except
he was trying to compile gcc-3.1 on a Solaris 8 box:
http://gcc.gnu.org/ml/java/2002-06/msg00002.html
Any pointers will be appreciated.
Thanks in advance!
Charlie
----------------------------------------------------------------------
Charlie Yanaitis charles.yanaitis@rochester.edu
Systems Analyst/Programmer (585) 275-4189
Information Technology Services University of Rochester
----------------------------------------------------------------------