Trying to compile avahi 0.6.23 and during the avahi-gobject phase I get the following error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. "-DDEBUG_TRAP=asm(\"int \$3\")" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -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 -fPIC -D_XOPEN_SOURCE=500 -DEXTENSIONS -MT libavahi_gobject_la-ga-client.lo -MD -MP -MF .deps/libavahi_gobject_la-ga-client.Tpo -c ga-client.c -fPIC -DPIC -o .libs/libavahi_gobject_la-ga-client.o
In file included from ga-client.c:29:
ga-client-enumtypes.h:4:13: warning: extra tokens at end of #ifndef directive
ga-client-enumtypes.h:5:13: warning: ISO C99 requires whitespace after the macro name
ga-client-enumtypes.h:12:11: warning: ISO C99 requires whitespace after the macro name
ga-client-enumtypes.h:14:11: warning: ISO C99 requires whitespace after the macro name
ga-client-enumtypes.h:14:1: warning: "GA" redefined
ga-client-enumtypes.h:12:1: warning: this is the location of the previous definition
ga-client.c: In function 'ga_client_class_init':
ga-client.c:127: error: 'GA_TYPE_CLIENT_STATE' undeclared (first use in this function)
ga-client.c:127: error: (Each undeclared identifier is reported only once
ga-client.c:127: error: for each function it appears in.)
ga-client.c:136: error: 'GA_TYPE_CLIENT_FLAGS' undeclared (first use in this function)
I can't seem to figure this out.
Any help or insights would be greately appreciated.
Thanks,
Zeqadious