trying to add DNS code to C++ program
D. R. Evans
N7DR at arrl.net
Tue May 1 23:21:47 UTC 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Got it to build!
The magic incantations were:
1. Do not use any of the headers from bind-devel except for <arpa/nameser.h>
2. Explicitly #define BIND_RES_POSIX3 before including any header files
3. Make sure to include -lbind on the command line (this is the only one of
the three that I deem "obvious")
This seems pretty weird to me. It surely can't be the way it's supposed to
work.
I fully expect something else to break as I actually add DNS code :-( The
first two incantations above don't have the appearance of robustness.
Doc Evans
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: Key obtainable from servers: ID 0x362912B8
iQA/AwUBOu9FCmnXrLw2KRK4EQK8HACgwVXLLhElxVUZfTrnXVtZZo9UlvUAnjhq
k4Ohm1ukm/MlftV7BTIkLcNb
=z/IY
-----END PGP SIGNATURE-----
----------------------------------------------------------
D.R. Evans N7DR / G4AMJ N7DR at arrl.net
Two assassins and one very manipulative businessman:
"Reflexive Action" is now available.
See http://www.sff.net/people/N7DR/drevans.htp for details.
----------------------------------------------------------
More information about the bind-users
mailing list