* Fwd: port bluez to android
[not found] <CAG_=90cg-83gK0H=-NwyjJMWgqYtCK_vG4My0qvpm2W4BAwG9g@mail.gmail.com>
@ 2015-09-16 6:32 ` 浩宇郑
2015-09-16 8:58 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: 浩宇郑 @ 2015-09-16 6:32 UTC (permalink / raw)
To: linux-bluetooth
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: port bluez to android
2015-09-16 6:32 ` Fwd: port bluez to android 浩宇郑
@ 2015-09-16 8:58 ` Marcel Holtmann
2015-09-16 9:08 ` Szymon Janc
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2015-09-16 8:58 UTC (permalink / raw)
To: 浩宇郑; +Cc: linux-bluetooth
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: port bluez to android
2015-09-16 8:58 ` Marcel Holtmann
@ 2015-09-16 9:08 ` Szymon Janc
0 siblings, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2015-09-16 9:08 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: 浩宇郑, linux-bluetooth
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-16 9:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAG_=90cg-83gK0H=-NwyjJMWgqYtCK_vG4My0qvpm2W4BAwG9g@mail.gmail.com>
2015-09-16 6:32 ` Fwd: port bluez to android 浩宇郑
2015-09-16 8:58 ` Marcel Holtmann
2015-09-16 9:08 ` Szymon Janc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).