Thread (2 messages) 2 messages, 2 authors, 2007-08-31

[Bluez-users] newbie questions on Bluez installation

flat view

From: Ricky Soh <hidden>
Date: 2007-08-31 06:56:05

Hi all,

I have just downloaded bluez-lib and bluez-utils-3.16 and ported to FC6
linux 2.6.18-1.2798.

After i did the ./configure, i did the usual "make" for both. This is the
error for blue-utils-3.16:

Entering the directory '/root/bluez-utils-3.16/hci'
/bin/sh ../libtool --tag=CC   --mode=link gcc
-I/usr/include/dbus-1.0-I/usr/lib/dbus-
1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
-D_FORTIFY_SOURCE=2   -o hcid main.o libhciserver.a ../sdpd/libsdpserver.a
../common/libhelper.a ../eglib/libeglib.la -L/lib -ldbus-1   -lbluetooth
-lexpat
gcc -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2 -D_FORTIFY_SOURCE=2 -o
hcid main.o  libhciserver.a ../sdpd/libsdpserver.a ../common/libhelper.a
../eglib/.libs/libeglib.a -L/lib -ldbus-1 /usr/lib/libbluetooth.so
/usr/lib/libexpat.so
libhciserver.a(device.o): In function `start_adapter':
device.c:(.text+0x10c1): undefined reference to
`hci_read_simple_pairing_mode'
libhciserver.a(dbus-common.o): In function `unregister_sdp_record':
dbus-common.c:(.text+0x90): undefined reference to
`sdp_device_record_unregister_binary'
libhciserver.a(dbus-common.o): In function `register_sdp_binary':
dbus-common.c:(.text+0x9d7): undefined reference to
`sdp_device_record_register_binary'
libhciserver.a(dbus-service.o): In function `remove_trust':
dbus-service.c:(.text+0x160b): undefined reference to `bachk'
libhciserver.a(dbus-service.o): In function `is_trusted':
dbus-service.c:(.text+0x1724): undefined reference to `bachk'
libhciserver.a(dbus-service.o): In function `set_trusted':
dbus-service.c:(.text+0x193b): undefined reference to `bachk'
libhciserver.a(dbus-hci.o): In function
`hcid_dbus_write_simple_pairing_mode_complete':
dbus-hci.c:(.text+0x1b4): undefined reference to
`hci_read_simple_pairing_mode'
libhciserver.a(dbus-sdp.o): In function `get_rec_with_uuid_conn_cb':
dbus-sdp.c:(.text+0x57d): undefined reference to `sdp_set_notify'
dbus-sdp.c:(.text+0x5af): undefined reference to `sdp_service_search_async'
dbus-sdp.c:(.text+0x604): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `get_rec_with_handle_conn_cb':
dbus-sdp.c:(.text+0x63c): undefined reference to `sdp_set_notify'
dbus-sdp.c:(.text+0x67c): undefined reference to `sdp_service_attr_async'
libhciserver.a(dbus-sdp.o): In function `remote_svc_rec_conn_xml_cb':
dbus-sdp.c:(.text+0x725): undefined reference to `sdp_set_notify'
dbus-sdp.c:(.text+0x79e): undefined reference to `sdp_service_attr_async'
dbus-sdp.c:(.text+0x7d8): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `remote_svc_rec_conn_cb':
dbus-sdp.c:(.text+0x815): undefined reference to `sdp_set_notify'
dbus-sdp.c:(.text+0x88e): undefined reference to `sdp_service_attr_async'
dbus-sdp.c:(.text+0x8c8): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `service_search_attr':
dbus-sdp.c:(.text+0x94e): undefined reference to
`sdp_service_search_attr_async'
dbus-sdp.c:(.text+0x98f): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `remote_svc_identifiers_conn_cb':
dbus-sdp.c:(.text+0x9bd): undefined reference to `sdp_set_notify'
libhciserver.a(dbus-sdp.o): In function `remote_svc_handles_conn_cb':
dbus-sdp.c:(.text+0xb6f): undefined reference to `sdp_set_notify'
dbus-sdp.c:(.text+0xbf5): undefined reference to `sdp_service_search_async'
dbus-sdp.c:(.text+0xc6f): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `remote_svc_rec_completed_xml_cb':
dbus-sdp.c:(.text+0xe37): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `search_process_cb':
dbus-sdp.c:(.text+0xff8): undefined reference to `sdp_process'
libhciserver.a(dbus-sdp.o): In function `get_rec_with_uuid_comp_cb':
dbus-sdp.c:(.text+0x1147): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `get_rec_with_handle_comp_cb':
dbus-sdp.c:(.text+0x1257): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `remote_svc_rec_completed_cb':
dbus-sdp.c:(.text+0x1467): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `get_cached_session':
dbus-sdp.c:(.text+0x1580): undefined reference to `sdp_get_socket'
libhciserver.a(dbus-sdp.o): In function `connect_request':
dbus-sdp.c:(.text+0x1719): undefined reference to `sdp_get_socket'
libhciserver.a(dbus-sdp.o): In function
`remote_svc_identifiers_completed_cb':
dbus-sdp.c:(.text+0x2144): undefined reference to `sdp_get_error'
libhciserver.a(dbus-sdp.o): In function `remote_svc_handles_completed_cb':
dbus-sdp.c:(.text+0x23fe): undefined reference to `sdp_get_error'
libhciserver.a(adapter.o): In function `adapter_dc_remote_device':
adapter.c:(.text+0x5f2): undefined reference to `bachk'
libhciserver.a(adapter.o): In function `get_remote_class':
adapter.c:(.text+0x7a9): undefined reference to `bachk'
libhciserver.a(adapter.o): In function `adapter_create_bonding':
adapter.c:(.text+0xdb4): undefined reference to `bachk'
libhciserver.a(adapter.o): In function `create_device':
adapter.c:(.text+0x10b6): undefined reference to `bachk'
libhciserver.a(adapter.o): In function `adapter_remove_trust':
adapter.c:(.text+0x13a7): undefined reference to `bachk'
libhciserver.a(adapter.o):adapter.c:(.text+0x14cb): more undefined
references to `bachk' follow
../common/libhelper.a(sdp-xml.o): In function `sdp_xml_parse_text':
sdp-xml.c:(.text+0x2a3): undefined reference to `sdp_data_alloc_with_length'
../common/libhelper.a(sdp-xml.o): In function `sdp_xml_parse_url':
sdp-xml.c:(.text+0x311): undefined reference to `sdp_data_alloc_with_length'
collect2: ld returned 1 exit status
make[3]: *** [hcid] Error 1

I really do not understand these messages.

Please help. Thanks.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help