Skip to contentSkip to conversation

Linking Cups with dbus broken

Buildroot Christian SCHWARZ 2 participants 2 messages Mar 25, 2008

lore
Share & tools
lore
#0 lore raw

The linking of Cups with dbus does not work (any more). ARM11 target with March 17th snapshot, dbus is 1.1.1 :

------------------------snip--------------------------------- subscriptions.o: In function `cupsd_send_dbus':
buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1334: undefined reference to dbus_message_append_iter_init' buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1336: undefined reference to dbus_message_iter_append_string' buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1339: undefined reference to dbus_message_iter_append_uint32' buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1340: undefined reference to dbus_message_iter_append_string' -------------------------snap--------------------------------

The linker correctly finds the dbus libraries, but a grep/objdump confirmed that the symbols are not in the dbus libraries. Might need to bump the version?

CUPS is automatically selected when building X, is that really necessary?

cheers,
Christian

#1 lore raw

CUPS shouldn't be getting selected by X, it is a dependency for the gtk printing backend. But anyway, I don't know if the latest cups version even supports the latest dbus. Unless you need some new feature of dbus, I would just roll the dbus version back. If you are using gtk, there is probably a way to disable the print backend so cups isn't required.

John Voltz

Quoted 19 lines · Christian SCHWARZ

The linking of Cups with dbus does not work (any more). ARM11 target with March 17th snapshot, dbus is 1.1.1 :

------------------------snip--------------------------------- subscriptions.o: In function `cupsd_send_dbus':
buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1334: undefined reference to dbus_message_append_iter_init' buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1336: undefined reference to dbus_message_iter_append_string' buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1339: undefined reference to dbus_message_iter_append_uint32' buildroot/build_arm/cups-1.3.5/scheduler/subscriptions.c:1340: undefined reference to dbus_message_iter_append_string' -------------------------snap--------------------------------

The linker correctly finds the dbus libraries, but a grep/objdump confirmed that the symbols are not in the dbus libraries. Might need to bump the version?

Quoted 9 lines

CUPS is automatically selected when building X, is that really necessary?

cheers,
Christian
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080325/44883936/attachment.htm