For the last few weeks I've been trying to compile xorg-server<br><br>I'm using:<br><br>sys-devel/gcc-4.2.1<br>sys-libs/glibc-2.6.1<br>sys-devel/binutils-2.17.50.0.18<br>sys-apps/hal-0.5.9.1-r1<br>sys-apps/dbus-1.1.2
<br><br>and this is the error:<br><br>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.o fbcmap_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<br>../../config/libconfig.a(dbus-core.o): In function `teardown':<br>dbus-core.c:(.text+0x8c): undefined reference to `dbus_connection_unref'
<br>../../config/libconfig.a(dbus-core.o): In function `wakeup_handler':<br>dbus-core.c:(.text+0x124): undefined reference to `dbus_connection_read_write_dispatch'<br>dbus-core.c:(.text+0x12d): undefined reference to `dbus_connection_get_dispatch_status'
<br>../../config/libconfig.a(dbus-core.o): In function `reconnect_timer':<br>dbus-core.c:(.text+0x195): undefined reference to `dbus_error_init'<br>dbus-core.c:(.text+0x19f): undefined reference to `dbus_bus_get'
<br>dbus-core.c:(.text+0x1b8): undefined reference to `dbus_error_is_set'<br>dbus-core.c:(.text+0x1d2): undefined reference to `dbus_connection_set_exit_on_disconnect'<br>dbus-core.c:(.text+0x1e4): undefined reference to `dbus_connection_get_unix_fd'
<br>dbus-core.c:(.text+0x217): undefined reference to `dbus_connection_add_filter'<br>dbus-core.c:(.text+0x227): undefined reference to `dbus_error_free'<br>dbus-core.c:(.text+0x2a2): undefined reference to `dbus_connection_unref'
<br>dbus-core.c:(.text+0x2bc): undefined reference to `dbus_error_free'<br>../../config/libconfig.a(dbus-core.o): In function `message_filter':<br>dbus-core.c:(.text+0x2ed): undefined reference to `dbus_message_is_signal'
<br>../../config/libconfig.a(hal.o): In function `disconnect_hook':<br>hal.c:(.text+0x29): undefined reference to `dbus_error_init'<br>hal.c:(.text+0x34): undefined reference to `libhal_ctx_shutdown'<br>hal.c:
(.text+0x3d): undefined reference to `libhal_ctx_free'<br>hal.c:(.text+0x45): undefined reference to `dbus_error_free'<br>../../config/libconfig.a(hal.o): In function `remove_device':<br>hal.c:(.text+0x74): undefined reference to `DeleteInputDeviceRequest'
<br>../../config/libconfig.a(hal.o): In function `get_prop_string':<br>hal.c:(.text+0x190): undefined reference to `libhal_device_get_property_string'<br>hal.c:(.text+0x1ac): undefined reference to `libhal_free_string'
<br>../../config/libconfig.a(hal.o): In function `device_added':<br>hal.c:(.text+0x1ce): undefined reference to `dbus_error_init'<br>hal.c:(.text+0x1e1): undefined reference to `libhal_device_get_property_strlist'
<br>hal.c:(.text+0x24b): undefined reference to `libhal_free_string_array'<br>hal.c:(.text+0x388): undefined reference to `libhal_device_get_property_strlist'<br>hal.c:(.text+0x3dc): undefined reference to `libhal_free_string_array'
<br>hal.c:(.text+0x40b): undefined reference to `libhal_free_string_array'<br>hal.c:(.text+0x543): undefined reference to `NewInputDeviceRequest'<br>hal.c:(.text+0x628): undefined reference to `dbus_error_free'
<br>../../config/libconfig.a(hal.o): In function `connect_hook':<br>hal.c:(.text+0x64a): undefined reference to `dbus_error_init'<br>hal.c:(.text+0x658): undefined reference to `libhal_ctx_new'<br>hal.c:(.text+0x67e): undefined reference to `libhal_ctx_set_dbus_connection'
<br>hal.c:(.text+0x69a): undefined reference to `libhal_ctx_init'<br>hal.c:(.text+0x6c4): undefined reference to `libhal_device_property_watch_all'<br>hal.c:(.text+0x6da): undefined reference to `libhal_ctx_set_device_added'
<br>hal.c:(.text+0x6e9): undefined reference to `libhal_ctx_set_device_removed'<br>hal.c:(.text+0x6fe): undefined reference to `libhal_find_device_by_capability'<br>hal.c:(.text+0x725): undefined reference to `libhal_free_string_array'
<br>hal.c:(.text+0x730): undefined reference to `dbus_error_free'<br>hal.c:(.text+0x750): undefined reference to `libhal_ctx_shutdown'<br>hal.c:(.text+0x759): undefined reference to `libhal_ctx_free'<br>hal.c:
(.text+0x764): undefined reference to `dbus_error_free'<br>collect2: ld returned 1 exit status<br>make[3]: *** [Xdmx] Error 1<br>make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/dmx'
<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw/dmx'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-9999/work/xorg-server-9999/hw'
<br>make: *** [all-recursive] Error 1<br><br><br>Any idea what is causing this?<br><br>I know it's possible to disable hal and dbus but it's the input autodetect features that I want to test<br><br>Cheers<br><br>Mike
<br>