On Sun, 28.01.07 16:41, Julien TOUCHE ([EMAIL PROTECTED]) wrote: > > Hi > > i've encountered a compile error on osx.
There's probably just one header file inclusion missing from dns.c. Please check where in_addr_t is defined on MacOSX. On Debian it is defined in /usr/include/netinet/in.h, but that's apparently not the place where it is found in MacOS. Should be a trivial thing to fix. Unfortunately I do not have access to MacOSX, hence I cannot help you to fix this any better. > In file included from dns.c:31: > /usr/include/netinet/in.h:255: error: parse error before "in_addr_t" > /usr/include/netinet/in.h:312: error: parse error before "u_char" > /usr/include/netinet/in.h:313: error: ISO C forbids data definition with > no type or storage class > /usr/include/netinet/in.h:314: error: parse error before "sin_port" > /usr/include/netinet/in.h:314: error: ISO C forbids data definition with > no type or storage class > /usr/include/netinet/in.h:317: error: parse error before '}' token > /usr/include/netinet/in.h:329: error: field `ip_dst' has incomplete type > /usr/include/netinet/in.h:398: error: field `imr_multiaddr' has > incomplete type > /usr/include/netinet/in.h:399: error: field `imr_interface' has > incomplete type > dns.c: In function `avahi_rdata_parse': > dns.c:822: warning: cast discards qualifiers from pointer target type > dns.c: At top level: > /usr/include/netinet/in.h:315: error: storage size of `sin_addr' isn't known > make[2]: *** [libavahi_core_la-dns.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > Lennart -- Lennart Poettering; lennart [at] poettering [dot] net ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/ _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
