[MPlayer-dev-eng] Re: "dc1394.c: undefined reference" error when compiling Mplayer
thomas Armstrong
tarmstrong at gmail.com
Mon Jan 22 17:45:03 CET 2007
mmm... if I download another SVN version (e.g. r21962), it compiles ok...
On 1/22/07, thomas Armstrong <tarmstrong at gmail.com> wrote:
> Hi.
>
> I'm trying to compile MPlayer from sources but I get this error message:
> -------------
> cc -o mplayer mplayer.o m_property.o mp_msg.o asxparser.o codec-cfg.o
> cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o
> parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
> vobsub.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o
> libvo/libvo.a libao2/libao2.a input/libinput.a vidix/libvidix.a
> libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
> stream/stream.a libswscale/libswscale.a libvo/libosd.a
> libavformat/libavformat.a libavcodec/libavcodec.a
> libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a
> mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
> libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a
> libdvdcss/libdvdcss.a libass/libass.a osdep/libosdep.a -lXext -lX11
> -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -lSDL
> -lpthread -lesd -laudiofile -lm -lmp3lame -L/usr/lib
> -Wl,-z,noexecstack -lncurses -lsmbclient -lpng -lz -ljpeg -lungif
> -lasound -ldl -lpthread -lfreetype -lfontconfig -lz -lpthread -ldl
> -rdynamic -lm
> libavformat/libavformat.a(allformats.o): In function `av_register_all':
> allformats.c:(.text+0xc3): undefined reference to `audio_muxer'
> allformats.c:(.text+0xcf): undefined reference to `audio_demuxer'
> allformats.c:(.text+0x423): undefined reference to `nut_muxer'
> allformats.c:(.text+0x55b): undefined reference to `redir_demuxer'
> allformats.c:(.text+0x567): undefined reference to `rtp_muxer'
> allformats.c:(.text+0x573): undefined reference to `rtsp_demuxer'
> allformats.c:(.text+0x57f): undefined reference to `sdp_demuxer'
> allformats.c:(.text+0x61b): undefined reference to `video_grab_device_demuxer'
> libavformat/libavformat.a(dc1394.o): In function `dc1394_close':
> dc1394.c:(.text+0x1d): undefined reference to `dc1394_stop_iso_transmission'
> dc1394.c:(.text+0x2b): undefined reference to `dc1394_dma_unlisten'
> dc1394.c:(.text+0x39): undefined reference to `dc1394_dma_release_camera'
> dc1394.c:(.text+0x43): undefined reference to `dc1394_destroy_handle'
> libavformat/libavformat.a(dc1394.o): In function `dc1394_read_packet':
> dc1394.c:(.text+0x77): undefined reference to `dc1394_dma_done_with_buffer'
> dc1394.c:(.text+0xa4): undefined reference to `dc1394_dma_single_capture'
> libavformat/libavformat.a(dc1394.o): In function `dc1394_read_header':
> dc1394.c:(.text+0x308): undefined reference to `dc1394_create_handle'
> dc1394.c:(.text+0x330): undefined reference to `dc1394_get_camera_nodes'
> dc1394.c:(.text+0x3ac): undefined reference to `dc1394_dma_setup_capture'
> dc1394.c:(.text+0x3e9): undefined reference to `dc1394_destroy_handle'
> dc1394.c:(.text+0x431): undefined reference to `dc1394_start_iso_transmission'
> dc1394.c:(.text+0x46c): undefined reference to `dc1394_dma_unlisten'
> dc1394.c:(.text+0x47e): undefined reference to `dc1394_dma_release_camera'
> libavcodec/libavcodec.a(allcodecs.o): In function `avcodec_register_all':
> allcodecs.c:(.text+0x281): undefined reference to `mpeg_xvmc_decoder'
> allcodecs.c:(.text+0x5a5): undefined reference to `x264_encoder'
> allcodecs.c:(.text+0x5c9): undefined reference to `xvid_encoder'
> allcodecs.c:(.text+0x605): undefined reference to `aac_decoder'
> allcodecs.c:(.text+0x611): undefined reference to `mpeg4aac_decoder'
> allcodecs.c:(.text+0x61d): undefined reference to `ac3_decoder'
> allcodecs.c:(.text+0x641): undefined reference to `amr_nb_encoder'
> allcodecs.c:(.text+0x64d): undefined reference to `amr_nb_decoder'
> allcodecs.c:(.text+0x659): undefined reference to `amr_wb_encoder'
> allcodecs.c:(.text+0x665): undefined reference to `amr_wb_decoder'
> allcodecs.c:(.text+0x689): undefined reference to `dts_decoder'
> allcodecs.c:(.text+0x695): undefined reference to `faac_encoder'
> allcodecs.c:(.text+0x6c5): undefined reference to `libgsm_encoder'
> allcodecs.c:(.text+0x6d1): undefined reference to `libgsm_decoder'
> allcodecs.c:(.text+0x725): undefined reference to `mp3lame_encoder'
> collect2: ld returned 1 exit status
> make: *** [mplayer] Error 1
> ------------------------------------------------
>
> I made these steps on Linux Fedora Core 6 with gcc 4.1.1:
> 1) downloaded http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
> 2) untarred it and copied to /usr/local/lib/codecs
> 3) svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
> 4) configure --codecsdir=/usr/local/lib/codecs
> 5) make
>
> What am I doing wrong? Thank you very much.
>
More information about the MPlayer-dev-eng
mailing list