chenyunecjtu / coreavc-for-linux

Automatically exported from code.google.com/p/coreavc-for-linux
GNU General Public License v2.0
0 stars 1 forks source link

Compile problem with latest mplayer-trunk #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Downloaded latest coreavc-for-linux source from svn
2. Downloaded latest mplayer-trunk from svn
3. Run configure on mplayer
4. Applied the patch as said in the guide.
5. make

What is the expected output? What do you see instead?
I expected it to compile just fine.

But after doing "make" I got following:
lavf.o muxer_lavf.c
ar r libmpmux.a muxer.o muxer_avi.o muxer_mpeg.o muxer_rawaudio.o
muxer_rawvideo.o muxer_lavf.o
ar: creating libmpmux.a
true libmpmux.a
make[1]: Leaving directory `/media/lvm/src/mplayer/libmpdemux'
cc -o mencoder mencoder.o mp_msg-mencoder.o parser-mecmd.o xvid_vbr.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 unrar_exec.o
libmpcodecs/libmpencoders.a libmpdemux/libmpmux.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
-lfaac -lmp3lame -L/usr/lib
-Wl,-z,noexecstack    -lncurses -lpng -lz -ljpeg -lungif -lasound -ldl
-lpthread -lcdda_interface -lcdda_paranoia
-lfreetype -lz -lfontconfig  -lz -llzo2 -lmad -ldts -lpthread -ldl
-rdynamic -llirc_client  -lm
libmpcodecs/libmpencoders.a(ve_vfw.o): In function `vf_open':
ve_vfw.c:(.text+0x10a): undefined reference to `CoInitializeEx'
libmpcodecs/libmpencoders.a(ve_vfw.o): In function `uninit':
ve_vfw.c:(.text+0x718): undefined reference to `CoUninitialize'
collect2: ld returned 1 exit status
make: *** [mencoder] Error 1

What version of the product are you using? On what operating system?
Latest coreavc-for-linux
Latest Mplayer trunk
Running debian lenny

Please provide any additional information below.
I didn't manage to patch loader/Makefile (second HUNK failed) so I edited
it manually.
My configure options: --prefix=/usr --confdir=/etc/mplayer

Original issue reported on code.google.com by m41n0k...@gmail.com on 16 Feb 2008 at 10:10

GoogleCodeExporter commented 8 years ago
./configure --disable-mencoder

Original comment by darkc...@gmail.com on 29 Feb 2008 at 12:45

GoogleCodeExporter commented 8 years ago
Should be fixed in r36

Original comment by alannis...@gmail.com on 7 May 2008 at 2:43