From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: Date: Sat, 1 Sep 2007 16:00:52 +0800 From: "Ricky Soh" To: bluez-users@lists.sourceforge.net MIME-Version: 1.0 Subject: Re: [Bluez-users] newbie questions on Bluez installation Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0869044588==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0869044588== Content-Type: multipart/alternative; boundary="----=_Part_12363_16640934.1188633652044" ------=_Part_12363_16640934.1188633652044 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 >Subject: Re: [Bluez-users] newbie questions on Bluez installation >To: BlueZ users >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 ------=_Part_12363_16640934.1188633652044 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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
------=_Part_12363_16640934.1188633652044-- --===============0869044588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0869044588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0869044588==--