[Pdns-users] PowerDNS 2.9.16 + dnscache not working

Matt Dainty matt at bodgit-n-scarper.com
Sat Mar 13 02:18:33 UTC 2004


* Roderick Groesbeek <powerdns at roderick.triple-it.nl> [2004-03-12 23:43:35]:
> Hello Matt,
> 
> Probably you wanna check that the following code *DOES* get compiled in on
> your
> system.
> 
> ~~
> #ifdef WORDS_BIGENDIAN
>         // this is needed because spoof ID down below does not respect the
> nativ
> e byteorder
>         d.id = ( 256 * (u_int16_t)buffer[1] ) + (u_int16_t)buffer[0];
> #endif
> "dnsproxy.cc" [Read only] line 176 of 216 --81%--
> ~~
> 
> Or recompile your code with "CXXFLAGS=-DWORDS_BIGENDIAN ./configure" just to
> be sure.

Hi Roderick,

I checked config.h and it was defined already, but I tried setting
CXXFLAGS anyway, and it didn't make any difference, same problem.

Cheers

Matt
-- 
"Phased plasma rifle in a forty-watt range?"
"Hey, just what you see, pal."


More information about the Pdns-users mailing list