Problem with avahi on OSX

This topic contains 0 replies, has 0 voices, and was last updated by  bhb 8 years, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2725

    bhb

    Hi

    I’m trying to create a fink package for mt-daapd.

    When I try to compile with avahi support (–enable-avahi) I get following error during compilation. Without avahi compilation works fine.

    Any idea?

    Beat

    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include -g -I/sw/include -D_REENTRANT -DWITH_AVAHI -DOGGVORBIS -DHOST='”powerpc-apple-darwin9.6.0″‘ -no-cpp-precomp -DMAC -g -O2 -MT rend-avahi.o -MD -MP -MF “.deps/rend-avahi.Tpo” -c -o rend-avahi.o rend-avahi.c;
    then mv -f “.deps/rend-avahi.Tpo” “.deps/rend-avahi.Po”; else rm -f “.deps/rend-avahi.Tpo”; exit 1; fi
    In file included from rend-avahi.c:31:
    /usr/include/net/if.h:259: error: field ‘ifru_addr’ has incomplete type
    /usr/include/net/if.h:260: error: field ‘ifru_dstaddr’ has incomplete type
    /usr/include/net/if.h:261: error: field ‘ifru_broadaddr’ has incomplete type
    /usr/include/net/if.h:298: error: field ‘ifra_addr’ has incomplete type
    /usr/include/net/if.h:299: error: field ‘ifra_broadaddr’ has incomplete type
    /usr/include/net/if.h:300: error: field ‘ifra_mask’ has incomplete type
    /usr/include/net/if.h:374: error: field ‘addr’ has incomplete type
    /usr/include/net/if.h:375: error: field ‘dstaddr’ has incomplete type
    make[3]: *** [rend-avahi.o] Error 1
    make[2]: *** [all] Error 2
    make[1]: *** [all-recursive] Error 1

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Register here