hidclient
hidclient copied to clipboard
Compile fails on Debian sid with libbluetooth3
gcc fails with lots of ld reference errors.
/usr/bin/ld: hidclient.c:(.text+0xb23): undefined reference to sdp_uuid16_create' /usr/bin/ld: hidclient.c:(.text+0xb2d): undefined reference to sdp_list_append'
/usr/bin/ld: hidclient.c:(.text+0xb3d): undefined reference to sdp_set_uuidseq_attr' /usr/bin/ld: hidclient.c:(.text+0xb5f): undefined reference to sdp_list_append'
/usr/bin/ld: hidclient.c:(.text+0xb6d): undefined reference to `sdp_set_lang_attr'
.... and so on.
SDP doesn't exist anymore since V5.50 of bluez.
Can you help me ?
I'm sorry, I probably should archive this repository, if I knew how to do it.
The code refers to an old bluetooth stack, in hidclient.c changelogs are mentioned as working Lubuntu 11.10 and Ubuntu 12.04 LTS (I had no problem compiling it in the past but I never managed to make it work in Debian or Raspian)
@Woastscho Try simply running:
$ make
This compiled for me OK on Linux Mint 19.2 (quite recent). It seems like the order of arguments to gcc is different in Makefile and the one mentioned in README.
@Woastscho Try simply running:
$ makeThis compiled for me OK on Linux Mint 19.2 (quite recent). It seems like the order of arguments to gcc is different in
Makefileand the one mentioned in README.
Are there any unlisted requirements besides libbluetooth?
I'm getting a
Failed to connect to SDP server: No such file or directory
Failed to register with SDP server
error when I try to run it on Linux Mint (although compiling worked fine)