Hi,<br><br>When we try to compile VLC for Android we are getting following error.<br><br><a class="postlink-local" href="http://forum.videolan.org/viewtopic.php?f=13&t=97622"></a>../../src/posix/thread.c: In function 'vlc_cancel':<br>
../../src/posix/thread.c:846: error: implicit declaration of function 'pthread_cancel'<br>../../src/posix/thread.c: In function 'vlc_savecancel':<br>../../src/posix/thread.c:863: error: implicit declaration of function 'pthread_setcancelstate'<br>
../../src/posix/thread.c:863: error: 'PTHREAD_CANCEL_DISABLE' undeclared (first use in this function)<br>../../src/posix/thread.c:863: error: (Each undeclared identifier is reported only once<br>../../src/posix/thread.c:863: error: for each function it appears in.)<br>
../../src/posix/thread.c: In function 'vlc_restorecancel':<br>../../src/posix/thread.c:883: error: 'PTHREAD_CANCEL_DISABLE' undeclared (first use in this function)<br>../../src/posix/thread.c: In function 'vlc_testcancel':<br>
../../src/posix/thread.c:900: error: implicit declaration of function 'pthread_testcancel'<br>make[4]: *** [posix/thread.lo] Error 1<br>make[4]: Leaving directory `../android/vlc/android/src'<br>make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory `../android/vlc/android/src'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `../android/vlc/android/src'<br>make[1]: *** [all-recursive] Error 1<br><br><br>Can you please tell us how did you get it solved?<br>
<br>Thanks in advance,