Git compilation problems dbus and hal symbols "undefined"

Michael Lothian mike at fireburn.co.uk
Thu Aug 16 14:45:22 PDT 2007


For the last few weeks I've been trying to compile xorg-server

I'm using:

sys-devel/gcc-4.2.1
sys-libs/glibc-2.6.1
sys-devel/binutils-2.17.50.0.18
sys-apps/hal-0.5.9.1-r1
sys-apps/dbus-1.1.2

and this is the error:

i686-pc-linux-gnu-gcc -DHAVE_DMX_CONFIG_H -DHAVE_DIX_CONFIG_H -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE
-I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -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
-I../../hw/xfree86/dixmods/extmod
-I/var/tmp/portage/x11-base/xorg-server-9999/work/mesa/include
-I/usr/include/freetype2 -I/usr/include/pixman-1 -Os -fomit-frame-pointer
-frename-registers -w -march=native -rdynamic -Wl,-O1 -Wl,--sort-common
-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z -Wl,lazy -o Xdmx dmx.o dmxcb.o
dmxcmap.o dmxcursor.o dmxdpms.o dmxextension.o dmxfont.o dmxgc.o dmxgcops.o
dmxinit.o dmxinput.o dmxlog.o dmxpict.o dmxpixmap.o dmxprop.o dmxscrinit.o
dmxshadow.o dmxstat.o dmxsync.o dmxvisual.o dmxwindow.o miinitext.ofbcmap_mi.o
panoramiX.o dmx_glxvisuals.o  ../../dix/.libs/libdix.a
../../fb/.libs/libfb.a ../../mi/.libs/libmi.a ../../Xext/.libs/libXext.a
../../config/libconfig.a ../../render/.libs/librender.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 glxProxy/libglxproxy.a input/libdmxinput.a
config/libdmxconfig.a /usr/lib/libXmuu.so /usr/lib/libXrender.so
/usr/lib/libXfixes.so /usr/lib/libXfont.so /usr/lib/libfreetype.so
/usr/lib/libfontenc.so -lz /usr/lib/libXi.so /usr/lib/libX11.so
/usr/lib/libXext.so /usr/lib/libxcb-xlib.so /usr/lib/libxcb.so -ldl
/usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libpixman-1.so -lm -lrt
../../config/libconfig.a(dbus-core.o): In function `teardown':
dbus-core.c:(.text+0x8c): undefined reference to `dbus_connection_unref'
../../config/libconfig.a(dbus-core.o): In function `wakeup_handler':
dbus-core.c:(.text+0x124): undefined reference to
`dbus_connection_read_write_dispatch'
dbus-core.c:(.text+0x12d): undefined reference to
`dbus_connection_get_dispatch_status'
../../config/libconfig.a(dbus-core.o): In function `reconnect_timer':
dbus-core.c:(.text+0x195): undefined reference to `dbus_error_init'
dbus-core.c:(.text+0x19f): undefined reference to `dbus_bus_get'
dbus-core.c:(.text+0x1b8): undefined reference to `dbus_error_is_set'
dbus-core.c:(.text+0x1d2): undefined reference to
`dbus_connection_set_exit_on_disconnect'
dbus-core.c:(.text+0x1e4): undefined reference to
`dbus_connection_get_unix_fd'
dbus-core.c:(.text+0x217): undefined reference to
`dbus_connection_add_filter'
dbus-core.c:(.text+0x227): undefined reference to `dbus_error_free'
dbus-core.c:(.text+0x2a2): undefined reference to `dbus_connection_unref'
dbus-core.c:(.text+0x2bc): undefined reference to `dbus_error_free'
../../config/libconfig.a(dbus-core.o): In function `message_filter':
dbus-core.c:(.text+0x2ed): undefined reference to `dbus_message_is_signal'
../../config/libconfig.a(hal.o): In function `disconnect_hook':
hal.c:(.text+0x29): undefined reference to `dbus_error_init'
hal.c:(.text+0x34): undefined reference to `libhal_ctx_shutdown'
hal.c:(.text+0x3d): undefined reference to `libhal_ctx_free'
hal.c:(.text+0x45): undefined reference to `dbus_error_free'
../../config/libconfig.a(hal.o): In function `remove_device':
hal.c:(.text+0x74): undefined reference to `DeleteInputDeviceRequest'
../../config/libconfig.a(hal.o): In function `get_prop_string':
hal.c:(.text+0x190): undefined reference to
`libhal_device_get_property_string'
hal.c:(.text+0x1ac): undefined reference to `libhal_free_string'
../../config/libconfig.a(hal.o): In function `device_added':
hal.c:(.text+0x1ce): undefined reference to `dbus_error_init'
hal.c:(.text+0x1e1): undefined reference to
`libhal_device_get_property_strlist'
hal.c:(.text+0x24b): undefined reference to `libhal_free_string_array'
hal.c:(.text+0x388): undefined reference to
`libhal_device_get_property_strlist'
hal.c:(.text+0x3dc): undefined reference to `libhal_free_string_array'
hal.c:(.text+0x40b): undefined reference to `libhal_free_string_array'
hal.c:(.text+0x543): undefined reference to `NewInputDeviceRequest'
hal.c:(.text+0x628): undefined reference to `dbus_error_free'
../../config/libconfig.a(hal.o): In function `connect_hook':
hal.c:(.text+0x64a): undefined reference to `dbus_error_init'
hal.c:(.text+0x658): undefined reference to `libhal_ctx_new'
hal.c:(.text+0x67e): undefined reference to `libhal_ctx_set_dbus_connection'
hal.c:(.text+0x69a): undefined reference to `libhal_ctx_init'
hal.c:(.text+0x6c4): undefined reference to
`libhal_device_property_watch_all'
hal.c:(.text+0x6da): undefined reference to `libhal_ctx_set_device_added'
hal.c:(.text+0x6e9): undefined reference to `libhal_ctx_set_device_removed'
hal.c:(.text+0x6fe): undefined reference to
`libhal_find_device_by_capability'
hal.c:(.text+0x725): undefined reference to `libhal_free_string_array'
hal.c:(.text+0x730): undefined reference to `dbus_error_free'
hal.c:(.text+0x750): undefined reference to `libhal_ctx_shutdown'
hal.c:(.text+0x759): undefined reference to `libhal_ctx_free'
hal.c:(.text+0x764): undefined reference to `dbus_error_free'
collect2: ld returned 1 exit status
make[3]: *** [Xdmx] Error 1
make[3]: Leaving directory
`/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/dmx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/dmx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw'
make: *** [all-recursive] Error 1


Any idea what is causing this?

I know it's possible to disable hal and dbus but it's the input autodetect
features that I want to test

Cheers

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070816/3ca98968/attachment.html>


More information about the xorg mailing list