trying to add DNS code to C++ program
D. R. Evans
N7DR at arrl.net
Thu May 3 00:51:30 UTC 2001
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> ...
> > > On 1 May 01, at 18:06, Joseph S D Yao wrote:
> > > > Did you try adding -lres to the end of the compile command line?
> > >
> > > Nope. There is no libres.a anywhere on my system. Should there be?
> >
> > To be honest, I don't know for sure. There is on some Linux
> > distributions. In more recent versions of BIND, this is included in
> > libbind.a. Are you using the version of libbind.a produced by the
> > version of BIND that you're installing? What version is it? Did it
> > include the modules in lib/resolv?
> >
> > 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?
Doc Evans
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60
Comment: Key obtainable from servers: ID 0x362912B8
iQA/AwUBOvCrkWnXrLw2KRK4EQLaqgCdF2UmnuoLY6ZboiJVFmOaxaNjVV4AoNhW
PKlKTrwvRcc9vzV4wizOHAwX
=5D9Q
-----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