trying to add DNS code to C++ program

Joseph S D Yao jsdy at cospo.osis.gov
Thu May 3 15:14:13 UTC 2001


On Wed, May 02, 2001 at 06:51:30PM -0600, D. R. Evans wrote:
...
> > > > On 1 May 01, at 18:06, Joseph S D Yao wrote:
...
> > > When you do an 'ar tv libbind.a', does it show res* modules?
> 
> Yes, it does. As I posted yesterday, by performing the proper sacrifices 
> and incantations I seem to have it working now. My (Mandrake 7.2) 
> distribution really did not like the resolv.h file at all, but by ignoring 
> all the header files except <arpa/nameser.h>, and defining something-or-
> other to do with POSIX, I now seem to have code that compiles, links and 
> even seems to run (so far). This stuff isn't for the faint of heart, is it?

(*sigh*)  It's supposed to be fairly easy to install BIND itself.  But
I don't believe anyone ever said that using the resolver subroutines
was easy - it takes more understanding of DNS theory.  Nevertheless, it
should never have been THIS arcane.

I suspect that you somehow included OLD #define's of macros to functions
somewhere.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
OSIS/COSPO Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list