Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mDNSResponder build failure on 64-bit platform (amd64)



On Wed, Sep 30, 2009 at 04:21:44AM -0400, Elias Benali wrote:
> This particular line fails due to the assumptions about the size of
> the structure,
> 
> external/apache2/mDNSResponder/dist/mDNSShared/dnssd_ipc.h:338 :
> "char assert1[(sizeof(ipc_msg_hdr)      == 28) ? 1 : -1];"
> 
> Proposed fix, as in dns_sd.h, ifdef the offending code out

> +#if !defined(__NetBSD__)
>  struct CompileTimeAssertionChecks_dnssd_ipc
>       {
>       // Check that the compiler generated our on-the-wire packet format
> structure definitions

That doesn't seem to make much sense.  If there really is supposed to
be a fixed size on-the-wire format as the comment implies, commenting
out those checks probably isn't the right thing to do.

eric


Home | Main Index | Thread Index | Old Index