Ticket #155 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

avahi-0.6.21 doesn't build against dbus-1.0.2 (stable version)

Reported by: ZlatkO Assigned to: lennart
Priority: blocker Milestone: Avahi 0.6.22
Component: build-system Version:
Keywords: Cc: ZlatkO

Description

Compilation fails with "undefined reference to `dbus_watch_get_unix_fd'", which is only available in the current dbus-1.1.x unstable version:

[...]
avahi_daemon-dbus-watch-glue.o: In function `update_watch':
/home/zlatko/usrlocal/src/avahi-0.6.21/avahi-daemon/../avahi-common/dbus-watch-glue.c:135: undefined reference to `dbus_watch_get_unix_fd'
collect2: ld returned 1 exit status
make[2]: *** [avahi-daemon] Error 1
make[2]: Leaving directory `/usr/local/src/avahi-0.6.21/avahi-daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/avahi-0.6.21'
make: *** [all] Error 2
make: *** No rule to make target `test'.  Stop.
[zlatko@disclosure]:~/usrlocal/src$ 

./configure didn't complain about the dbus version, though:

[...]
checking for DBUS... yes
Your D-Bus version is 1,0,2.
checking for dbus_connection_close... yes
checking for dbus_bus_get_private... yes
[...]
    dbus-1 system.d dir:                       /usr/local/etc/dbus-1/system.d
    dbus-1 version:                            1.0.2
    dbus-1 system socket:                      unix:path=/usr/local/var/run/dbus/system_bus_socket
[...]
    Enable D-Bus:                              yes
[...]

Change History

08/13/07 11:41:44 changed by lennart

  • status changed from new to closed.
  • resolution set to fixed.

Already fixed in SVN r1518, and announced on the ML:

http://lists.freedesktop.org/archives/avahi/2007-August/001113.html

Thanks for pointing this out!

08/30/07 16:34:35 changed by lennart

  • milestone set to Avahi 0.6.22.