[MPlayer-users] mplayer update on FreeBSD ports

Antonio Olivares olivares14031 at yahoo.com
Sat Jan 21 04:35:14 CET 2012



--- On Fri, 1/20/12, Antonio Olivares <olivares14031 at yahoo.com> wrote:

> From: Antonio Olivares <olivares14031 at yahoo.com>
> Subject: [MPlayer-users] mplayer update on FreeBSD ports
> To: "feature requests bug reports MPlayer usage questions" <mplayer-users at mplayerhq.hu>
> Date: Friday, January 20, 2012, 7:18 PM
> Dear folks,
> 
> I apologize for asking, but mplayer from ports does not
> compile cleanly and updating it fails :(
> 
> I truly don't know how to troubleshoot this, but the error
> appears on ffmpeg lists using google searches.  
> 
> I don't want to deviate from the ports as I can compile
> mplayer via svn, but I want to fix it via the ports system
> but I don't know who to email to.  I have asked in
> FreeBSD questions mailing list, but no one has answered
> :(.  On another machine I was able to update to latest
> without problems. 
> 
> Suggestions/advice/comments are greatly appreciated. 
> Here's a partial listing of what is happening:  
> 
> Thanks in advance,
> 
> 
> 
> Antonio 
> 
> libavcodec/nuv.c: In function 'copy_frame':
> libavcodec/nuv.c:76:5: warning: passing argument 2 of
> 'avpicture_fill' discards 'const' qualifier from pointer
> target type [enabled by default]
> libavcodec/avcodec.h:3646:5: note: expected 'uint8_t *' but
> argument is of type 'const uint8_t *'
> libavcodec/options.c:165:1: warning: 'weighted_p_pred' is
> deprecated (declared at libavcodec/avcodec.h:2979)
> [-Wdeprecated-declarations]CC   
> libavcodec/parser.o
> 
> libavcodec/options.c:205:1: warning: 'error_recognition' is
> deprecated (declared at libavcodec/avcodec.h:1657)
> [-Wdeprecated-declarations]
> libavcodec/options.c:219:1: warning: 'parse_only' is
> deprecated (declared at libavcodec/avcodec.h:1754)
> [-Wdeprecated-declarations]
> libavcodec/options.c:367:1: warning: 'antialias_algo' is
> deprecated (declared at libavcodec/avcodec.h:2366)
> [-Wdeprecated-declarations]
> libavcodec/options.c:415:1: warning: 'crf' is deprecated
> (declared at libavcodec/avcodec.h:2638)
> [-Wdeprecated-declarations]
> libavcodec/options.c:416:1: warning: 'cqp' is deprecated
> (declared at libavcodec/avcodec.h:2646)
> [-Wdeprecated-declarations]
> libavcodec/options.c:422:1: warning: 'bframebias' is
> deprecated (declared at libavcodec/avcodec.h:2676)
> [-Wdeprecated-declarations]
> libavcodec/options.c:426:1: warning: 'directpred' is
> deprecated (declared at libavcodec/avcodec.h:2727)
> [-Wdeprecated-declarations]
> libavcodec/options.c:436:1: warning: 'complexityblur' is
> deprecated (declared at libavcodec/avcodec.h:2692)
> [-Wdeprecated-declarations]
> libavcodec/options.c:437:1: warning: 'deblockalpha' is
> deprecated (declared at libavcodec/avcodec.h:2700)
> [-Wdeprecated-declarations]
> libavcodec/options.c:438:1: warning: 'deblockbeta' is
> deprecated (declared at libavcodec/avcodec.h:2708)
> [-Wdeprecated-declarations]
> libavcodec/options.c:439:1: warning: 'partitions' is
> deprecated (declared at libavcodec/avcodec.h:2715)
> [-Wdeprecated-declarations]
> libavcodec/options.c:456:1: warning: 'lpc_coeff_precision'
> is deprecated (declared at libavcodec/avcodec.h:2790)
> [-Wdeprecated-declarations]
> libavcodec/options.c:457:1: warning:
> 'prediction_order_method' is deprecated (declared at
> libavcodec/avcodec.h:2797) [-Wdeprecated-declarations]
> libavcodec/options.c:458:1: warning: 'min_partition_order'
> is deprecated (declared at libavcodec/avcodec.h:2803)
> [-Wdeprecated-declarations]
> libavcodec/options.c:459:1: warning: 'max_partition_order'
> is deprecated (declared at libavcodec/avcodec.h:2809)
> [-Wdeprecated-declarations]
> libavcodec/options.c:470:1: warning: 'drc_scale' is
> deprecated (declared at libavcodec/avcodec.h:2840)
> [-Wdeprecated-declarations]
> libavcodec/options.c:491:1: warning: 'psy_rd' is deprecated
> (declared at libavcodec/avcodec.h:3005)
> [-Wdeprecated-declarations]
> libavcodec/options.c:492:1: warning: 'psy_trellis' is
> deprecated (declared at libavcodec/avcodec.h:3013)
> [-Wdeprecated-declarations]
> libavcodec/options.c:493:1: warning: 'aq_mode' is
> deprecated (declared at libavcodec/avcodec.h:2989)
> [-Wdeprecated-declarations]
> libavcodec/options.c:494:1: warning: 'aq_strength' is
> deprecated (declared at libavcodec/avcodec.h:2997)
> [-Wdeprecated-declarations]
> libavcodec/options.c:495:1: warning: 'rc_lookahead' is
> deprecated (declared at libavcodec/avcodec.h:3021)
> [-Wdeprecated-declarations]
> libavcodec/options.c:498:1: warning: 'crf_max' is
> deprecated (declared at libavcodec/avcodec.h:3030)
> [-Wdeprecated-declarations]
> libavcodec/options.c:502:1: warning: 'lpc_type' is
> deprecated (declared at libavcodec/avcodec.h:3041)
> [-Wdeprecated-declarations]
> libavcodec/options.c:507:1: warning: 'lpc_passes' is
> deprecated (declared at libavcodec/avcodec.h:3048)
> [-Wdeprecated-declarations]
> libavcodec/options.c: In function
> 'avcodec_get_context_defaults3':
> libavcodec/options.c:570:5: warning: 'av_opt_set_defaults2'
> is deprecated (declared at ./libavutil/opt.h:370)
> [-Wdeprecated-declarations]
> libavcodec/options.c: In function
> 'avcodec_alloc_context2':
> libavcodec/options.c:628:5: warning:
> 'avcodec_get_context_defaults2' is deprecated (declared at
> libavcodec/options.c:550) [-Wdeprecated-declarations]
> libavcodec/options.c: In function
> 'avcodec_get_context_defaults':
> libavcodec/options.c:634:5: warning:
> 'avcodec_get_context_defaults2' is deprecated (declared at
> libavcodec/options.c:550) [-Wdeprecated-declarations]
> libavcodec/options.c: In function 'avcodec_alloc_context':
> libavcodec/options.c:638:5: warning:
> 'avcodec_alloc_context2' is deprecated (declared at
> libavcodec/options.c:623) [-Wdeprecated-declarations]
> CC    libavcodec/pcm.o
> CC    libavcodec/pcm-mpeg.o
> CC    libavcodec/pcx.o
> CC    libavcodec/pgssubdec.o
> CC    libavcodec/pictordec.o
> CC    libavcodec/png.o
> CC    libavcodec/pngdec.o
> libavcodec/pngdec.c: In function 'png_decode_idat':
> libavcodec/pngdec.c:375:24: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> CC    libavcodec/pngenc.o
> CC    libavcodec/pnm.o
> CC    libavcodec/pnm_parser.o
> CC    libavcodec/pnmdec.o
> CC    libavcodec/proresdec2.o
> libavcodec/pnmdec.c: In function 'pnm_decode_frame':
> libavcodec/pnmdec.c:41:25: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> libavcodec/pnmdec.c:42:25: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> CC    libavcodec/proresdec_lgpl.o
> libavcodec/proresdec2.c: In function 'decode_slice_luma':
> libavcodec/proresdec2.c:381:9: warning: passing argument 1
> of 'ctx->prodsp.idct_put' from incompatible pointer type
> [enabled by default]
> libavcodec/proresdec2.c:381:9: note: expected 'uint16_t *'
> but argument is of type 'uint8_t *'
> libavcodec/proresdec2.c:382:9: warning: passing argument 1
> of 'ctx->prodsp.idct_put' from incompatible pointer type
> [enabled by default]
> libavcodec/proresdec2.c:382:9: note: expected 'uint16_t *'
> but argument is of type 'uint8_t *'
> libavcodec/proresdec2.c:383:9: warning: passing argument 1
> of 'ctx->prodsp.idct_put' from incompatible pointer type
> [enabled by default]
> libavcodec/proresdec2.c:383:9: note: expected 'uint16_t *'
> but argument is of type 'uint8_t *'
> libavcodec/proresdec2.c:384:9: warning: passing argument 1
> of 'ctx->prodsp.idct_put' from incompatible pointer type
> [enabled by default]
> libavcodec/proresdec2.c:384:9: note: expected 'uint16_t *'
> but argument is of type 'uint8_t *'
> libavcodec/proresdec2.c: In function
> 'decode_slice_chroma':
> libavcodec/proresdec2.c:412:13: warning: passing argument 1
> of 'ctx->prodsp.idct_put' from incompatible pointer type
> [enabled by default]
> libavcodec/proresdec2.c:412:13: note: expected 'uint16_t *'
> but argument is of type 'uint8_t *'
> libavcodec/proresdec2.c:413:13: warning: passing argument 1
> of 'ctx->prodsp.idct_put' from incompatible pointer type
> [enabled by default]
> libavcodec/proresdec2.c:413:13: note: expected 'uint16_t *'
> but argument is of type 'uint8_t *'
> CC    libavcodec/pthread.o
> CC    libavcodec/proresdsp.o
> CC    libavcodec/ptx.o
> CC    libavcodec/qcelpdec.o
> CC    libavcodec/qdm2.o
> CC    libavcodec/qdrw.o
> CC    libavcodec/qpeg.o
> CC    libavcodec/qtrle.o
> CC    libavcodec/r210dec.o
> CC    libavcodec/ra144.o
> CC    libavcodec/ra144dec.o
> CC    libavcodec/ra288.o
> CC    libavcodec/rangecoder.o
> libavcodec/rangecoder.c: In function
> 'ff_init_range_decoder':
> libavcodec/rangecoder.c:56:5: warning: passing argument 1
> of 'bytestream_get_be16' from incompatible pointer type
> [enabled by default]
> libavcodec/bytestream.h:51:1: note: expected 'const uint8_t
> **' but argument is of type 'uint8_t **'
> CC    libavcodec/ratecontrol.o
> CC    libavcodec/raw.o
> CC    libavcodec/rawdec.o
> CC    libavcodec/rdft.o
> libavcodec/rawdec.c: In function 'raw_decode':
> libavcodec/rawdec.c:183:5: warning: passing argument 2 of
> 'avpicture_fill' discards 'const' qualifier from pointer
> target type [enabled by default]
> libavcodec/avcodec.h:3646:5: note: expected 'uint8_t *' but
> argument is of type 'const uint8_t *'
> libavcodec/rawdec.c:187:23: warning: assignment from
> incompatible pointer type [enabled by default]
> CC    libavcodec/remove_extradata_bsf.o
> CC    libavcodec/resample.o
> CC    libavcodec/resample2.o
> CC    libavcodec/rl2.o
> CC    libavcodec/roqvideo.o
> CC    libavcodec/roqvideodec.o
> CC    libavcodec/rpza.o
> CC    libavcodec/rtjpeg.o
> CC    libavcodec/rv10.o
> CC    libavcodec/rv30.o
> CC    libavcodec/rv30dsp.o
> CC    libavcodec/rv34.o
> CC    libavcodec/rv34_parser.o
> CC    libavcodec/rv34dsp.o
> CC    libavcodec/rv40.o
> CC    libavcodec/rv40dsp.o
> CC    libavcodec/s302m.o
> CC    libavcodec/s3tc.o
> CC    libavcodec/sgidec.o
> CC    libavcodec/shorten.o
> CC    libavcodec/simple_idct.o
> CC    libavcodec/sinewin.o
> CC    libavcodec/sipr.o
> CC    libavcodec/sipr16k.o
> CC    libavcodec/smacker.o
> CC    libavcodec/smc.o
> CC    libavcodec/snow.o
> CC    libavcodec/snowdec.o
> CC    libavcodec/snowenc.o
> CC    libavcodec/sonic.o
> CC    libavcodec/sp5xdec.o
> CC    libavcodec/srtdec.o
> CC    libavcodec/sunrast.o
> CC    libavcodec/svq1.o
> CC    libavcodec/svq1dec.o
> CC    libavcodec/svq3.o
> libavcodec/svq3.c: In function 'svq3_decode_mb':
> libavcodec/svq3.c:664:9: warning: passing argument 2 of
> 'svq3_decode_block' from incompatible pointer type [enabled
> by default]
> libavcodec/svq3.c:211:19: note: expected 'DCTELEM *' but
> argument is of type 'DCTELEM (*)[32]'
> CC    libavcodec/synth_filter.o
> CC    libavcodec/targa.o
> CC    libavcodec/tiertexseqv.o
> CC    libavcodec/tiff.o
> libavcodec/tiff.c: In function 'tiff_uncompress':
> libavcodec/tiff.c:89:21: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> CC    libavcodec/timecode.o
> CC    libavcodec/tmv.o
> CC    libavcodec/truemotion1.o
> CC    libavcodec/truemotion2.o
> CC    libavcodec/truespeech.o
> CC    libavcodec/tscc.o
> CC    libavcodec/tta.o
> CC    libavcodec/twinvq.o
> libavcodec/tscc.c: In function 'decode_frame':
> libavcodec/tscc.c:96:24: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> libavcodec/tta.c: In function 'tta_decode_frame':
> libavcodec/tta.c:421:36: warning: initialization from
> incompatible pointer type [enabled by default]
> libavcodec/tta.c:434:36: warning: initialization from
> incompatible pointer type [enabled by default]
> CC    libavcodec/txd.o
> CC    libavcodec/ulti.o
> gcc46 -I. -I./  -DHAVE_AV_CONFIG_H -Wundef 
> -Wstrict-prototypes -Wmissing-prototypes
> -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99  -pipe -g
> -Wl,-rpath=/usr/local/lib/gcc46 -fno-tree-vectorize
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -Ilibdvdread4 -I. -Iffmpeg
> -I/usr/local/include -I/usr/local/include 
> -I/usr/local/include
> -I/usr/local/include/   -I/usr/local/include/freetype2
> -I/usr/local/include
> -I/usr/local/include   -I/include
> -D_THREAD_SAFE -D_REENTRANT -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/gdk-pixbuf-2.0
> -I/usr/local/include/pango-1.0
> -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include
> -I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1
> -I/usr/local/include/freetype2    -E
> ./libavcodec/avcodec.h | \
> ./libavcodec/codec_names.sh config.h
> libavcodec/codec_names.h
> CC    libavcodec/utvideo.o
> CC    libavcodec/v210dec.o
> CC    libavcodec/v210x.o
> CC    libavcodec/v410dec.o
> CC    libavcodec/vb.o
> CC    libavcodec/vble.o
> CC    libavcodec/vc1.o
> CC    libavcodec/vc1_parser.o
> CC    libavcodec/vc1data.o
> CC    libavcodec/vc1dec.o
> CC    libavcodec/vc1dsp.o
> libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init':
> libavcodec/vc1dsp.c:816:39: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/vc1dsp.c:833:39: warning: assignment from
> incompatible pointer type [enabled by default]
> CC    libavcodec/vcr1.o
> CC    libavcodec/vdpau.o
> CC    libavcodec/vmdav.o
> CC    libavcodec/vmnc.o
> CC    libavcodec/vorbis.o
> CC    libavcodec/vorbis_data.o
> CC    libavcodec/vorbisdec.o
> CC    libavcodec/vp3.o
> CC    libavcodec/vp3_parser.o
> CC    libavcodec/vp3dsp.o
> CC    libavcodec/vp5.o
> CC    libavcodec/vp56.o
> CC    libavcodec/vp56data.o
> CC    libavcodec/vp56dsp.o
> CC    libavcodec/vp56rac.o
> CC    libavcodec/vp6.o
> CC    libavcodec/vp6dsp.o
> CC    libavcodec/vp8.o
> CC    libavcodec/vp8_parser.o
> CC    libavcodec/vp8dsp.o
> CC    libavcodec/vqavideo.o
> CC    libavcodec/wavpack.o
> CC    libavcodec/wma.o
> CC    libavcodec/wmadec.o
> CC    libavcodec/wmalosslessdec.o
> libavcodec/wmalosslessdec.c: In function
> 'decode_channel_residues':
> libavcodec/wmalosslessdec.c:722:5: warning: passing
> argument 1 of 'dump_int_buffer' from incompatible pointer
> type [enabled by default]
> libavcodec/wmalosslessdec.c:313:13: note: expected 'uint8_t
> *' but argument is of type 'int *'
> libavcodec/wmalosslessdec.c: In function 'decode_packet':
> libavcodec/wmalosslessdec.c:1354:9: warning: ISO C90
> forbids mixed declarations and code
> [-Wdeclaration-after-statement]
> CC    libavcodec/wmaprodec.o
> CC    libavcodec/wmavoice.o
> CC    libavcodec/wmv2.o
> CC    libavcodec/wmv2dec.o
> CC    libavcodec/wnv1.o
> CC    libavcodec/ws-snd1.o
> YASM    libavcodec/x86/ac3dsp.o
> CC    libavcodec/x86/ac3dsp_mmx.o
> CC    libavcodec/x86/cavsdsp_mmx.o
> YASM    libavcodec/x86/deinterlace.o
> CC    libavcodec/x86/diracdsp_mmx.o
> YASM    libavcodec/x86/dct32_sse.o
> CC    libavcodec/x86/dnxhd_mmx.o
> YASM    libavcodec/x86/diracdsp_yasm.o
> CC    libavcodec/x86/dsputil_mmx.o
> CC    libavcodec/x86/dsputilenc_mmx.o
> YASM    libavcodec/x86/dsputil_yasm.o
> YASM    libavcodec/x86/dsputilenc_yasm.o
> CC    libavcodec/x86/dwt.o
> YASM    libavcodec/x86/dwt_yasm.o
> CC    libavcodec/x86/fdct_mmx.o
> libavcodec/x86/dwt.c: In function
> 'ff_spatial_idwt_init_mmx':
> libavcodec/x86/dwt.c:172:32: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:173:32: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:176:32: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:177:32: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:180:32: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:181:32: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:184:31: warning: assignment from
> incompatible pointer type [enabled by default]
> libavcodec/x86/dwt.c:188:31: warning: assignment from
> incompatible pointer type [enabled by default]
> CC    libavcodec/x86/fft.o
> CC    libavcodec/x86/fft_3dn.o
> CC    libavcodec/x86/fft_3dn2.o
> CC    libavcodec/x86/fft_sse.o
> YASM    libavcodec/x86/fft_mmx.o
> YASM    libavcodec/x86/fmtconvert.o
> CC    libavcodec/x86/fmtconvert_mmx.o
> libavcodec/x86/fft_mmx.asm:48: warning: section flags
> ignored on section redeclaration
> YASM   
> libavcodec/x86/h264_chromamc_10bit.o
> YASM    libavcodec/x86/h264_chromamc.o
> YASM    libavcodec/x86/h264_deblock.o
> YASM    libavcodec/x86/h264_deblock_10bit.o
> YASM    libavcodec/x86/h264_idct_10bit.o
> YASM    libavcodec/x86/h264_idct.o
> YASM   
> libavcodec/x86/h264_intrapred_10bit.o
> CC    libavcodec/x86/h264_intrapred_init.o
> YASM    libavcodec/x86/h264_intrapred.o
> YASM    libavcodec/x86/h264_weight.o
> YASM    libavcodec/x86/h264_weight_10bit.o
> CC    libavcodec/x86/h264dsp_mmx.o
> CC    libavcodec/x86/idct_mmx.o
> YASM    libavcodec/x86/h264_qpel_10bit.o
> CC    libavcodec/x86/idct_mmx_xvid.o
> CC    libavcodec/x86/idct_sse2_xvid.o
> CC    libavcodec/x86/lpc_mmx.o
> CC    libavcodec/x86/mlpdsp.o
> libavcodec/x86/mlpdsp.c:44:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:44:56: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:45:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:45:56: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:46:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:46:56: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:47:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:47:56: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:48:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:49:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:49:56: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:50:36: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:50:56: warning: taking address of
> expression of type 'void' [enabled by default]
> libavcodec/x86/mlpdsp.c:51:36: warning: taking address of
> expression of type 'void' [enabled by default]
> YASM    libavcodec/x86/imdct36_sse.o
> CC    libavcodec/x86/motion_est_mmx.o
> CC    libavcodec/x86/mpegaudiodec_mmx.o
> CC    libavcodec/x86/mpegvideo_mmx.o
> CC    libavcodec/x86/png_mmx.o
> CC    libavcodec/x86/proresdsp-init.o
> CC    libavcodec/x86/rv40dsp.o
> CC    libavcodec/x86/simple_idct_mmx.o
> YASM    libavcodec/x86/proresdsp.o
> CC    libavcodec/x86/snowdsp_mmx.o
> CC    libavcodec/x86/v210-init.o
> CC    libavcodec/x86/vc1dsp_mmx.o
> YASM    libavcodec/x86/v210.o
> YASM    libavcodec/x86/vp56dsp.o
> YASM    libavcodec/x86/vc1dsp_yasm.o
> CC    libavcodec/x86/vp56dsp_init.o
> YASM    libavcodec/x86/vp3dsp.o
> CC    libavcodec/x86/vp8dsp-init.o
> CC    libavcodec/xan.o
> CC    libavcodec/xiph.o
> CC    libavcodec/xl.o
> CC    libavcodec/xsubdec.o
> CC    libavcodec/xxan.o
> CC    libavcodec/yop.o
> CC    libavcodec/zmbv.o
> libavcodec/zmbv.c: In function 'decode_frame':
> libavcodec/zmbv.c:508:28: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> CC    libavcodec/utils.o
> libavcodec/utils.c: In function 'avcodec_register':
> libavcodec/utils.c:107:5: warning: 'avcodec_init' is
> deprecated (declared at libavcodec/utils.c:93)
> [-Wdeprecated-declarations]
> libavcodec/utils.c: In function 'avcodec_open2':
> libavcodec/utils.c:700:41: warning: assignment discards
> 'const' qualifier from pointer target type [enabled by
> default]
> libavcodec/utils.c:754:12: warning: 'error_recognition' is
> deprecated (declared at libavcodec/avcodec.h:1657)
> [-Wdeprecated-declarations]
> libavcodec/utils.c:755:5: warning: 'error_recognition' is
> deprecated (declared at libavcodec/avcodec.h:1657)
> [-Wdeprecated-declarations]
> libavcodec/utils.c:765:12: warning: 'error_recognition' is
> deprecated (declared at libavcodec/avcodec.h:1657)
> [-Wdeprecated-declarations]
> libavcodec/utils.c: In function 'avcodec_encode_audio':
> libavcodec/utils.c:873:9: warning: passing argument 4 of
> 'avctx->codec->encode' discards 'const' qualifier from
> pointer target type [enabled by default]
> libavcodec/utils.c:873:9: note: expected 'void *' but
> argument is of type 'const short int *'
> libavcodec/utils.c: In function 'avcodec_encode_video':
> libavcodec/utils.c:890:9: warning: passing argument 4 of
> 'avctx->codec->encode' discards 'const' qualifier from
> pointer target type [enabled by default]
> libavcodec/utils.c:890:9: note: expected 'void *' but
> argument is of type 'const struct AVFrame *'
> libavcodec/utils.c: In function 'avcodec_encode_subtitle':
> libavcodec/utils.c:908:5: warning: passing argument 4 of
> 'avctx->codec->encode' discards 'const' qualifier from
> pointer target type [enabled by default]
> libavcodec/utils.c:908:5: note: expected 'void *' but
> argument is of type 'const struct AVSubtitle *'
> YASM    libavcodec/x86/vp8dsp.o
> AR    libavcodec/libavcodec.a
> gmake[1]: Leaving directory
> `/usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg'
> gcc46 -o mplayer command.o m_property.o mixer.o mp_fifo.o
> mplayer.o parser-mpcmd.o pnm_loader.o input/input.o
> libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o
> libao2/audio_out.o libvo/aspect.o libvo/geometry.o
> libvo/video_out.o libvo/vo_mpegpes.o libvo/vo_null.o
> sub/spuenc.o libvo/vo_aa.o libvo/vo_caca.o libvo/vo_dga.o
> libvo/vo_png.o libvo/vo_gif89a.o libvo/gl_common.o
> libvo/vo_gl.o libvo/vo_gl2.o libvo/csputils.o
> libvo/sdl_common.o libvo/x11_common.o libvo/vo_matrixview.o
> libvo/matrixview.o gui/util/bitmap.o gui/util/list.o
> gui/util/string.o gui/app.o gui/cfg.o gui/interface.o
> gui/skin/font.o gui/skin/skin.o gui/ui/actions.o
> gui/ui/gtk/about.o gui/ui/gtk/equalizer.o
> gui/ui/gtk/fileselect.o gui/ui/gtk/menu.o
> gui/ui/gtk/msgbox.o gui/ui/gtk/playlist.o
> gui/ui/gtk/preferences.o gui/ui/gtk/skinbrowser.o
> gui/ui/gtk/tools.o gui/ui/gtk/url.o gui/ui/main.o
> gui/ui/menu.o gui/ui/playbar.o gui/ui/render.o gui/ui/sub.o
> gui/ui/widgets.o gui/util/cut.o gui/wm/ws.o
>  gui/wm/wsxdnd.o libvo/vo_jpeg.o libvo/vo_md5sum.o
> udp_sync.o libao2/ao_oss.o libvo/vo_pnm.o libao2/ao_sdl.o
> libvo/vo_sdl.o libvo/vo_svga.o libvo/vo_tga.o
> libvo/vo_vdpau.o libvo/vo_x11.o libvo/vo_xover.o
> libvo/vo_xv.o libvo/vo_yuv4mpeg.o asxparser.o bstr.o
> codec-cfg.o cpudetect.o edl.o fmt-conversion.o m_config.o
> m_option.o m_struct.o mp_msg.o mp_strings.o mpcommon.o
> parser-cfg.o path.o playtree.o playtreeparser.o
> subopt-helper.o libaf/af.o libaf/af_center.o
> libaf/af_channels.o libaf/af_comp.o libaf/af_delay.o
> libaf/af_dummy.o libaf/af_equalizer.o libaf/af_extrastereo.o
> libaf/af_format.o libaf/af_gate.o libaf/af_hrtf.o
> libaf/af_karaoke.o libaf/af_pan.o libaf/af_resample.o
> libaf/af_scaletempo.o libaf/af_sinesuppress.o
> libaf/af_stats.o libaf/af_sub.o libaf/af_surround.o
> libaf/af_sweep.o libaf/af_tools.o libaf/af_volnorm.o
> libaf/af_volume.o libaf/filter.o libaf/format.o
> libaf/reorder_ch.o libaf/window.o libmpcodecs/ad.o
> libmpcodecs/ad_alaw.o
>  libmpcodecs/ad_dk3adpcm.o libmpcodecs/ad_dvdpcm.o
> libmpcodecs/ad_hwac3.o libmpcodecs/ad_hwmpa.o
> libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_msadpcm.o
> libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o
> libmpcodecs/dec_teletext.o libmpcodecs/dec_video.o
> libmpcodecs/img_format.o libmpcodecs/mp_image.o
> libmpcodecs/pullup.o libmpcodecs/vd.o
> libmpcodecs/vd_hmblck.o libmpcodecs/vd_lzo.o
> libmpcodecs/vd_mpegpes.o libmpcodecs/vd_mtga.o
> libmpcodecs/vd_null.o libmpcodecs/vd_raw.o
> libmpcodecs/vd_sgi.o libmpcodecs/vf.o libmpcodecs/vf_1bpp.o
> libmpcodecs/vf_2xsai.o libmpcodecs/vf_blackframe.o
> libmpcodecs/vf_boxblur.o libmpcodecs/vf_crop.o
> libmpcodecs/vf_cropdetect.o libmpcodecs/vf_decimate.o
> libmpcodecs/vf_delogo.o libmpcodecs/vf_denoise3d.o
> libmpcodecs/vf_detc.o libmpcodecs/vf_dint.o
> libmpcodecs/vf_divtc.o libmpcodecs/vf_down3dright.o
> libmpcodecs/vf_dsize.o libmpcodecs/vf_dvbscale.o
> libmpcodecs/vf_eq.o libmpcodecs/vf_eq2.o
> libmpcodecs/vf_expand.o libmpcodecs/vf_field.o
>  libmpcodecs/vf_fil.o libmpcodecs/vf_filmdint.o
> libmpcodecs/vf_fixpts.o libmpcodecs/vf_flip.o
> libmpcodecs/vf_format.o libmpcodecs/vf_framestep.o
> libmpcodecs/vf_gradfun.o libmpcodecs/vf_halfpack.o
> libmpcodecs/vf_harddup.o libmpcodecs/vf_hqdn3d.o
> libmpcodecs/vf_hue.o libmpcodecs/vf_il.o
> libmpcodecs/vf_ilpack.o libmpcodecs/vf_ivtc.o
> libmpcodecs/vf_kerndeint.o libmpcodecs/vf_mirror.o
> libmpcodecs/vf_noformat.o libmpcodecs/vf_noise.o
> libmpcodecs/vf_ow.o libmpcodecs/vf_palette.o
> libmpcodecs/vf_perspective.o libmpcodecs/vf_phase.o
> libmpcodecs/vf_pp7.o libmpcodecs/vf_pullup.o
> libmpcodecs/vf_rectangle.o libmpcodecs/vf_remove_logo.o
> libmpcodecs/vf_rgbtest.o libmpcodecs/vf_rotate.o
> libmpcodecs/vf_sab.o libmpcodecs/vf_scale.o
> libmpcodecs/vf_smartblur.o libmpcodecs/vf_softpulldown.o
> libmpcodecs/vf_stereo3d.o libmpcodecs/vf_softskip.o
> libmpcodecs/vf_swapuv.o libmpcodecs/vf_telecine.o
> libmpcodecs/vf_test.o libmpcodecs/vf_tfields.o
> libmpcodecs/vf_tile.o
>  libmpcodecs/vf_tinterlace.o libmpcodecs/vf_unsharp.o
> libmpcodecs/vf_vo.o libmpcodecs/vf_yadif.o
> libmpcodecs/vf_yuvcsp.o libmpcodecs/vf_yvu9.o
> libmpdemux/aac_hdr.o libmpdemux/asfheader.o
> libmpdemux/aviheader.o libmpdemux/aviprint.o
> libmpdemux/demuxer.o libmpdemux/demux_aac.o
> libmpdemux/demux_asf.o libmpdemux/demux_audio.o
> libmpdemux/demux_avi.o libmpdemux/demux_demuxers.o
> libmpdemux/demux_film.o libmpdemux/demux_fli.o
> libmpdemux/demux_lmlm4.o libmpdemux/demux_mf.o
> libmpdemux/demux_mkv.o libmpdemux/demux_mov.o
> libmpdemux/demux_mpg.o libmpdemux/demux_nsv.o
> libmpdemux/demux_pva.o libmpdemux/demux_rawaudio.o
> libmpdemux/demux_rawvideo.o libmpdemux/demux_realaud.o
> libmpdemux/demux_real.o libmpdemux/demux_roq.o
> libmpdemux/demux_smjpeg.o libmpdemux/demux_ts.o
> libmpdemux/demux_ty.o libmpdemux/demux_ty_osd.o
> libmpdemux/demux_viv.o libmpdemux/demux_vqf.o
> libmpdemux/demux_y4m.o libmpdemux/ebml.o
> libmpdemux/extension.o libmpdemux/mf.o libmpdemux/mp3_hdr.o
>  libmpdemux/mp_taglists.o libmpdemux/mpeg_hdr.o
> libmpdemux/mpeg_packetizer.o libmpdemux/parse_es.o
> libmpdemux/parse_mp4.o libmpdemux/video.o
> libmpdemux/yuv4mpeg.o libmpdemux/yuv4mpeg_ratio.o
> osdep/getch2.o osdep/timer-linux.o stream/open.o
> stream/stream.o stream/stream_bd.o stream/stream_cue.o
> stream/stream_file.o stream/stream_mf.o stream/stream_null.o
> stream/url.o sub/eosd.o sub/find_sub.o sub/osd.o
> sub/spudec.o sub/sub.o sub/sub_cc.o sub/subreader.o
> sub/vobsub.o stream/dvb_tune.o stream/stream_dvb.o
> stream/stream_dvdnav.o libdvdnav/dvdnav.o
> libdvdnav/highlight.o libdvdnav/navigation.o
> libdvdnav/read_cache.o libdvdnav/remap.o
> libdvdnav/searching.o libdvdnav/settings.o
> libdvdnav/vm/decoder.o libdvdnav/vm/vm.o
> libdvdnav/vm/vmcmd.o stream/stream_dvd.o
> stream/stream_dvd_common.o libdvdread4/bitreader.o
> libdvdread4/dvd_input.o libdvdread4/dvd_reader.o
> libdvdread4/dvd_udf.o libdvdread4/ifo_print.o
> libdvdread4/ifo_read.o libdvdread4/md5.o
>  libdvdread4/nav_print.o libdvdread4/nav_read.o
> libvo/aclib.o av_helpers.o av_opts.o libaf/af_lavcresample.o
> libmpcodecs/ad_ffmpeg.o libmpcodecs/ad_spdif.o
> libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_geq.o
> libmpcodecs/vf_lavc.o libmpcodecs/vf_lavcdeint.o
> libmpcodecs/vf_pp.o libmpcodecs/vf_screenshot.o
> libmpdemux/demux_lavf.o stream/stream_ffmpeg.o sub/av_sub.o
> libaf/af_lavcac3enc.o libmpcodecs/vf_fspp.o
> libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o
> libmpcodecs/vf_spp.o libmpcodecs/vf_uspp.o
> sub/font_load_ft.o stream/stream_ftp.o
> libmpdemux/demux_gif.o libmpcodecs/vf_bmovl.o
> libaf/af_export.o osdep/mmap_anon.o libmpcodecs/vd_ijpg.o
> libmpcodecs/vf_ass.o sub/ass_mp.o sub/subassconvert.o
> libass/ass.o libass/ass_bitmap.o libass/ass_cache.o
> libass/ass_drawing.o libass/ass_font.o
> libass/ass_fontconfig.o libass/ass_library.o
> libass/ass_parse.o libass/ass_render.o
> libass/ass_render_api.o libass/ass_shaper.o
> libass/ass_strtod.o libass/ass_utils.o
> libmpcodecs/ad_libdv.o
>  libmpcodecs/vd_libdv.o libmpdemux/demux_rawdv.o
> libdvdcss/css.o libdvdcss/device.o libdvdcss/error.o
> libdvdcss/ioctl.o libdvdcss/libdvdcss.o
> libmpcodecs/ad_libmad.o libmpcodecs/vd_libmpeg2.o
> libmpeg2/alloc.o libmpeg2/cpu_accel.o libmpeg2/cpu_state.o
> libmpeg2/decode.o libmpeg2/header.o libmpeg2/idct.o
> libmpeg2/motion_comp.o libmpeg2/slice.o libmpeg2/idct_mmx.o
> libmpeg2/motion_comp_mmx.o libmpcodecs/vd_theora.o
> libmpdemux/demux_rtp.o libmpdemux/demux_rtp_codec.o
> stream/stream_live555.o libmpcodecs/ad_mp3lib.o mp3lib/sr1.o
> mp3lib/decode_mmx.o mp3lib/dct64_sse.o stream/stream_rtsp.o
> stream/freesdp/common.o stream/freesdp/errorlist.o
> stream/freesdp/parser.o stream/librtsp/rtsp.o
> stream/librtsp/rtsp_rtp.o stream/librtsp/rtsp_session.o
> stream/stream_netstream.o stream/asf_mmst_streaming.o
> stream/asf_streaming.o stream/cookies.o stream/http.o
> stream/network.o stream/pnm.o stream/rtp.o stream/udp.o
> stream/tcp.o stream/stream_rtp.o stream/stream_udp.o
>  stream/realrtsp/asmrp.o stream/realrtsp/real.o
> stream/realrtsp/rmff.o stream/realrtsp/sdpplin.o
> stream/realrtsp/xbuffer.o libmpcodecs/vd_mpng.o
> libmpcodecs/ad_speex.o stream/cache2.o tremor/bitwise.o
> tremor/block.o tremor/codebook.o tremor/floor0.o
> tremor/floor1.o tremor/framing.o tremor/info.o
> tremor/mapping0.o tremor/mdct.o tremor/registry.o
> tremor/res012.o tremor/sharedbook.o tremor/synthesis.o
> tremor/window.o stream/stream_tv.o stream/tv.o
> stream/frequencies.o stream/tvi_dummy.o
> stream/tvi_bsdbt848.o sub/unrar_exec.o stream/stream_vcd.o
> libmpcodecs/ad_libvorbis.o libmpdemux/demux_ogg.o
> libmpcodecs/vd_xanim.o osdep/shmem.o
> ffmpeg/libpostproc/libpostproc.a
> ffmpeg/libswscale/libswscale.a
> ffmpeg/libavfilter/libavfilter.a
> ffmpeg/libavformat/libavformat.a
> ffmpeg/libavcodec/libavcodec.a ffmpeg/libavutil/libavutil.a
> -Wl,-z,noexecstack
> /usr/local/live/liveMedia/libliveMedia.a     
>            
> /usr/local/live/UsageEnvironment/libUsageEnvironment.a 
>           
>      
> /usr/local/live/BasicUsageEnvironment/libBasicUsageEnvironment.a 
>                
> /usr/local/live/groupsock/libgroupsock.a     
>            
> -lm   -rpath=/usr/lib:/usr/local/lib
> -Wl,-rpath=/usr/local/lib/gcc46  -liconv
> /usr/lib/libncurses.so -lpng -lz -ljpeg -lungif
> -L/usr/local/lib -lfreetype -lz -lbz2 -lfontconfig  -lz
> /usr/lib/libbz2.so -llzo2 -lmad -lspeex -L/usr/local/lib
> -ltheora -logg    -lstdc++  -L/lib -lrtmp -lz
> -lssl -lcrypto -ldv -pthread  -rdynamic
> -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib 
> -lv4l1 -lv4l2 -lrtmp -lXext -lX11 -pthread -lXss -lXv
> -lvdpau -lXinerama -lXxf86vm -lXxf86dga -laa -lcaca -lvga
> -lSDL -lGL -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr
> -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0
> -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpango-1.0
> -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
> -lgthread-2.0 -lglib-2.0 -lglib-2.0
> ffmpeg/libavcodec/libavcodec.a(ffv1.o): In function
> `find_best_state':
> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/ffv1.c:243:
> undefined reference to `log2'
> ffmpeg/libavcodec/libavcodec.a(aacsbr.o): In function
> `sbr_make_f_master':
> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:428:
> undefined reference to `log2f'
> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:456:
> undefined reference to `log2f'
> ffmpeg/libavcodec/libavcodec.a(aacsbr.o): In function
> `sbr_make_f_derived':
> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:580:
> undefined reference to `log2f'
> /usr/ports/multimedia/mplayer/work/mplayer-export-2011-12-18/ffmpeg/libavcodec/aacsbr.c:580:
> undefined reference to `log2f'
> collect2: ld returned 1 exit status
> gmake: *** [mplayer] Error 1
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/mplayer.
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/mplayer.
> 
> ===>>> make failed for multimedia/mplayer
> ===>>> Aborting update
> 
> ===>>> Update for multimedia/mplayer failed
> ===>>> Aborting update
> 
> Terminated
> ===>>> The following actions were performed:
>     Upgrade of rtmpdump-2.3_1 to
> rtmpdump-2.4
> 
> 
> ===>>> You can restart from the point of failure
> with this command line:
>        portmaster <flags>
> multimedia/mplayer 
> 
> 
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> 

I have remembered last time I was helped with mplayer on FreeBSD, just in case it could help:

http://comments.gmane.org/gmane.comp.video.mplayer.user/66536

I am thinking, should I rebuild ffmpeg?  I am running 8.2 amd64 release and have successfully built new version from ports on another 8.2 amd64 machine and a 9.0 STABLE amd64 machine as well.  But on this machine it fails.  

Thanks in advance,


Antonio 


More information about the MPlayer-users mailing list