[MPlayer-cygwin] mencoder doesn't compile with xvid under cygwin
RVM
rvm3000 at ya.com
Fri Dec 7 03:45:24 CET 2007
I've been following this guide to compile mplayer using cygwin:
http://64.233.183.104/search?q=cache:JVuAY5Vm0p8J:www.lyseo.edu.ouka.fi/~pexu/pub/mplayer_windows_howto/index.txt+mplayer_windows_howto/index.txt&hl=es&ct=clnk&cd=1&client=opera
I compiled xvidcore as it says:
./configure
make
make install
mv /usr/local/lib/xvidcore.a /lib/libxvidcore.a
Now mplayer compiles with xvid support, but mencoder fails when linking:
cc -o mencoder.exe 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 unrarlib.o
libmpcodecs/libmpencoders.a lib mpdemux/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 -lwinmm -liconv -ltermcap -lpng -lz
-lfreetype -lz -lfontconfig -lexpat -lfreetype -lz -lz -ladvapi32 -lole32
-lxvidcore -lm -lole32 -luuid -static -lm
/usr/local/lib/libxvidcore.a(plugin_2pass1.obj):plugin_2pass1.c:(.text+0x215):
undefined reference to `__errno'
collect2: ld returned 1 exit status
make: *** [mencoder.exe] Error 1
I tried with xvidcore 1.1.3 and 1.1.0. The same problem with both.
Is there any way to fix that error?
--
RVM
More information about the MPlayer-cygwin
mailing list