[Android] eventfd in NDK v7b/c
Ludovic Fauvet
etix at videolan.org
Fri Apr 20 12:55:05 CEST 2012
On Fri, Apr 20, 2012 at 10:10 AM, XilasZ <xilasz at gmail.com> wrote:
> Hi,
>
> Since NDK version 7b, libvlcjni.so doesn't link anymore on my phone (htc
> desire on froyo).
>
> Using this
> http://mpigulski.blogspot.fr/2010/09/debugging-dlopen-unsatisfiedlinkerror.html
> , i found out that eventfd is missing on my phone.
> Strange, it was working before, and devices on android 2.3+ don't have this
> issue.
>
> After some digging, i discovered that the sys/eventfd.h appeared in ndk v7b,
> which declares eventfd as extern.
> Renaming/removing the header (so that it's not detected by configure) fix
> the issue.
> I don't know if another implementation of eventfd is injected somewhere or
> if the build just don't use it, but it works now.
I just found this commit in the Android NDK repository. It might be
related to your issue.
https://github.com/android/platform_development/commit/e43487b854d3fbcbdd850f2d448136f4853419b1
Regards,
-- Ludovic Fauvet
More information about the Android
mailing list