[MPlayer-cygwin] Not sure what's causing this..MinGW Compilationproblems.
John Brown
johnbrown105 at hotmail.com
Thu Mar 23 13:34:53 CET 2006
>I'm attempting to compile mencoder. I have downloaded all the necessary
>files from cvs. I also downloaded the libavcodec stuff and moved the 3
>folders into the right dir.
[snip]
>It produces the following error:
>
>c:\MinGW\bin\ar.exe: creating libaf.a
>ranlib libaf.a
>make[1]: Leaving directory `/home/ChronoCross/main/libaf'
>windres -o osdep/mplayer-rc.o osdep/mplayer.rc
>gcc -I../libvo -I../../libvo -fno-PIC -O4 -march=i486 -mtune=i686 -pipe
>-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I. -I./libavutil -I./libavcodec -o mplayer.exe 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 osdep/mplayer-rc.o libvo/libvo.a libao2/libao2.a
>libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
>input/libinput.a postproc/libswscale.a osdep/libosdep.a
>libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a
>libavcodec/libpostproc/libpostproc.a -lmp3lame -lxvidcore -static
>-mconsole -lwinmm -lz -static -mconsole -lwinmm
> -static -mconsole -lwinmm -liconv -lm
>libavcodec/libavcodec.a(xvid_rc.o):xvid_rc.c:(.text+0x1e): undefined
>reference to `mkstemp'
>libavcodec/libavcodec.a(xvid_rc.o):xvid_rc.c:(.text+0x284): undefined
>reference to `mkstemp'
>make: *** [mplayer.exe] Error 1
>
>Only compiling xvid and libavcodec.
Someone on the MPlayer-users list (subject: failed to compile mplayer(cvs)
with xvid) had the same problem. Apply the most recent patch, then run
configure and make.
I successfully built without disabling anything. My options were
--enable-static --enable-debug=3 --with-codecsdir=codecs
--with-livelibdir=<path-to-live555-folder>
More information about the MPlayer-cygwin
mailing list