[MPlayer-users] libmp1e

Steven M. Schultz sms at 2BSD.COM
Sat Dec 8 20:37:32 CET 2001


Hi!

> From: David Holm <dholm at telia.com>
> how many of you developers are interested in libmp1e except from me and 
> Arpi?

	I have difficulty building libmp1e because it uses pthreads routines
	not present:

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

	While the usual pthread_create() and so on are present the
	pthread_rwlock_* routines (and associated data definitions, structures,
	etc) are not.

	It seems that systems vary widely in the completeness of their 
	threads implementations - so threading a program introduces portability
	problems.

	If libmp1e is not required for the "normal" MPlayer functionality of
	playing DVDs and MPEG files it would be a Good Thing to have 
	./configure skip over libmp1e.

	Thanks.

	Steven Schultz
	sms at 2bsd.com



More information about the MPlayer-users mailing list