[avahi] avahi 0.6.16 on macos 10.3.9

Julien TOUCHE julien.touche at lycos.com
Mon Feb 5 10:51:15 PST 2007


Lennart Poettering wrote on 5/02/07 14:51:
> If that fixes the problem I will make the same change upstream.

fix ok

next ...

Making all in avahi-autoipd
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I.. '-DDEBUG_TRAP=__asm__("int 
$3")' -DAVAHI_RUNTIME_DIR=\"/opt
/local/var/run/\" 
-DAVAHI_IPCONF_SCRIPT=\"/opt/local/etc/avahi/avahi-autoipd.action\" 
-DAVAHI_IPDATA
_DIR=\"/opt/local/var/lib/avahi-autoipd\" -D_REENTRANT 
-I/opt/local/include   -I/opt/local/include -
std=c99 -Wall -W -pedantic -pipe -Wformat -Wfloat-equal 
-Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow 
-Wendif-labels -Wpointer-arith -Wb
ad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -c -o 
avahi_autoipd-main.o `test
-f 'main.c' || echo './'`main.c
main.c:29:30: netpacket/packet.h: No such file or directory
main.c:64:2: #error "avahi-autoipd is only available on Linux for now"
main.c: In function `open_socket':
main.c:397: error: storage size of `sa' isn't known
main.c:403: error: `PF_PACKET' undeclared (first use in this function)
main.c:403: error: (Each undeclared identifier is reported only once
main.c:403: error: for each function it appears in.)
main.c:409: error: `AF_PACKET' undeclared (first use in this function)
main.c:410: error: `ETH_P_ARP' undeclared (first use in this function)
main.c:397: warning: unused variable `sa'
main.c: In function `send_packet':
main.c:441: error: storage size of `sa' isn't known
main.c:448: error: `AF_PACKET' undeclared (first use in this function)
main.c:449: error: `ETH_P_ARP' undeclared (first use in this function)
main.c:441: warning: unused variable `sa'
main.c: In function `recv_packet':
main.c:464: error: storage size of `sa' isn't known
main.c:464: warning: unused variable `sa'
main.c: In function `drop_privs':
main.c:677: warning: implicit declaration of function `umask'
main.c:678: warning: implicit declaration of function `mkdir'
main.c:689: error: storage size of `st' isn't known
main.c:693: warning: implicit declaration of function `stat'
main.c:698: warning: implicit declaration of function `S_ISDIR'
main.c:689: warning: unused variable `st'
main.c:693: warning: implicit declaration of function `stat'
main.c:698: warning: implicit declaration of function `S_ISDIR'
main.c:689: warning: unused variable `st'
make[2]: *** [avahi_autoipd-main.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

first, configure says:
Building avahi-autoipd:             yes
but there is no option to disable it. (as it seems there is no option to 
en/disable chroot. my darwin says no :( )

else (AF|PF)_PACKET, ETH_P_ARP does not exist in /usr/include. linux 
only, i suppose ?


thanks
Regards


		Julien


More information about the avahi mailing list