[MPlayer-cygwin] mencoder doesn't compile with xvid under cygwin

DEF shaker.doc at gmail.com
Fri Dec 7 10:33:39 CET 2007


On Dec 7, 2007 3:45 AM, RVM <rvm3000 at ya.com> wrote:

>  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<http://64.233.183.104/search?q=cache:JVuAY5Vm0p8J:www.lyseo.edu.ouka.fi/%7Epexu/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.oxvid_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?
>
>
Well yes.  look at what the 5th elemement on your howto says.

5. Get Xvidcore (1.1.0) from <http://www.xvid.org/downloads.html> and
   install it. At build/generic directory say:


     ./configure && make && make install cp *mv
/usr/local/lib/xvidcore.a /lib/libxvidcore.a*

after make install you should *not* apply this command. "mv
/usr/local/lib/xvidcore.a /lib/libxvidcore.a "

Normally I do not do that any more. and BTW, that guide is quite old. it
first appears on the mailing list more than 2 years now. a lot has changed
since then.

DEF

--
>
>
> >
>
>
> > RVM
> > _______________________________________________
> > MPlayer-cygwin mailing list
> > MPlayer-cygwin at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
> >
>
>



More information about the MPlayer-cygwin mailing list