[vlc-devel] We are getting the compile error

Baran Cem Barazi bcbarazi at gmail.com
Thu May 10 09:21:16 CEST 2012


Hi,

When we try to compile VLC for Android we are getting following error.

<http://forum.videolan.org/viewtopic.php?f=13&t=97622>../../src/posix/thread.c:
In function 'vlc_cancel':
../../src/posix/thread.c:846: error: implicit declaration of function
'pthread_cancel'
../../src/posix/thread.c: In function 'vlc_savecancel':
../../src/posix/thread.c:863: error: implicit declaration of function
'pthread_setcancelstate'
../../src/posix/thread.c:863: error: 'PTHREAD_CANCEL_DISABLE' undeclared
(first use in this function)
../../src/posix/thread.c:863: error: (Each undeclared identifier is
reported only once
../../src/posix/thread.c:863: error: for each function it appears in.)
../../src/posix/thread.c: In function 'vlc_restorecancel':
../../src/posix/thread.c:883: error: 'PTHREAD_CANCEL_DISABLE' undeclared
(first use in this function)
../../src/posix/thread.c: In function 'vlc_testcancel':
../../src/posix/thread.c:900: error: implicit declaration of function
'pthread_testcancel'
make[4]: *** [posix/thread.lo] Error 1
make[4]: Leaving directory `../android/vlc/android/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `../android/vlc/android/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `../android/vlc/android/src'
make[1]: *** [all-recursive] Error 1


Can you please tell us how did you get it solved?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120510/515d6ead/attachment.html>


More information about the vlc-devel mailing list