From owner-freebsd-threads@FreeBSD.ORG Tue Dec 19 00:23:36 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 4326916A407 for ; Tue, 19 Dec 2006 00:23:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C80EE43CA0 for ; Tue, 19 Dec 2006 00:23:35 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.8/8.13.8/NETPLEX) with ESMTP id kBJ0NI1Y029073; Mon, 18 Dec 2006 19:23:18 -0500 (EST) Date: Mon, 18 Dec 2006 19:23:18 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Brooks Davis In-Reply-To: <20061218220234.GC88878@lor.one-eyed-alien.net> Message-ID: References: <6B865826E860EF42B3A387A03F395396147E73D6@EX0004.AllstreamITS.local> <20061218220234.GC88878@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.ntplx.net [204.213.176.10]); Mon, 18 Dec 2006 19:23:19 -0500 (EST) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: freebsd-threads@freebsd.org, Jean-Philippe Daigle Subject: Re: freebsd/ace: Errors when compiling ACE application X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2006 00:23:36 -0000 On Mon, 18 Dec 2006, Brooks Davis wrote: > On Mon, Dec 18, 2006 at 04:29:49PM -0500, Jean-Philippe Daigle wrote: >> Hello, >> >> I'm trying to compile an application using the FreeBSD port of ACE 5.5. >> We've been successfully supporting the application under Linux, and are >> currently trying to port to FreeBSD 6.1. >> >> The problem I'm having now is that including ace/OS_NS_netdb.h results >> in errors; from what I've read, gethost*_r functions are not defined on >> FreeBSD? >> >> My compiler output looks like the following, and since this is FreeBSD, >> I believe "ACE_LACKS_NETDB_REENTRANT_FUNCTIONS" is defined. Help from >> any other ACE-on-FreeBSD users would be greatly appreciated! > > 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. I'd also like to reiterate what Brooks said above. If you aren't using the FreeBSD ports system, you will just be referred back to it if you have problems like this. -- Dan