Can't create outgoing socket: UnknownHostException
Pering, Trevor
trevor.pering@intel.com
Mon Jun 2 21:28:00 GMT 2003
Using 127.0.0.1 works -- thanks for the suggestion.
tpering@silver:tpering/ >arm-linux-gcj --version
arm-linux-gcj (GCC) 3.3
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
And arm-linux-gcc was configured with just:
./configure --target=arm-linux
So -- does networking need to be explicitly enabled? I never specified
--with-newlib anywhere.
Thanks,
Trevor
-----Original Message-----
From: Jeff Sturm [mailto:jsturm@one-point.com]
Sent: Monday, June 02, 2003 12:34 PM
To: Pering, Trevor
Cc: java@gcc.gnu.org
Subject: Re: Can't create outgoing socket: UnknownHostException
On Mon, 2 Jun 2003, Pering, Trevor wrote:
> Any idea what's going on here? I tried searching the mailing list, but
> was unable to find anything that talked about this... (but there was a
> lot of noise so I might have missed something).
It sounds as though libgcj is configured without networking. Does
"127.0.0.1" work in place of "localhost"? Can you post your configure
command?
Is this by any chance a --with-newlib build? If so, then networking is
explicitly disabled by libjava/configure.
Jeff
More information about the Java
mailing list