error compiling

Anas Alzouhbi anas.lbn at gmail.com
Thu Apr 30 05:03:10 PDT 2009


Hello!
I'm a newbie developper using dbus
I try to cross-compile the code found on
http://dbus.freedesktop.org/doc/dbus/ , (in order tu run it on my
smarphone openmoko)
but I obtain this error messaj:
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
-Wl,-rpath-link,/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
-Wl,-O1 -lm  trydbus.o   -o trydbus
trydbus.o: In function `receive':
trydbus.c:(.text+0x18): undefined reference to `dbus_error_init'
trydbus.c:(.text+0x24): undefined reference to `dbus_bus_get'
trydbus.c:(.text+0x30): undefined reference to `dbus_error_is_set'
trydbus.c:(.text+0x54): undefined reference to `dbus_error_free'
trydbus.c:(.text+0x70): undefined reference to `dbus_bus_request_name'
trydbus.c:(.text+0x7c): undefined reference to `dbus_error_is_set'
trydbus.c:(.text+0xa0): undefined reference to `dbus_error_free'
trydbus.c:(.text+0xc0): undefined reference to `dbus_bus_add_match'
trydbus.c:(.text+0xc8): undefined reference to `dbus_connection_flush'
trydbus.c:(.text+0xd0): undefined reference to `dbus_error_is_set'
trydbus.c:(.text+0x108): undefined reference to `dbus_connection_read_write'
trydbus.c:(.text+0x110): undefined reference to `dbus_connection_pop_message'
trydbus.c:(.text+0x130): undefined reference to `dbus_message_is_signal'
trydbus.c:(.text+0x148): undefined reference to `dbus_message_iter_init'
trydbus.c:(.text+0x15c): undefined reference to `dbus_message_iter_get_arg_type'
trydbus.c:(.text+0x184): undefined reference to `dbus_message_iter_get_basic'
....
this is a part of error messaj, what I have to do??


More information about the dbus mailing list