Re: [Bluez-users] newbie questions on Bluez installation
From: Ricky Soh <hidden>
Date: 2007-09-01 08:00:52
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 <redacted> 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