[avahi] Compilation issue

Gautham Gautham at mindtree.com
Thu Oct 21 04:47:13 PDT 2010


Hello
I'd like to run avahi just to register a static service on the device. The device is running montavista linux (2.6.18 kernel). I'm using 0.6.28 verson of avahi source.

While configuring I'm disabling the following options.

./configure --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 --disable-gdbm --disable-python --disable-pygtk --disable-python-dbus --disable-glib --disable-gobject --disable-nls --disable-dbus

The .configure is successful & then I run make. I get the following error while running make.


sd-daemon.c: In function âsd_notifyâ:
sd-daemon.c:327: warning: unused parameter âunset_environmentâ [-Wunused-parameter]
sd-daemon.c:327: warning: unused parameter âstateâ [-Wunused-parameter]
sd-daemon.c: In function âtouchâ:
sd-daemon.c:445: error: âO_CLOEXECâ undeclared (first use in this function)
sd-daemon.c:445: error: (Each undeclared identifier is reported only once
sd-daemon.c:445: error: for each function it appears in.)
make[2]: *** [avahi_daemon-sd-daemon.o] Error 1
make[2]: Leaving directory `/root/gautham/avahi-0.6.28/avahi-daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gautham/avahi-0.6.28'
make: *** [all] Error 2

Any clues?

Regards
Gautham




________________________________

http://www.mindtree.com/email/disclaimer.html


More information about the avahi mailing list