[Bluez-users] bluez-utils-2.14 compile error: make returns "cannot find -lbluetooth"

tcalexander
2005-01-19T10:49:52Z

Hello everyone!
I'm using Yoper with a 2.6.8.1-3 kernel. I downloaded bluez-libs and
bluez-utils, both 2.14. Did the following:
(in /home/blabla/bluez-libs-2.14)
./configure --prefix=/usr/local/bluez
make
(did a su)
make install
(so far so good)
(now to /home/blabla/bluez-utils-2.14)
./configure --prefix=/usr/local/bluez
make
(now things go crappy, read below the final lines of the output)

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/bluez/include
-I/usr/local/bluez/include -Wall -O2 -c `test -f 'hcisecfilter.c' ||
echo './'`hcisecfilter.c
gcc -I/usr/local/bluez/include -I/usr/local/bluez/include -Wall -O2
-o hcisecfilter hcisecfilter.o -lbluetooth
/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lbluetooth
collect2: ld returned 1 exit status
make[2]: *** [hcisecfilter] Error 1
make[2]: Leaving directory `/home/blabla/bluez-utils-2.14/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blabla/bluez-utils-2.14'
make: *** [all] Error 2

*blabla stands for a long and awkward branch of the directory tree; I
found it to be annoying, so I replaced it;

Couldn't find any hints anywhere. :( I saw another topic on compile
errors, but it wasn't quite what I needed, so I came up with this one.
If it's been discussed earlier, please point it out. 10x in advance.