[MPlayer-users] mplayer-0.99.10_2 and FreeBSD 6.2 release

saleh azizian azizian2002 at yahoo.com
Wed Jan 17 15:09:59 CET 2007


I use FreeBSD 6.2 and I want install mplayer with port
tree so , I go to port tree and make install clean ,
but after 10 min compile I see this error

==================================================

../libavutil -Wdeclaration-after-statement -fno-PIC
-O2 -fno-strict-aliasing -pipe  -O3 -ffast-math
-fomit-frame-pointer -I/usr/local/include 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/local/include/freetype2
-I/usr/local/include -I/usr/X11R6/include
-I/usr/local/include -I/usr/local/include/dvdnav
-I/usr/local/include -D_THREAD_SAFE
-I/usr/local/include/freetype2 -I/usr/local/include
-I/usr/X11R6/include   -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include
-I/usr/local/include/atk-1.0
-I/usr/local/include/cairo
-I/usr/local/include/pango-1.0
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include
-I/usr/local/include/freetype2 -I/usr/local/include   
-c -o jrevdct.o jrevdct.c
In file included from dsputil.h:33,
                 from jrevdct.c:68:
/usr/local/include/common.h:234: error: redefinition
of `struct Clock_'
/usr/local/include/common.h:236: error: redefinition
of typedef 'Clock'
/usr/local/include/common.h:236: error: previous
declaration of 'Clock' was here
/usr/local/include/common.h:244: error: redefinition
of `struct File_'
/usr/local/include/common.h:248: error: redefinition
of typedef 'File'
/usr/local/include/common.h:248: error: previous
declaration of 'File' was here
/usr/local/include/common.h:317: error: syntax error
before "int"
/usr/local/include/common.h:322: error: syntax error
before '*' token
/usr/local/include/common.h:323: error: syntax error
before '*' token
/usr/local/include/common.h:324: error: syntax error
before '*' token
/usr/local/include/common.h:325: error: syntax error
before '*' token
In file included from dsputil.h:34,
                 from jrevdct.c:68:
avcodec.h:2113: error: syntax error before
"attribute_deprecated"
gmake[1]: *** [jrevdct.o] Error 1
gmake[1]: Leaving directory
`/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc1/libavcodec'
gmake: *** [libavcodec/libavcodec.a] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/mplayer.
====================================================

How I can fix this error and use mplayer


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html



More information about the MPlayer-users mailing list