[MPlayer-users] Error while compliling mplayer

Reiser metaller at fromru.com
Mon Dec 15 05:55:54 CET 2008


Hi! When i try to compile mplayer with custom options

  ./configure --prefix=/usr --confdir=/etc/mplayer \
                 --disable-gui \
          --language=ru \
          --enable-lirc \
          --disable-lircc \
          --disable-joystick \
          --enable-radio \
          --enable-radio-capture \
          --enable-radio-v4l2 \
          --disable-radio-bsdbt848 \
          --enable-tv \
          --enable-tv-v4l1 \
          --enable-tv-v4l2 \
          --disable-tv-bsdbt848 \
          --enable-tv-teletext \
          --disable-pvr \
          --disable-rtc \
          --disable-smb \
          --disable-live \
          --disable-nemesi \
                 --disable-dvdnav \
                 --enable-dvdread \
          --disable-cdparanoia \
          --disable-cddb \
          --disable-inet6 \
             --enable-menu \
          --enable-fribidi \
          --enable-freetype \
          --enable-alsa \
                --disable-arts \
          --disable-esd \
          --disable-openal \
          --disable-jack \
          --disable-pulse \
          --disable-sunaudio \
          --disable-sgiaudio \
          --disable-nas \
          --disable-win32waveout \
          --disable-ossaudio \
          --enable-xv \
          --enable-gl \
          --enable-x11 \
          --disable-vidix \
          --disable-vidix-pcidb \
          --disable-dhahelper \
          --disable-svgalib_helper \
          --disable-dga2 \
          --disable-dga1 \
          --disable-vesa \
          --disable-svga \
          --disable-sdl \
                --disable-aa \
                --disable-caca \
                --disable-ggi \
                --disable-ggiwmh \
                --disable-directx \
                --disable-dxr2 \
                --disable-dxr3 \
                --disable-ivtv \
                --enable-v4l2 \
                --disable-dvb \
                --disable-dvbhead \
                --disable-mga \
                --disable-xmga \
                --disable-vm \
                --disable-xinerama \
                --disable-xss \
                --enable-fbdev \
                --disable-directfb \
                --disable-zr \
               --disable-tga \
                --disable-pnm \
          --disable-md5sum \
          --disable-yuv4mpeg \
          --enable-gif \
          --enable-png \
          --enable-jpeg \
          --disable-libcdio \
          --disable-liblzo \
          --enable-libmpeg2 \
          --enable-xvid \
                --enable-x264 \
                --disable-tremor \
             --enable-speex \
          --enable-faad \
          --enable-faac \
          --disable-ladspa \
          --enable-libdv \
                --enable-mad \
          --enable-theora \
          --enable-libamr_nb \
          --enable-libamr_wb \
              --enable-mp3lame \
          --enable-toolame \
          --disable-twolame \
          --enable-libdca \
          --enable-liba52 \
          --enable-musepack

it not compiling successful :(

yuv2rgb.c:329: warning: 'yuv2rgb_c_4' defined but not 
used                                     
yuv2rgb.c:401: warning: 'yuv2rgb_c_4b' defined but not 
used                                    
rm -f 
libswscale.a                                                                            
 
ar rc libswscale.a rgb2rgb.o swscale.o swscale_avoption.o 
yuv2rgb.o                            
true 
libswscale.a                                                                             
 
make[1]: Leaving directory 
`/var/abs/local/yaourtbuild/mplayer-svn/src/mplayer/libswscale'     
touch 
libswscale/libswscale.a                                                                 
 
cc -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o 
parser-mpcmd.o command.o input/input.o libao2/audio_out.o 
libao2/ao_mpegpes.o libao2/ao_null.o libao2/ao_pcm.o libvo/aspect.o 
libvo/geometry.o libvo/spuenc.o libvo/video_out.o libvo/vo_mpegpes.o 
libvo/vo_null.o libao2/ao_alsa.o libvo/vo_fbdev.o libvo/vo_fbdev2.o 
libvo/vo_gif89a.o libvo/gl_common.o libvo/vo_gl.o libvo/vo_gl2.o 
libvo/vo_jpeg.o libmenu/menu.o libmenu/menu_chapsel.o 
libmenu/menu_cmdlist.o libmenu/menu_console.o libmenu/menu_filesel.o 
libmenu/menu_list.o libmenu/menu_param.o libmenu/menu_pt.o 
libmenu/menu_txt.o libmenu/vf_menu.o input/lirc.o libvo/vo_png.o 
libao2/ao_sdl.o libvo/vo_sdl.o libvo/vo_v4l2.o libao2/ao_v4l2.o 
libvo/vo_x11.o libvo/vo_xover.o libvo/x11_common.o libvo/vo_xv.o 
asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o 
m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o 
playtreeparser.o spudec.o sub_cc.o subopt-helper.o subreader.o vobsub.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_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_hwmpa.o 
libmpcodecs/ad_imaadpcm.o libmpcodecs/ad_msadpcm.o 
libmpcodecs/ad_msgsm.o libmpcodecs/ad_pcm.o libmpcodecs/dec_audio.o 
libmpcodecs/dec_video.o libmpcodecs/img_format.o libmpcodecs/mp_image.o 
libmpcodecs/native/nuppelvideo.o libmpcodecs/native/rtjpegn.o 
libmpcodecs/native/xa_gsm.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_nuv.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_flip.o libmpcodecs/vf_format.o 
libmpcodecs/vf_framestep.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_rgb2bgr.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_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_yuy2.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_nuv.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 libvo/aclib.o libvo/osd.o libvo/sub.o 
osdep/getch2.o osdep/timer-linux.o stream/open.o stream/stream.o 
stream/stream_cue.o stream/stream_file.o stream/stream_mf.o 
stream/stream_null.o stream/url.o libvo/font_load.o stream/stream_cdda.o 
stream/cdinfo.o stream/stream_dvd.o stream/stream_dvd_common.o 
libdvdread/cmd_print.o libdvdread/dvd_input.o libdvdread/dvd_reader.o 
libdvdread/dvd_udf.o libdvdread/ifo_print.o libdvdread/ifo_read.o 
libdvdread/md5.o libdvdread/nav_print.o libdvdread/nav_read.o 
libmpcodecs/ad_faad.o libfaad2/bits.o libfaad2/cfft.o libfaad2/common.o 
libfaad2/decoder.o libfaad2/drc.o libfaad2/drm_dec.o libfaad2/error.o 
libfaad2/filtbank.o libfaad2/hcr.o libfaad2/huffman.o 
libfaad2/ic_predict.o libfaad2/is.o libfaad2/lt_predict.o 
libfaad2/mdct.o libfaad2/mp4.o libfaad2/ms.o libfaad2/output.o 
libfaad2/pns.o libfaad2/ps_dec.o libfaad2/ps_syntax.o libfaad2/pulse.o 
libfaad2/rvlc.o libfaad2/sbr_dct.o libfaad2/sbr_dec.o 
libfaad2/sbr_e_nf.o libfaad2/sbr_fbt.o libfaad2/sbr_hfadj.o 
libfaad2/sbr_hfgen.o libfaad2/sbr_huff.o libfaad2/sbr_qmf.o 
libfaad2/sbr_syntax.o libfaad2/sbr_tf_grid.o libfaad2/specrec.o 
libfaad2/ssr.o libfaad2/ssr_fb.o libfaad2/ssr_ipqf.o libfaad2/syntax.o 
libfaad2/tns.o libvo/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/ad_hwac3.o 
libmpcodecs/ad_liba52.o liba52/crc.o liba52/resample.o 
liba52/bit_allocate.o liba52/bitstream.o liba52/downmix.o liba52/imdct.o 
liba52/parse.o libass/ass.o libass/ass_bitmap.o libass/ass_cache.o 
libass/ass_font.o libass/ass_fontconfig.o libass/ass_library.o 
libass/ass_mp.o libass/ass_render.o libass/ass_utils.o 
libmpcodecs/vf_ass.o av_opts.o libaf/af_lavcresample.o 
libmpcodecs/ad_ffmpeg.o libmpcodecs/vd_ffmpeg.o libmpcodecs/vf_lavc.o 
libmpcodecs/vf_lavcdeint.o libmpcodecs/vf_screenshot.o 
libaf/af_lavcac3enc.o libmpcodecs/vf_fspp.o libmpcodecs/vf_geq.o 
libmpcodecs/vf_mcdeint.o libmpcodecs/vf_qp.o libmpcodecs/vf_spp.o 
libmpcodecs/vf_uspp.o libmpdemux/demux_lavf.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 libmpcodecs/vf_pp.o 
libmpcodecs/vd_theora.o libmpcodecs/ad_libvorbis.o 
libmpdemux/demux_ogg.o libmpdemux/demux_mng.o libmpcodecs/ad_mp3lib.o 
mp3lib/sr1.o libmpcodecs/ad_mpc.o libmpdemux/demux_mpc.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 osdep/shmem.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 stream/stream_radio.o stream/audio_in.o 
libmpcodecs/ad_realaud.o libmpcodecs/vd_realvid.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_vbi.o stream/tvi_v4l.o stream/tvi_v4l2.o unrar_exec.o 
stream/stream_vcd.o libmpcodecs/vd_xanim.o libmpcodecs/vd_xvid4.o 
stream/ai_alsa1x.o libmpeg2/idct_mmx.o libmpeg2/motion_comp_mmx.o 
mp3lib/decode_mmx.o mp3lib/dct64_sse.o libavformat/libavformat.a 
libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a 
libswscale/libswscale.a -lXv -lGL -ldl -lSDL -lpthread -lmp3lame 
-Wl,-z,noexecstack    -lncurses -lpng -lz -lmng -lz -ljpeg -lungif 
-lasound -ldl -lpthread -lcdda_interface -lcdda_paranoia -lfreetype -lz 
-lfontconfig  -L/usr/lib -lfribidi -lz -lmad -lspeex -ltheora -logg 
-lmpcdec -lamrnb -lamrwb -lpthread -ldl -rdynamic -llirc_client 
-L/usr/lib  -lm                   
libmpcodecs/vd_xvid4.o: In function 
`decode':                                                  
vd_xvid4.c:(.text+0x12b): undefined reference to 
`xvid_decore'                                 
libmpcodecs/vd_xvid4.o: In function 
`uninit':                                                  
vd_xvid4.c:(.text+0x38b): undefined reference to 
`xvid_decore'                                 
libmpcodecs/vd_xvid4.o: In function 
`init':                                                    
vd_xvid4.c:(.text+0x49d): undefined reference to 
`xvid_global'                                 
vd_xvid4.c:(.text+0x4e8): undefined reference to 
`xvid_global'                                 
vd_xvid4.c:(.text+0x582): undefined reference to 
`xvid_decore'                                 
libavcodec/libavcodec.a(libfaac.o): In function 
`Faac_encode_frame':                           
libfaac.c:(.text+0x20): undefined reference to 
`faacEncEncode'                                 
libavcodec/libavcodec.a(libfaac.o): In function 
`Faac_encode_close':                           
libfaac.c:(.text.unlikely+0x2e): undefined reference to 
`faacEncClose'                         
libavcodec/libavcodec.a(libfaac.o): In function 
`Faac_encode_init':                            
libfaac.c:(.text.unlikely+0x6c): undefined reference to 
`faacEncOpen'                          
libfaac.c:(.text.unlikely+0x78): undefined reference to 
`faacEncGetCurrentConfiguration'       
libfaac.c:(.text.unlikely+0xd0): undefined reference to 
`faacEncClose'                         
libfaac.c:(.text.unlikely+0x1ac): undefined reference to 
`faacEncSetConfiguration'             
libfaac.c:(.text.unlikely+0x20b): undefined reference to 
`faacEncClose'                        
libfaac.c:(.text.unlikely+0x253): undefined reference to 
`faacEncGetDecoderSpecificInfo'       
libavcodec/libavcodec.a(libx264.o): In function 
`X264_frame':                                  
libx264.c:(.text+0xbb): undefined reference to 
`x264_encoder_encode'                           
libx264.c:(.text+0x131): undefined reference to 
`x264_nal_encode'                              
libavcodec/libavcodec.a(libx264.o): In function 
`X264_close':                                  
libx264.c:(.text.unlikely+0x1e): undefined reference to 
`x264_encoder_close'                   
libavcodec/libavcodec.a(libx264.o): In function 
`X264_init':                                   
libx264.c:(.text.unlikely+0x42): undefined reference to 
`x264_param_default'                   
libx264.c:(.text.unlikely+0x3f1): undefined reference to 
`x264_encoder_open'                   
libx264.c:(.text.unlikely+0x4c6): undefined reference to 
`x264_encoder_headers'                
libx264.c:(.text.unlikely+0x56b): undefined reference to 
`x264_nal_encode'                     
libavcodec/libavcodec.a(libxvidff.o): In function 
`ff_xvid_encode_frame':                      
libxvidff.c:(.text+0x5d2): undefined reference to 
`xvid_encore'                                
libavcodec/libavcodec.a(libxvidff.o): In function 
`ff_xvid_encode_close':                      
libxvidff.c:(.text.unlikely+0x1e): undefined reference to 
`xvid_encore'                        
libavcodec/libavcodec.a(libxvidff.o): In function `ff_xvid_encode_init':
libxvidff.c:(.text.unlikely+0x1bd): undefined reference to `xvid_global'
libxvidff.c:(.text.unlikely+0x29e): undefined reference to 
`xvid_plugin_lumimasking'
libxvidff.c:(.text.unlikely+0x46e): undefined reference to `xvid_encore'
libxvidff.c:(.text.unlikely+0x566): undefined reference to 
`xvid_plugin_single'
libxvidff.c:(.text.unlikely+0x63f): undefined reference to 
`xvid_plugin_2pass2'
libavcodec/libavcodec.a(libxvid_rc.o): In function 
`ff_xvid_rate_control_uninit':
libxvid_rc.c:(.text+0x16): undefined reference to `xvid_plugin_2pass2'
libavcodec/libavcodec.a(libxvid_rc.o): In function 
`ff_xvid_rate_estimate_qscale':
libxvid_rc.c:(.text+0x103): undefined reference to `xvid_plugin_2pass2'
libxvid_rc.c:(.text+0x1e9): undefined reference to `xvid_plugin_2pass2'
libavcodec/libavcodec.a(libxvid_rc.o): In function 
`ff_xvid_rate_control_init':
libxvid_rc.c:(.text+0x427): undefined reference to `xvid_plugin_2pass2'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

With ./configure --prefix=/usr --language=ru --disable-esd all ok. 
Please, fix it



More information about the MPlayer-users mailing list