Since few days I have been trying to compile VLC on Ubuntu 11.04 with git. To make it successful I tried to ran bootstrap and done configure successfully. But during compiling I landed with code of errors:
Code:
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
How to solve this problem? I am waiting for your reply.
Bookmarks