public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] newbie questions on Bluez installation
@ 2007-08-31  6:56 Ricky Soh
  2007-08-31 14:06 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Ricky Soh @ 2007-08-31  6:56 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 5809 bytes --]

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.

[-- Attachment #1.2: Type: text/html, Size: 6462 bytes --]

[-- Attachment #2: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] newbie questions on Bluez installation
  2007-08-31  6:56 [Bluez-users] newbie questions on Bluez installation Ricky Soh
@ 2007-08-31 14:06 ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2007-08-31 14:06 UTC (permalink / raw)
  To: BlueZ users

Hi Ricky,

> 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' 

you are not compiling against the latest bluez-libs.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] newbie questions on Bluez installation
@ 2007-09-01  8:00 Ricky Soh
  0 siblings, 0 replies; 3+ messages in thread
From: Ricky Soh @ 2007-09-01  8:00 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 1912 bytes --]

Hi,

I have downloaded and compiled bluez-lib-3.16 using

./configure
make
make install.

Everything went smoothly for the installation.

I did the same for bluez-util-3.16.

The error is at the "make"

How do i make sure i am compiling against the latest lib?

Sorry for asking such a newbie question. Would appreciate your help. Thanks.

Sincerely
Ricky

>Message: 3
>Date: Fri, 31 Aug 2007 16:06:38 +0200
>From: Marcel Holtmann <marcel@holtmann.org>
>Subject: Re: [Bluez-users] newbie questions on Bluez installation
>To: BlueZ users <bluez-users@lists.sourceforge.net>
>Message-ID: <1188569198.13373.92.camel>@violet>
>Content-Type: text/plain

>Hi Ricky,

> 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'

>you are not compiling against the latest bluez-libs.

>Regards

>Marcel

[-- Attachment #1.2: Type: text/html, Size: 2519 bytes --]

[-- Attachment #2: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-01  8:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31  6:56 [Bluez-users] newbie questions on Bluez installation Ricky Soh
2007-08-31 14:06 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2007-09-01  8:00 Ricky Soh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox