Actions
Bug #3620
openCompilation error when using Android NDK
Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-03-10
Due date:
% Done:
0%
Estimated time:
Found in version:
4.1
Affected Versions:
Description
Since this commit https://github.com/tvheadend/tvheadend/commit/6ff670943ce70a8f279e99306a1d49a78c6b6949 , there isn't possible to compile TVH for android because Android NDK doesn't implement pthread_condattr_setclock function
CC src/wrappers.o
src/wrappers.c: In function 'tvh_cond_init':
src/wrappers.c:229:3: error: implicit declaration of function 'pthread_condattr_setclock' [-Werror=implicit-function-declaration]
r = pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);
^
cc1: all warnings being treated as errors
make: *** [/home/ben/Desktop/android/tvheadend/build.linux/src/wrappers.o] Error
Actions