You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile hid2hci.c ( https://git.osdn.net/view?p=android-x86/external-bluetooth-bluez.git;a=blob;f=tools/hid2hci.c;h=8f060f2580c863f57ca5d474d6aa89b399208c07;hb=refs/heads/r-x86 ) using clang C compiler on Termux on Android-x86 4.19.110 (32 bit) running on laptop with Intel Core 2 Duo CPU. I've compiled and install libudev-zero by running "make CC=clang and make PREFIX=/data/data/com.termux/files/usr install". However, during hid2hci.c compilation I'm getting errors: "undefined symbol: udev_device_get_syspath", "undefined symbol: udev_device_get_devpath", etc. (Compiler is able to find libudev.h in /data/data/com.termux/files/usr/include.) Any idea on potential reason(s) for these errors?
Adding -ludev to clang during hid2hci.c compilation has resolved these errors.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello
I'm trying to compile hid2hci.c ( https://git.osdn.net/view?p=android-x86/external-bluetooth-bluez.git;a=blob;f=tools/hid2hci.c;h=8f060f2580c863f57ca5d474d6aa89b399208c07;hb=refs/heads/r-x86 ) using clang C compiler on Termux on Android-x86 4.19.110 (32 bit) running on laptop with Intel Core 2 Duo CPU. I've compiled and install libudev-zero by running "make CC=clang and make PREFIX=/data/data/com.termux/files/usr install". However, during hid2hci.c compilation I'm getting errors: "undefined symbol: udev_device_get_syspath", "undefined symbol: udev_device_get_devpath", etc. (Compiler is able to find libudev.h in /data/data/com.termux/files/usr/include.) Any idea on potential reason(s) for these errors?
Adding -ludev to clang during hid2hci.c compilation has resolved these errors.
Thank you
Dmitriy
Beta Was this translation helpful? Give feedback.
All reactions