[Pdns-users] Re: compiling on x86_64

Moritz Bunkus m.bunkus at linet-services.de
Fri Feb 11 08:09:09 UTC 2005


Hey,

> +  Logger& operator<<(long);  //!> log a long
> +  Logger& operator<<(unsigned long);  //!< log an unsigned long

You only _declare_ the operators but never implement them. That's why
you get errors at linking time about undefined references. Implement
them the same way that operator <<(int) etc is implemented and you
should be fine.

Mosu

-- 
LINET Services GbR

Gotenweg 15                      Tel.: 0531-280 191 71
38106 Braunschweig               Fax.: 0531-280 191 72

http://www.linet-services.de
info at linet-services.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20050211/b3ac452d/attachment-0001.sig>


More information about the Pdns-users mailing list