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: Wed, 4 Jun 2003 19:40:10 -0700
- Subject: RE: Can't create outgoing socket: UnknownHostException
I've traced this down somewhat -- and it's actually a problem with glibc
somewhere. I have reproduced the problem with a simple C test program.
Thanks for the help,
Trevor
-----Original Message-----
From: Jeff Sturm [mailto:jsturm@one-point.com]
Sent: Monday, June 02, 2003 2:55 PM
To: Pering, Trevor
Cc: java@gcc.gnu.org; powledge@intel-research.net; Khai N. Truong
Subject: RE: Can't create outgoing socket: UnknownHostException
On Mon, 2 Jun 2003, Pering, Trevor wrote:
> Using 127.0.0.1 works -- thanks for the suggestion.
That being the case, you have networking. Something else caused the
name
lookup to fail.
I have no idea what might have gone wrong. Random guess: Some libc
weirdness causes libnss* to fail. Feel free to debug.
> So -- does networking need to be explicitly enabled? I never specified
> --with-newlib anywhere.
No, it's normally enabled on any *-linux-* target.
Jeff