[vlc-devel] vlc: svn commit r24460 (courmisch)

Rémi Duraffort ivoire at via.ecp.fr
Tue Jan 22 13:21:51 CET 2008


> Changed paths:
>    M /trunk/include/vlc_threads_funcs.h
> 
> Add inline API for spinlocks.

This commit break the compilation on ma debian/etch laptop with these
errors during the compilation :

In file included from ../../include/vlc_common.h:1251,
                 from ../../include/vlc/vlc.h:155,
                 from ../../src/misc/md5.c:26:
ERROR   : ../../include/vlc_threads_funcs.h: 808:  expected
specifier-qualifier-list before 'pthread_spinlock_t'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_init':
WARNING : ../../include/vlc_threads_funcs.h: 816:  implicit declaration
of function 'pthread_spin_init'
ERROR   : ../../include/vlc_threads_funcs.h: 816:  'vlc_spinlock_t' has
no member named 'spin'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_lock':
WARNING : ../../include/vlc_threads_funcs.h: 824:  implicit declaration
of function 'pthread_spin_lock'
ERROR   : ../../include/vlc_threads_funcs.h: 824:  'vlc_spinlock_t' has
no member named 'spin'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_unlock':
WARNING : ../../include/vlc_threads_funcs.h: 832:  implicit declaration
of function 'pthread_spin_unlock'
ERROR   : ../../include/vlc_threads_funcs.h: 832:  'vlc_spinlock_t' has
no member named 'spin'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_destroy':
WARNING : ../../include/vlc_threads_funcs.h: 840:  implicit declaration
of function 'pthread_spin_destroy'
ERROR   : ../../include/vlc_threads_funcs.h: 840:  'vlc_spinlock_t' has
no member named 'spin'
In file included from ../../include/vlc_common.h:1251,
                 from ../../include/vlc/vlc.h:155,
                 from ../../src/text/iso_lang.c:30:
ERROR   : ../../include/vlc_threads_funcs.h: 808:  expected
specifier-qualifier-list before 'pthread_spinlock_t'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_init':
WARNING : ../../include/vlc_threads_funcs.h: 816:  implicit declaration
of function 'pthread_spin_init'
ERROR   : ../../include/vlc_threads_funcs.h: 816:  'vlc_spinlock_t' has
no member named 'spin'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_lock':
WARNING : ../../include/vlc_threads_funcs.h: 824:  implicit declaration
of function 'pthread_spin_lock'
ERROR   : ../../include/vlc_threads_funcs.h: 824:  'vlc_spinlock_t' has
no member named 'spin'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_unlock':
WARNING : ../../include/vlc_threads_funcs.h: 832:  implicit declaration
of function 'pthread_spin_unlock'
ERROR   : ../../include/vlc_threads_funcs.h: 832:  'vlc_spinlock_t' has
no member named 'spin'
../../include/vlc_threads_funcs.h: In function 'vlc_spin_destroy':
WARNING : ../../include/vlc_threads_funcs.h: 840:  implicit declaration
of function 'pthread_spin_destroy'
ERROR   : ../../include/vlc_threads_funcs.h: 840:  'vlc_spinlock_t' has
no member named 'spin'
mv -f text/.deps/libvlc_la-strings.Tpo text/.deps/libvlc_la-strings.Plo
make: *** [all] Error 2

If you need more information i'm ready to answer.

have a good day.

-- 
ivoire | Rémi Duraffort



More information about the vlc-devel mailing list