Hi all,
I am a newbie to BlueZ. I want to port BlueZ to android 4.2.2, But
when I copy the blueZ to external folder with glib, after compile,
some error happend:
external/bluetooth/bluez/src/shared/mainloop.c:35:26: fatal error:
sys/signalfd.h: No such file or directory
How do I solve it ? Thanks a lot.
Hi,
On Wednesday 16 of September 2015 10:58:16 Marcel Holtmann wrote:
> Hi,
>
> > I am a newbie to BlueZ. I want to port BlueZ to android 4.2.2, But
> >
> > when I copy the blueZ to external folder with glib, after compile,
> > some error happend:
> >
> > external/bluetooth/bluez/src/shared/mainloop.c:35:26: fatal error:
> > sys/signalfd.h: No such file or directory
> >
> > How do I solve it ? Thanks a lot.
>
> follow our BlueZ for Android build instructions.
>
> https://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/README
Also note that we support only Android 4.4 and newer.
Android 4.2.2 might is missing required functionality in bionic and due to
backward incompatible changes in BT HAL API our library will not compile
against Android 4.2.
So if you really want to use that on Android 4.2 you must be prepared for some
patching (both BLueZ and Bionic, and possibly other Android components).
--
BR
Szymon Janc
Hi,
> I am a newbie to BlueZ. I want to port BlueZ to android 4.2.2, But
> when I copy the blueZ to external folder with glib, after compile,
> some error happend:
>
> external/bluetooth/bluez/src/shared/mainloop.c:35:26: fatal error:
> sys/signalfd.h: No such file or directory
>
> How do I solve it ? Thanks a lot.
follow our BlueZ for Android build instructions.
https://git.kernel.org/cgit/bluetooth/bluez.git/tree/android/README
Regards
Marcel