Skip to contentSkip to conversation

help compilling bluez-utils 3.9

Bluez-users Vladimir Vasilev 2 participants 2 messages Mar 17, 2007 – Mar 19, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi folks

I have some problems compilling bluez-utils 3.9 (latest official) The configure script does not get me an error, so my next step is "make"\
Here is the error:

make[2]: Entering directory `/home/vladimir/programs/bluez-utils-3.9/hcid' make all-am
make[3]: Entering directory `/home/vladimir/programs/bluez-utils-3.9/hcid' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -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 -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 -lbluetooth /usr/lib/libexpat.so 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+0x106): undefined reference to `sdp_device_record_register_binary'
collect2: ld returned 1 exit status
make[3]: *** [hcid] Error 1
make[3]: Leaving directory `/home/vladimir/programs/bluez-utils-3.9/hcid' make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vladimir/programs/bluez-utils-3.9/hcid' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vladimir/programs/bluez-utils-3.9'
make: *** [all] Error 2

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Vladimir,

Quoted 23 lines

I have some problems compilling bluez-utils 3.9 (latest official) The configure script does not get me an error, so my next step is "make"\
Here is the error:

make[2]: Entering directory `/home/vladimir/programs/bluez-utils-3.9/hcid' make all-am
make[3]: Entering directory `/home/vladimir/programs/bluez-utils-3.9/hcid' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/dbus-1.0

(quoted diff) +0 -2
-I/usr/lib/dbus-1.0/include   -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 -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 -lbluetooth /usr/lib/libexpat.so 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+0x106): undefined reference to `sdp_device_record_register_binary'

Quoted 8 lines

collect2: ld returned 1 exit status
make[3]: *** [hcid] Error 1
make[3]: Leaving directory `/home/vladimir/programs/bluez-utils-3.9/hcid' make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vladimir/programs/bluez-utils-3.9/hcid' make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vladimir/programs/bluez-utils-3.9'
make: *** [all] Error 2

you also have to install bluez-libs-3.9 first.

Regards

Marcel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users