hidclient icon indicating copy to clipboard operation
hidclient copied to clipboard

Compile fails on Debian sid with libbluetooth3

Open Woastscho opened this issue 6 years ago • 3 comments
trafficstars

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 ?

Woastscho avatar Nov 18 '19 20:11 Woastscho

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)

xenogenesi avatar Nov 18 '19 22:11 xenogenesi

@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.

ritiek avatar Dec 23 '19 10:12 ritiek

@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.

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)

AdhirU avatar Apr 18 '20 23:04 AdhirU