Lennart Poettering wrote on 4/02/07 20:24:
/usr/include/sys/types.h:95:typedef u_int32_t in_addr_t;

This file should be what you are looking for. Please try to add
"#include <sys/types.h>" to dns.c just before netinet/in.h and see if
it works. If it does we will add this in our upstream sources.


that's it

get another error

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. '-DDEBUG_TRAP=__asm__("int $3")' -DAVAHI_DAEMON_RUNTIME_DIR=\"/opt/local/var/run/avahi-daemon/\" -DAVAHI_SOCKET=\"/opt/local/var/run/avahi-daemon/socket\" -DAVAHI_SERVICE_DIR=\"/opt/local/etc/avahi/services\" -DAVAHI_CONFIG_FILE=\"/opt/local/etc/avahi/avahi-daemon.conf\" -DAVAHI_HOSTS_FILE=\"/opt/local/etc/avahi/hosts\" -DAVAHI_DBUS_INTROSPECTION_DIR=\"/opt/local/share/avahi/introspection\" -DAVAHI_CONFIG_DIR=\"/opt/local/etc/avahi\" -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 -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline -c -o avahi_daemon-static-services.o `test -f 'static-services.c' || echo './'`static-services.c
static-services.c: In function `static_service_load':
static-services.c:693: error: `GLOB_ABORTED' undeclared (first use in this function) static-services.c:693: error: (Each undeclared identifier is reported only once
static-services.c:693: error: for each function it appears in.)
static-services.c:697: error: `GLOB_NOMATCH' undeclared (first use in this function)
make[2]: *** [avahi_daemon-static-services.o] Error 1
make[1]: *** [all-recursive] Error 1


$ grep -rn GLOB_ABORTED /usr/include/*
$


thanks
Regards


                Julien
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to