I am trying to compile VLC from git on Ubuntu 11.04.
I ran bootstrap and configure successfully. But when I compile,
I get these errors:
Code: Select all
In file included from ../config.h:825:0,
from pthread_cancel.c:12:
ERROR : ../include/vlc_fixups.h:327: 45: expected ')' before '*' token
ERROR : ../include/vlc_fixups.h:332: 38: expected ')' before 'thread_id'
ERROR : ../include/vlc_fixups.h:334: 53: expected ')' before '*' token
ERROR : ../include/vlc_fixups.h:336: 58: expected ')' before '*' token
In file included from ../include/vlc_threads.h:51:0,
from ../include/vlc_common.h:494,
from pthread_cancel.c:15:
ERROR : /usr/include/pthread.h:193: 3: redeclaration of enumerator 'PTHREAD_CANCEL_ENABLE'
../include/vlc_fixups.h:322:3: note: previous definition of 'PTHREAD_CANCEL_ENABLE' was here
Thank you.