freebsd/ace: Errors when compiling ACE application

Daniel Eischen deischen at
Mon Dec 18 16:23:36 PST 2006

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.


More information about the freebsd-threads mailing list