[MPlayer-cygwin] Re: Mplayer fails compilation with Live555
Frank Aurich
fa859178 at inf.tu-dresden.de
Sat Aug 5 17:49:34 CEST 2006
Diego Biurrun wrote:
> On Sat, Aug 05, 2006 at 12:42:40PM +0200, Frank Aurich wrote:
>> Ever since stream-related files got separated from the libmpdemux
>> directory, I am not able to compile MPlayer in MingW/Msys anymore when
>> including the live555 library.
>>
>> My build script:
>>
>> #! /bin/sh
>> configure \
>> --disable-mencoder \
>> --enable-menu \
>> --disable-tv \
>> --disable-dvb \
>> --disable-gif \
>> --disable-tga \
>> --disable-xvid \
>> --disable-vidix-internal \
>> --with-livelibdir=/home/KyleK/live
>> make
>>
>> I'm using the July 3rd build if the live555 library. Compiling it works
>> flawlessly.
>>
>> The Problem arises when compiling mplayer, using the above script:
>>
>> c:\mingw\bin\ar.exe: creating libmenu.a
>> ranlib libmenu.a
>> windres -o osdep/mplayer-rc.o osdep/mplayer.rc
>> gcc -I../libvo -I../../libvo -fno-PIC -O4 -march=athlon-xp -mtune=athlon-xp
>> -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
>> -D_FILE_OFFSET_BITS=64 -I/usr/src/DVB/include -I/usr/include/dxr2
>> -I/usr/local/include/cdda -Ic:/mingw/include/freetype2 -Ic:/mingw/include
>> -I/home/KyleK/live/liveMedia/include
>> -I/home/KyleK/live/UsageEnvironment/include
>> -I/home/KyleK/live/BasicUsageEnvironment/include
>> -I/home/KyleK/live/groupsock/include -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 input/libinput.a libmenu/libmenu.a
>> libmpcodecs/libmpcodecs.a loader/libloader.a loader/dshow/libDS_Filter.a
>> loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a
>> stream/stream.a libswscale/libswscale.a osdep/libosdep.a -Llibmpdvdkit2
>> -lmpdvdkit libavformat/libavformat.a libavcodec/libavcodec.a
>> libavutil/libavutil.a libpostproc/libpostproc.a -ldts -lpng -lz -lz
>> -ljpeg -lx264 -lspeex -ltwolame -lstdc++
>> /home/KyleK/live/liveMedia/libliveMedia.a
>> /home/KyleK/live/groupsock/libgroupsock.a
>> /home/KyleK/live/UsageEnvironment/libUsageEnvironment.a
>> /home/KyleK/live/BasicUsageEnvironment/libBasicUsageEnvironment.a -lws2_32
>> -lgdi32 -lwinmm -ladvapi32 -lole32 libfaad2/libfaad2.a
>> mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a
>> libass/libass.a -Lc:/mingw/lib -lfreetype -lz -lopengl32 -lgdi32
>> -lws2_32 -liconv -lm
>> C:/msys/home/KyleK/live/liveMedia/libliveMedia.a:ByteStreamMultiFileSource.cpp:(.text+0x1577):
>> undefined reference to `operator new[](unsigned int)'
>> C:/msys/home/KyleK/live/liveMedia/libliveMedia.a:ByteStreamMultiFileSource.cpp:(.text+0x15e0):
>> undefined reference to `operator new[](unsigned int)'
> [...]
>
> Could you try to verify if this problem was introduced in r19229 when I
> reorganized the LIVE555 test?
>
> Diego
I think you got the revision number wrong, the live555 simplification was
r19288. And it is indeed the culprit of the code not compiling properly.
r19287 compiles fine, r19288 shows the same error messages as above.
Frank
More information about the MPlayer-cygwin
mailing list