Return-Path: Subject: Re: [Bluez-users] bluez-utils-2.17 -- Error compiling dbus.o From: Marcel Holtmann To: bluez-users@lists.sourceforge.net In-Reply-To: <12a241ad05052907591c593c6@mail.gmail.com> References: <12a241ad05052907591c593c6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Message-Id: <1117379509.7072.95.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun, 29 May 2005 17:11:49 +0200 Hi Bruno, > i recently updated my dbus package and now i'm having > some problems trying to compile hcid/dbus.o file, the error is the > follow: >=20 > gcc -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE > -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DENABLE_DBUS > -DDBUS_API_SUBJECT_TO_CHANGE -Wall -O2 -o hcid main.o security.o > storage.o lib.o parser.o lexer.o kword.o glib-ectomy.o dbus.o=20 > -L/usr/lib /usr/lib/libdbus-1.so /usr/lib/libbluetooth.so > dbus.o(.text+0x7a): In function `hcid_dbus_request_pin': > : undefined reference to `dbus_message_append_iter_init' > dbus.o(.text+0x8b): In function `hcid_dbus_request_pin': > : undefined reference to `dbus_message_iter_append_boolean' > dbus.o(.text+0x97): In function `hcid_dbus_request_pin': > : undefined reference to `dbus_message_iter_append_byte_array' > dbus.o(.text+0x381): In function `reply_handler_function': > : undefined reference to `dbus_pending_call_get_reply' > dbus.o(.text+0x3dd): In function `reply_handler_function': > : undefined reference to `dbus_message_iter_get_string' > collect2: ld returned 1 exit status > make[2]: ** [hcid] Erro 1 > make[2]: Saindo do diret=F3rio `/home/bruno/src/bluez-utils-2.17/hcid' > make[1]: ** [all-recursive] Erro 1 > make[1]: Saindo do diret=F3rio `/home/bruno/src/bluez-utils-2.17' > make: ** [all] Erro 2 >=20 > Any help would be appreciated! it would be great if you tell us about what version of D-Bus we are talking about. I am unable read minds ;) However it seems that these functions are missing: dbus_message_append_iter_init() dbus_message_iter_append_boolean() dbus_message_iter_append_byte_array() dbus_pending_call_get_reply() dbus_message_iter_get_string() You can try the CVS, because I added the support for newer D-Bus libraries after the 2.17 release was out. Regards Marcel ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users