This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: Can't create outgoing socket: UnknownHostException
- From: "Pering, Trevor" <trevor dot pering at intel dot com>
- To: "Jeff Sturm" <jsturm at one-point dot com>
- Cc: <java at gcc dot gnu dot org>, <powledge at intel-research dot net>, "Khai N. Truong" <khai at cc dot gatech dot edu>
- Date: Mon, 2 Jun 2003 14:28:04 -0700
- Subject: RE: Can't create outgoing socket: UnknownHostException
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