dnsmasq failes link with dbus enabled/dbus pkg-config incomplete?
Matthias Andree
matthias.andree at gmx.de
Sat Oct 4 11:09:05 UTC 2008
>Submitter-Id: current-users
>Originator: Matthias Andree
>Organization:
>Confidential: no
>Synopsis: dnsmasq failes link with dbus enabled/dbus pkg-config incomplete?
>Severity: non-critical
>Priority: low
>Category: ports
>Class: sw-bug
>Release: FreeBSD 6.4-PRERELEASE i386
>Environment:
System: FreeBSD merlin.emma.line.org 6.4-PRERELEASE FreeBSD 6.4-PRERELEASE #37: Sat Sep 20 11:01:06 CEST 2008 root at merlin:/usr/obj/usr/src/sys/MERLIN i386
>Description:
dnsmasq fails compile if dbus is enabled. This may be a problem with dbus's
pkg-config configuration that doesn't list -lpthread.
Symptom:
gmake[1]: Entering directory `/usr/home/emma/ports/dns/dnsmasq/work/dnsmasq-2.45
/src'
cc -o dnsmasq cache.o rfc1035.o util.o option.o forward.o isc.o network.o dnsm
asq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o tftp.o log.o -L/u
sr/local/lib -ldbus-1
/usr/local/lib/libdbus-1.so: undefined reference to `pthread_equal'
/usr/local/lib/libdbus-1.so: undefined reference to `pthread_cond_timedwait'
gmake[1]: *** [dnsmasq] Error 1
gmake[1]: Leaving directory `/usr/home/emma/ports/dns/dnsmasq/work/dnsmasq-2.45/
src'
gmake: *** [dnsmasq] Error 2
*** Error code 2
Stop in /usr/home/emma/ports/dns/dnsmasq.
*** Error code 1
Stop in /usr/home/emma/ports/dns/dnsmasq.
>How-To-Repeat:
cd /usr/ports/dns/dnsmasq
make config
# enable DBUS support
make
>Fix:
More information about the freebsd-gnome
mailing list