[MPlayer-cygwin] Error compiling Mplayer: in libmpcodecs/vd_mpng.o

Eugene Kovgar ken20001 at ukr.net
Wed Jul 28 21:05:16 CEST 2010


>> >> And now another error ^) :
>> >>
>> >>
>> >>libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0xb2):
>> >>undefine
>> >>d reference to `vorbis_encode_setup_vbr'
>> >>libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0xf4):
>> >>undefine
>> >>d reference to `vorbis_encode_setup_managed'
>> >>libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x116):
>> >>undefin
>> >>ed reference to `vorbis_encode_ctl'
>> >>libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x153):
>> >>undefin
>> >>ed reference to `vorbis_encode_ctl'
>> >>libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x15f):
>> >>undefin
>> >>ed reference to `vorbis_encode_setup_init'
>> >>collect2: ld returned 1 exit status
>> >>make: *** [mplayer.exe] Error 1
>> >>
>> >>^(
>> >
>> >Sometimes I feel like I am watching someone hitting themselves on
>> >a finger
>> >with a hammer, crying out loud, and immediately grabbing the
>> >hammer again to
>> >hit themselves on the next finger.
>> >Just stop using those --enable options already _as configure even
>> >tells you_.
>>
>> what options? what do you mean???
>
> If you didn't use --enable-libvorbis, then please quote the part
> from config.log concerning "OggVorbis support"

I don't use --enable-libvorbis because Mplayer configure must find it; of  
course before I've builded libvorbis-1.3.1 to support it from Mplayer.

============ Checking for OggVorbis support ============

#include <tremor/ivorbiscodec.h>
int main(void) { vorbis_packet_blocksize(0,0); return 0; }

gcc /tmp/mplayer-configure-9217-2688/tmp.c -Wstrict-prototypes  
-Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign  
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith  
-Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math  
-fomit-frame-pointer -Ilibdvdread4 -I.  -fno-common   
-I/home/Eugene/include  -I/mingw/include/   
-I/home/Eugene/include/freetype2 -I/home/Eugene/include  -static  -lwinmm  
-ffast-math  -L/home/Eugene/lib -lws2_32 -liconv -lpng -lz -lmng -lz  
-ljpeg -lopenjpeg -lungif -lcdio_cdda -lcdio -lcdio_paranoia -lwinmm  
-L/home/Eugene/lib -lfreetype -lz -lfontconfig -lexpat -lfreetype -lz  
-liconv -lfribidi -lenca -lz -lbz2 -llzo2 -lmad  -lgdi32 -L/mingw/lib  
-lcaca -lz -lSDL -lwinmm -lgdi32 -lopengl32 -lgdi32 -lwinmm -lgdi32   
-ltwolame -o /tmp/mplayer-configure-9217-2688/tmp.exe -logg -lvorbisidec  
-lm
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:  
cannot find -lvorbisidec
collect2: ld returned 1 exit status



#include <vorbis/codec.h>
int main(void) { vorbis_packet_blocksize(0,0); return 0; }

gcc /tmp/mplayer-configure-9217-2688/tmp.c -Wstrict-prototypes  
-Wmissing-prototypes -Wundef -Wdisabled-optimization -Wno-pointer-sign  
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith  
-Wredundant-decls -O4 -march=i486 -mtune=generic -pipe -ffast-math  
-fomit-frame-pointer -Ilibdvdread4 -I.  -fno-common   
-I/home/Eugene/include  -I/mingw/include/   
-I/home/Eugene/include/freetype2 -I/home/Eugene/include  -static  -lwinmm  
-ffast-math  -L/home/Eugene/lib -lws2_32 -liconv -lpng -lz -lmng -lz  
-ljpeg -lopenjpeg -lungif -lcdio_cdda -lcdio -lcdio_paranoia -lwinmm  
-L/home/Eugene/lib -lfreetype -lz -lfontconfig -lexpat -lfreetype -lz  
-liconv -lfribidi -lenca -lz -lbz2 -llzo2 -lmad  -lgdi32 -L/mingw/lib  
-lcaca -lz -lSDL -lwinmm -lgdi32 -lopengl32 -lgdi32 -lwinmm -lgdi32   
-ltwolame -o /tmp/mplayer-configure-9217-2688/tmp.exe -lvorbis -logg -lm


Result is: yes (libvorbis)
##########################################



More information about the MPlayer-cygwin mailing list