From owner-freebsd-threads@FreeBSD.ORG Tue Dec 19 14:36:59 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FCD916A416 for ; Tue, 19 Dec 2006 14:36:59 +0000 (UTC) (envelope-from jean.daigle@SolaceSystems.com) Received: from mail.allstreamits.com (mail.allstreamits.com [66.46.107.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13B3A43CA0 for ; Tue, 19 Dec 2006 14:36:58 +0000 (GMT) (envelope-from jean.daigle@SolaceSystems.com) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Dec 2006 09:34:54 -0500 Message-ID: <6B865826E860EF42B3A387A03F395396147E79FE@EX0004.AllstreamITS.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: freebsd/ace: Errors when compiling ACE application Thread-Index: Acci8JpW8tjOMw5BQvmewJ7AP2lR4gAiQ9XQ From: "Jean-Philippe Daigle" To: Subject: RE: freebsd/ace: Errors when compiling ACE application X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 14:36:59 -0000 > -----Original Message----- > From: Brooks Davis [mailto:brooks@one-eyed-alien.net] > Sent: Monday, December 18, 2006 5:03 PM > To: Jean-Philippe Daigle > Cc: freebsd-threads@freebsd.org > Subject: Re: freebsd/ace: Errors when compiling ACE application >=20 > Any reason you aren't using /usr/ports/devel/ace to build it? Even if > there is, you might want to check the patches they apply and see what > changes need to be made. >=20 > -- Brooks Hello Brooks, I might be misunderstanding your comment, but if I'm not, I need to clarify the following: I am not attempting to build the ACE libraries themselves; I'm using the ACE package from the ports system. Problem is, when you include /usr/local/include/ace/OS_NS_netdb.h (installed when you install ACE from ports) in an application, it fails to build because the functions "::gethostbyaddr_r", "::gethostbyname_r", "::getprotobyname_r", "::getprotobynumber_r", "::getservbyname_r" don't appear to be defined anywhere. I was wondering if anyone with experience using ACE on FreeBSD had encountered this issue themselves. Thanks, JP