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 Sep 30, 2009, at 4:21 AM, 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];"

Can you provide the whole error message? I started an amd64 cross build and I believe I'm already well past the part where this should happen. It was also reported to me that it builds on sparc64.

Proposed fix, as in dns_sd.h, ifdef the offending code out

The dns_sd.h doesn't fail, (and seems extremely unlikely to anyway), so it's just commented out to avoid getting a warning in everything using the header.

Home | Main Index | Thread Index | Old Index