- This topic has 0 replies, 1 voice, and was last updated 12 years, 1 month ago by bhb.
24th January 2009 at 2:41 pm #2725bhbGuest
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.
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: *** [rend-avahi.o] Error 1
make: *** [all] Error 2
make: *** [all-recursive] Error 1
- The forum ‘Setup Issues’ is closed to new topics and replies.