[MPlayer-users] libmp1e compile problem on non-linux system

Steven M. Schultz sms at 2BSD.COM
Sat Dec 8 06:57:59 CET 2001


greetings -

	The cvs version of MPlayer has been building nicely for some time.

	Tonight though I did a 'cvs update' (it has been a few days since
	the last time) and I can no longer build MPlayer.  The compilation
	comes to a halt in 'libmp1e' with:

gmake -C libmp1e
gmake[1]: Entering directory `/usr/local/src/MPlayer-cvs/libmp1e'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -DHAVE_CONFIG_H -D_GNU_SOURCE -D_REENTRANT -DFLOAT=float -I. -I.. -fPIC -o audio/filter.o audio/filter.c
In file included from audio/../common/fifo.h:26,
                 from audio/audio.h:24,
                 from audio/filter.c:26:
audio/../common/list.h:64: syntax error before `pthread_rwlock_t'
audio/../common/list.h: In function `destroy_xlist':
audio/../common/list.h:93: structure has no member named `rwlock'
audio/../common/list.h: In function `destroy_invalid_xlist':
audio/../common/list.h:104: structure has no member named `rwlock'
audio/../common/list.h: In function `init_xlist':
audio/../common/list.h:129: structure has no member named `rwlock'
audio/../common/list.h: In function `list_xmembers':
audio/../common/list.h:159: structure has no member named `rwlock'
audio/../common/list.h:161: structure has no member named `rwlock'
audio/../common/list.h: In function `add_xhead':
audio/../common/list.h:211: structure has no member named `rwlock'
audio/../common/list.h:213: structure has no member named `rwlock'
audio/../common/list.h: In function `add_xtail':
audio/../common/list.h:243: structure has no member named `rwlock'
audio/../common/list.h:245: structure has no member named `rwlock'
audio/../common/list.h: In function `rem_xhead':
audio/../common/list.h:279: structure has no member named `rwlock'
audio/../common/list.h:281: structure has no member named `rwlock'
audio/../common/list.h: In function `rem_xtail':
audio/../common/list.h:315: structure has no member named `rwlock'
audio/../common/list.h:317: structure has no member named `rwlock'
audio/../common/list.h: In function `unlink_xnode':
audio/../common/list.h:346: structure has no member named `rwlock'
audio/../common/list.h:348: structure has no member named `rwlock'
audio/../common/list.h: In function `rem_xnode':
audio/../common/list.h:381: structure has no member named `rwlock'
audio/../common/list.h:383: structure has no member named `rwlock'
gmake[1]: *** [audio/filter.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/MPlayer-cvs/libmp1e'
gmake: *** [libmp1e/libmp1e.a] Error 2

	The problem is that pthread_rwlock_t (and the associated routines)
	are not widely available - they're not in BSD/OS at any rate.

	Is 'libmp1e' necessary for MPlayer to play DVDs and mpeg1/2 files?  If
	not would it be possible to not build libmp1e if the system does not
	have the pthread_rwlock_* routines?   Alternatively would (and I have
	not dug deeply into the sources) simpler pthread_mutex_* logic work?

	I'm out of ideas how to proceed at this point.

	Thanks.

	Steven Schultz
	sms at 2bsd.com



More information about the MPlayer-users mailing list