[avahi] GA_TYPE_CLIENT_STATE undeclared

Krasimir Kazakov kkazakov at gmail.com
Sun May 25 22:58:56 PDT 2008


Hi,

I'm trying to compile latest avahi for pdaXrom distribution on zaurus (beta3
version). However, I encountered the following error:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -mcpu=xscale -mtune=iwmmxt -O3
-fomit-frame-pointer -fno-common -I.. "-DDEBUG_TRAP=__asm__(\"int \$3\")"
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -mcpu=xscale
-mtune=iwmmxt -O3 -fomit-frame-pointer -fno-common -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 -D__EXTENSIONS__ -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
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)
make[3]: *** [libavahi_gobject_la-ga-client.lo] Error 1
make[3]: Leaving directory `/storage/devel/build/avahi-0.6.22/avahi-gobject'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/storage/devel/build/avahi-0.6.22/avahi-gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/storage/devel/build/avahi-0.6.22'
make: *** [all] Error 2

----
There are few other things undefined after that. Searching google for
GA_TYPE_CLIENT_STATE to find where it was defined, didn't produced any
results, other than source file from avahi tree, and an ubuntu patch.

Can someone help me and tell me what library I'm missing?


Thanks!






-- 
Regards: Krasimir Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/avahi/attachments/20080526/679af1a4/attachment.html 


More information about the avahi mailing list