From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 431 invoked from network); 8 Sep 1998 22:35:14 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 8 Sep 1998 22:35:13 -0000 Received: from columbo.wwortv.net (root@[208.5.197.174]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA07634 for ; Tue, 8 Sep 1998 18:35:56 -0400 Received: from watson (watson [208.5.197.173]) by columbo.wwortv.net (8.9.1a/8.9.1) with SMTP id RAA14617 for ; Tue, 8 Sep 1998 17:43:18 -0400 Sender: beww@columbo.wwortv.net Message-ID: <35F5A3F7.3CC7@intac.com> Date: Tue, 08 Sep 1998 17:39:03 -0400 From: Brian Wood X-Mailer: Mozilla 3.04Gold (X11; I; SunOS 5.5.1 sun4m) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Problems with g++ and netdb functions References: <199809081133.HAA02409@chmls05.mediaone.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jerry Feldman wrote: > > I have an application that I am working on which runs on multiple > platforms including Linux Intel, Solaris, NT, Windoz 9x. When calling > any function in netdb, I get a seg fault on Linux Alpha (Red Hat 5.0 > with updated libraries). > The following example code core dumps when compiled as a C++ > program, but runs when compiled as a C program: C++ problems with RedHat 5.0 Alpha are well known. The best bet IMHO is to go with EGCS 1.0.3a instead of g++. -- Brian E.W. Wood - beww@intac.com "Very Funny Scotty, Now BEAM DOWN MY CLOTHES"