#44 fail to complile Mplayer + dirac


$ cd MPlayer-1.0rc1
$ patch -p1 < ../MPlayer-1.0rc1_dirac-0.8.x.patch
$ ./configure --enable-gui --enable-largefiles --enable-linux-devfs --enable-gif --enable-jpeg --enable-theora --enable-faad-external --enable-gl --enable-svga --enable-xv --enable-x11 --enable-mmx --enable-mmxext --enable-sse --enable-sse2 --enable-shm --prefix=/usr --confdir=/ --with-extralibdir=/usr/lib/xorg/modules
$ make
make[1]: Leaving directory `/data/siegerstein/task/MPlayer-1.0rc1_dirac-0.8.x.patch/MPlayer-1.0rc1/Gui'
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=prescott -mtune=prescott -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/dvdnav -I/usr/include/freetype2 -I/usr/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -I./libavutil -I./libavcodec -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 Gui/libgui.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a osdep/libosdep.a -Wl,-z,noexecstack -L/usr/lib/xorg/modules -L/usr/lib -ldvdnav -lpthread libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a -lmad -ldv -ltheora -logg -lxvidcore -ldts -lpng -lz -lz -ljpeg -lasound -ldl -lpthread -lx264 -lpthread -lmpcdec -lspeex -lmp3lame -ltwolame -lfaac -lncurses -lcdda_interface -lcdda_paranoia -lgif -lsmbclient -L/usr/lib -lfribidi -llirc_client -lpthread -ldl -rdynamic -lm libfaad2/libfaad2.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a libass/libass.a -lfontconfig -lfreetype -lz -laa -lGL -ldl -lXxf86dga -lXv -lXxf86vm -lXinerama -lXext -lX11 -lpthread -lSDL -lpthread -lggi -lvga -L/usr/lib -lcaca -lcucul vidix/libvidix.a -ljack -lopenal -laudio -lXt -lXext -lX11 -lpthread
libmpdemux/libmpdemux.a(video.o): In function `video_read_frame':
video.c:(.text+0xa5b): undefined reference to `dirac_read_video_frame'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

dirac - 0.8.0

Linux siegerstein 2.6.23-rc8 #4 SMP Mon Oct 8 11:12:09 EEST 2007 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

CFLAGS="-march=prescott -mtune=prescott -pipe -O2 -ggdb"


  • Anuradha Suraparaju

    • assigned_to: nobody --> asuraparaju
  • Anuradha Suraparaju

    Logged In: YES
    Originator: NO

    Dirac needs to be installed before compiling MPlayer with the Dirac patch applied. Did you do steps 1-3 from the dirac patch install notes README_MPlayer-1.0rc1_dirac-0.8.x_patch?

    If Dirac is installed on your computer and the MPlayer configure script recognises it, the variables DIRAC_INC and DIRAC_LIB are defined in the config.mak file.

  • Anuradha Suraparaju

    • status: open --> open-accepted

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks