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

Curtis Wood curtis at bluedomino.net
Sat Dec 8 06:55:42 CET 2001


I read something on the site about there being a slight corruption in
the CVS tree. I personally pulled down the CVS this afternoon, I had to
pull down the lame-libs pacakge also - but it in turn compiled fine with
no errors :) They suggest on the site to sart over with the CVS tree,
and pull down a fresh copy...

On Fri, 2001-12-07 at 23:57, Steven M. Schultz wrote:

    [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html &
     http://gcc.gnu.org/gcc-2.96.html if you still have questions or problems]
    
    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
    _______________________________________________
    RTFM!!!  http://www.MPlayerHQ.hu/DOCS
    Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
    http://mplayerhq.hu/mailman/listinfo/mplayer-users
    

Curtis Wood 
________________________________________________________________________
System administrator

Bluedomino hosting



Website: www.bluedomino.net

Office#: (361)887-7778x205

Email: curtis at bluedomino.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20011207/ce3778dd/attachment.htm>


More information about the MPlayer-users mailing list