Re: freebsd/ace: Errors when compiling ACE application

[ Available lists | Index of freebsd-threads | Month of Dec 2006 | Week of 19 Dec 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
David Xu <bsddiy@126.com>
Date
19 Dec 2006 14:47:20
Subject
Re: freebsd/ace: Errors when compiling ACE application
Message-ID
4587FB56.6010306@126.com

References to

[ Hide this part ]
Jean-Philippe Daigle wrote:
>> -----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
>>
>> 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.
>>
>> -- 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
>
I heard the resolver in libc uses thread local storage, it is not
needed to have _r versions.

Regards,
David Xu



Elapsed time: 0.085 seconds