[MPlayer-cygwin] Not sure what's causing this..MinGW Compilation problems.
Marc Schulz
schulz.marc at gmail.com
Thu Mar 23 07:46:34 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. I use the following configure file
unsuccessfully:
./configure \
--prefix=/usr \
--language=all \
--disable-win32 \
--disable-gui \
--disable-png \
--disable-real \
--disable-qtx \
--disable-jpeg \
--disable-gif \
--disable-tga \
--disable-mad \
--disable-freetype \
--disable-sdl \
--disable-menu \
--disable-directx \
--disable-gl \
--disable-win32waveout \
--disable-ftp \
--disable-network \
--disable-winsock2 \
--disable-liblzo \
--disable-tv \
--disable-dvb \
--disable-vidix \
--disable-pthreads \
--disable-edl \
--disable-internal-matroska \
--disable-mpdvdkit \
--disable-internal-faad \
--disable-faac \
--disable-libmpeg2 \
--disable-libdts \
--disable-liba52 \
--disable-mp3lib \
--disable-theora \
--disable-speex \
--disable-internal-tremor \
--disable-twolame \
--disable-md5sum \
--disable-pnm \
--disable-x264 \
--disable-vorbis \
--enable-largefiles \
--enable-runtime-cpudetection \
--enable-static="-mconsole -lwinmm"
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.
Doesn't work when just using ./compile with no params. Thanks in advance.
Marc Schulz
More information about the MPlayer-cygwin
mailing list