Date: Sat, 13 Oct 2007 20:36:27 +0200 From: Rainer Goellner <rainer@jabbe.de> To: x11@freebsd.org Subject: dmx compilation failure Message-ID: <4711102B.5060709@jabbe.de>
next in thread | raw e-mail | index | archive | help
Hi there, Building the xorg 7.3 Xdmx server module fails because the linker can't find some dbus and hal methods. The ports last words are: cc -DHAVE_DMX_CONFIG_H -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstric t-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-extern s -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT - D_THREAD_SAFE -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/local/include -I/usr/l ocal/include/freetype2 -I/usr/local/include/pixman-1 -I/usr/local/includ e/hal -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/includ e -I../../include -I../../include -I../../Xext -I../../composite -I../.. /damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I. ./../miext/damage -I../../render -I../../randr -I../../fb -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/includ e/pixman-1 -O -pipe -rdynamic -o Xdmx dmx.o dmxcb.o dmxcmap.o dmxcursor. o dmxdpms.o dmxextension.o dmxfont.o dmxgc.o dmxgcops.o dmxinit.o dmxinp ut.o dmxlog.o dmxpict.o dmxpixmap.o dmxprop.o dmxscrinit.o dmxshadow.o d mxstat.o dmxsync.o dmxvisual.o dmxwindow.o miinitext.o fbcmap_mi.o ../. ./dix/.libs/libdix.a ../../fb/.libs/libfb.a ../../mi/.libs/libmi.a ../.. /Xext/.libs/libXext.a ../../config/libconfig.a ../../render/.libs/libren der.a ../../XTrap/.libs/libxtrap.a ../../record/.libs/librecord.a ../../ Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../xkb/.libs/libxkbstubs.a ../../miext/damage/.libs/libdamage.a ../../miext/shadow/.libs/libshadow. a ../../os/.libs/libos.a ../../os/.libs/libcwrapper.a input/libdmxinput. a config/libdmxconfig.a -L/usr/local/lib /usr/local/lib/libXmuu.so /usr/ local/lib/libXrender.so /usr/local/lib/libXfixes.so /usr/local/lib/libXf ont.so /usr/local/lib/libfreetype.so /usr/local/lib/libfontenc.so -lz /u sr/local/lib/libXi.so /usr/local/lib/libXext.so /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libp ixman-1.so -lrpcsvc -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/ usr/local/lib ../../config/libconfig.a(dbus-core.o)(.text+0x31): In function `wakeup_h andler': : undefined reference to `dbus_connection_read_write_dispatch' ../../config/libconfig.a(dbus-core.o)(.text+0x3c): In function `wakeup_h andler': : undefined reference to `dbus_connection_get_dispatch_status' ../../config/libconfig.a(dbus-core.o)(.text+0x97): In function `teardown ': : undefined reference to `dbus_connection_unref' ../../config/libconfig.a(dbus-core.o)(.text+0x11c): In function `message _filter': : undefined reference to `dbus_message_is_signal' ../../config/libconfig.a(dbus-core.o)(.text+0x16c): In function `connect _to_bus': : undefined reference to `dbus_error_init' ../../config/libconfig.a(dbus-core.o)(.text+0x177): In function `connect _to_bus': : undefined reference to `dbus_bus_get' ... and so on until ... ../../config/libconfig.a(hal.o)(.text+0x81e): In function `connect_hook' : : undefined reference to `libhal_ctx_shutdown' ../../config/libconfig.a(hal.o)(.text+0x82f): In function `connect_hook' : : undefined reference to `libhal_ctx_free' ../../config/libconfig.a(hal.o)(.text+0x83e): In function `connect_hook' : : undefined reference to `dbus_error_free' *** Error code 1 Stop in /opt/FreeBSD/ports/x11-servers/xorg-dmx/work/xorg-server-1.4/hw/ dmx. *** Error code 1 Stop in /opt/FreeBSD/ports/x11-servers/xorg-dmx/work/xorg-server-1.4/hw/ dmx. *** Error code 1 Stop in /opt/FreeBSD/ports/x11-servers/xorg-dmx/work/xorg-server-1.4/hw. *** Error code 1 Stop in /opt/FreeBSD/ports/x11-servers/xorg-dmx/work/xorg-server-1.4. *** Error code 1 Stop in /opt/FreeBSD/ports/x11-servers/xorg-dmx. Any hints what's going on here? All of my ports where built after the import of Xorg 7.3, and I tried to compile dmx several times since then with an updated ports tree. BTW, nm(1) can see the missing symbols. I don't know whether they are exported though. Thx, Rainer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4711102B.5060709>