Re: [Bluez-users] bluez utils debian package doesn't autoswith dongle on?

Ulisses Furquim
2006-09-06T17:46:13Z

Hi,

On 9/6/06, CIJOML <cijoml@volny.cz> wrote:
> cvs -d:pserver:anonymous@cvs.bluez.org:/cvsroot/bluez co -P utils
>
> but I am unable compile it:
>
> if
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -Wall -O2 -D_FORTIFY_SOURCE=2 -MT
> dbus-sdp.o -MD -MP -MF ".deps/dbus-sdp.Tpo" -c -o dbus-sdp.o dbus-sdp.c; \
> then mv -f ".deps/dbus-sdp.Tpo" ".deps/dbus-sdp.Po"; else
> rm -f ".deps/dbus-sdp.Tpo"; exit 1; fi
> dbus-sdp.c: In function `search_process_cb':
> dbus-sdp.c:467: warning: implicit declaration of function `sdp_process'
> dbus-sdp.c: In function `connect_request':
> dbus-sdp.c:812: error: `SDP_NON_BLOCKING' undeclared (first use in this
> function)
> dbus-sdp.c:812: error: (Each undeclared identifier is reported only once
> dbus-sdp.c:812: error: for each function it appears in.)
> dbus-sdp.c: In function `remote_svc_rec_conn_cb':
> dbus-sdp.c:838: warning: implicit declaration of function `sdp_set_notify'
> dbus-sdp.c:851: warning: implicit declaration of function
> `sdp_service_attr_async'
> dbus-sdp.c: In function `remote_svc_handles_conn_cb':
> dbus-sdp.c:906: warning: implicit declaration of function
> `sdp_service_search_attr_async'
> dbus-sdp.c: In function `get_identifiers_conn_cb':
> dbus-sdp.c:965: warning: implicit declaration of function
> `sdp_service_search_async'
> make[2]: *** [dbus-sdp.o] Error 1
> make[2]: Leaving directory `/usr/src/bluez-cvs/utils/hcid'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/bluez-cvs/utils'
> make: *** [all] Error 2

please, make sure you have bluez-libs from CVS installed before you
try to compile bluez-utils from CVS. You can also download the latest
bluez-utils and bluez-libs tarballs for the 3.5 version that Marcel
released today. :-)

Regards,

-- Ulisses