[Pdns-dev] compiling pdns by icc
Norbert Sendetzky
norbert at linuxnetworks.de
Fri Oct 24 16:22:26 CEST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 24 October 2003 12:08, Norbert Sendetzky wrote:
> Furthermore I've changed the line below in
> pdns/backend/bind/bindbackend.hh and
> pdns/backend/bind/bindbackend2.hh:
>
> - typedef hash_map<string,vector<BBResourceRecord>, hash_string,
> compare_string> cmap_t;
> + typedef hash_map<string,vector<BBResourceRecord> > cmap_t;
I finally changed it to
typedef map<string,vector<BBResourceRecord> > cmap_t;
> and changed this line in packetcache.hh:
>
> - typedef hash_map<ckey_t,cvalue_t, hash_string, compare_string >
> cmap_t;
> + typedef hash_map<ckey_t,cvalue_t> cmap_t;
and this to
typedef map<ckey_t,cvalue_t> cmap_t;
I additionally had to compile a static version
(LDFLAGS=-static-libcxa), because after compiling there was no
ldapbackend.so.0.0.0 in modules/ldapbackend/.libs/, but finally I got
a working pdns_server :-)
Well at least the bind-example-zones and the ldapbackend are working
correctly and I havn't done further tests.
Norbert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj+ZJ5IACgkQxMLs5v5/7eAJBQCeIiV8W5v3Ts1AKKlWKntf+k/N
A7MAoJBW6VB8r10Dv/iBKk3VWlOEPD/w
=h37I
-----END PGP SIGNATURE-----
More information about the Pdns-dev
mailing list