Error while building xserver-1.3.99.x

Łukasz Jernaś deejay1 at srem.org
Sun Aug 5 02:54:27 PDT 2007


Hello.

While building the latest xserver from git I get the following error:
../../config/libconfig.a(dbus-core.o): In function `teardown':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:87: undefined 
reference to `dbus_connection_unref'
../../config/libconfig.a(dbus-core.o): In function `wakeup_handler':
[...]
and so on (more in the attached log)
IT seems like it doesn't link it with the dbus lib. Unfortunatly I got lost 
somewhere in the autohell...

Greetz,
-- 
Łukasz [DeeJay1] Jernaś
-------------- next part --------------
i686-pld-linux-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/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/home/users/deejay1/PRACA/rpm/BUILD/xserver/Mesa-7.0.1/include -I/usr/include/freetype2 -O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2 -rdynamic -Wl,--as-needed -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 ../../config/libconfig.a ../../fb/.libs/libfb.a ../../mi/.libs/libmi.a ../../Xext/.libs/libXext.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/libXext.so /usr/lib/libX11.so /usr/lib/libxcb-xlib.so /usr/lib/libxcb.so -ldl /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libpixman.so -lm -lrt
../../config/libconfig.a(dbus-core.o): In function `teardown':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:87: undefined reference to `dbus_connection_unref'
../../config/libconfig.a(dbus-core.o): In function `wakeup_handler':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:58: undefined reference to `dbus_connection_read_write_dispatch'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:59: undefined reference to `dbus_connection_get_dispatch_status'
../../config/libconfig.a(dbus-core.o): In function `connect_to_bus':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:138: undefined reference to `dbus_error_init'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:139: undefined reference to `dbus_bus_get'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:179: undefined reference to `dbus_error_free'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:140: undefined reference to `dbus_error_is_set'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:147: undefined reference to `dbus_connection_set_exit_on_disconnect'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:149: undefined reference to `dbus_connection_get_unix_fd'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:176: undefined reference to `dbus_connection_unref'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:154: undefined reference to `dbus_connection_add_filter'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:161: undefined reference to `dbus_error_free'
../../config/libconfig.a(dbus-core.o): In function `message_filter':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/dbus-core.c:112: undefined reference to `dbus_message_is_signal'
../../config/libconfig.a(hal.o): In function `disconnect_hook':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:274: undefined reference to `dbus_error_init'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:275: undefined reference to `libhal_ctx_shutdown'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:277: undefined reference to `libhal_ctx_free'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:278: undefined reference to `dbus_error_free'
../../config/libconfig.a(hal.o): In function `remove_device':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:59: undefined reference to `DeleteInputDeviceRequest'
../../config/libconfig.a(hal.o): In function `get_prop_string':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:106: undefined reference to `libhal_device_get_property_string'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:110: undefined reference to `libhal_free_string'
../../config/libconfig.a(hal.o): In function `device_added':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:166: undefined reference to `dbus_error_init'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:168: undefined reference to `libhal_device_get_property_strlist'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:262: undefined reference to `dbus_error_free'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:185: undefined reference to `libhal_free_string_array'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:235: undefined reference to `NewInputDeviceRequest'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:185: undefined reference to `libhal_free_string_array'
../../config/libconfig.a(hal.o): In function `get_prop_string_array':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:126: undefined reference to `libhal_device_get_property_strlist'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:144: undefined reference to `libhal_free_string_array'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:133: undefined reference to `libhal_free_string_array'
../../config/libconfig.a(hal.o): In function `connect_hook':
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:295: undefined reference to `dbus_error_init'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:304: undefined reference to `libhal_ctx_set_dbus_connection'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:308: undefined reference to `libhal_ctx_init'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:335: undefined reference to `libhal_ctx_free'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:337: undefined reference to `dbus_error_free'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:313: undefined reference to `libhal_device_property_watch_all'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:318: undefined reference to `libhal_ctx_set_device_added'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:319: undefined reference to `libhal_ctx_set_device_removed'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:321: undefined reference to `libhal_find_device_by_capability'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:325: undefined reference to `libhal_free_string_array'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:327: undefined reference to `dbus_error_free'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:332: undefined reference to `libhal_ctx_shutdown'
/home/users/deejay1/PRACA/rpm/BUILD/xserver/config/hal.c:298: undefined reference to `libhal_ctx_new'
collect2: ld returned 1 exit status
make[3]: *** [Xdmx] Error 1
make[3]: Leaving directory `/home/users/deejay1/PRACA/rpm/BUILD/xserver/hw/dmx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/users/deejay1/PRACA/rpm/BUILD/xserver/hw/dmx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/deejay1/PRACA/rpm/BUILD/xserver/hw'
make: *** [all-recursive] Error 1
bĹ‚Ä
d: Błędny status wyjścia z /home/users/deejay1/tmp/rpm-tmp.90404 (%build)


Błędy budowania RPM-a:
    Błędny status wyjścia z /home/users/deejay1/tmp/rpm-tmp.90404 (%build)

-------------- next part --------------
%configure \
	--with-os-name="PLD/Linux" \
	--with-os-vendor="PLD/Team" \
	--enable-dga \
	--enable-builddocs \
	--enable-lbx \
	--enable-xevie \
	--enable-dmx \
	--enable-xprint \
	--with-dri-driver-path=%{_libdir}/xorg/modules/dri \
	--with-default-font-path="%{_fontsdir}/misc,%{_fontsdir}/TTF,%{_fontsdir}/OTF,%{_fontsdir}/Type1,%{_fontsdir}/100dpi,%{_fontsdir}/75dpi" \
	--with-mesa-source="`pwd`/Mesa-%{mesa_version}" \
	--with-xkb-output=/var/lib/xkb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.x.org/archives/xorg/attachments/20070805/b48c02b5/attachment.pgp>


More information about the xorg mailing list