Re: Error compiling Mplayer: in libmpcodecs/vd_mpng.o
"Eugene Kovgar" <[email protected]> Thu, 29 Jul 2010 16:59:45 +0300
| Newsgroups | gmane.comp.video.mplayer.cygwin |
|---|---|
| Message-ID | <op.vglyhvzhedexhr@shit-80c64d9d78> |
>>>>> libmpdemux/demux_real.c: In function 'demux_real_fill_buffer': >>>>> libmpdemux/demux_real.c:571:12: internal compiler error: Segmentation >>>>> fault >>>>> Please submit a full bug report, >>>>> with preprocessed source if appropriate. >>>>> See <http://gcc.gnu.org/bugs.html> for instructions. >>>>> make: *** [libmpdemux/demux_real.o] Error 1 >>>> >>>> ouch. an ICE. sorry to hear that. running make again gets the same >>>> problem? you are just hitting every bug you can arent you? next i >>>> predict that svn corrupts your checkout and you get some random parse >>>> error. >>>> >>>> an older gcc like gcc 4.2 should get past this point (i use 3.4.5 >>>> myself). thats why i recommended it to you before :) >>>> >>>> -compn >>> >>> Last summer I used 3.4.5 successfully. But now I decide to try 4.5. >>> Well, >>> will see. May be I'll try GCC 4.2 as you recommend me. The thing is all >>> Mplayer components was compiled successfully but Mplayer seems cannot >>> deal >>> with last version of GCC. >> >> we joke around that gcc devs should compile mplayer before every version >> of gcc is released. unfortunately, what you also find is that a distro's >> build of gcc will crash, while if you build gcc 4.5 from source, it >> wont crash. lots of fun when trying to debug gcc and then you find out >> it was mingw's bad gcc and not plain gcc's fault at all. >> >> we could put such info in the docs, but the docs are already so >> bogged down with information, i wonder how many people even read the >> whole thing? >> >> one more thing, make sure you have a newer version of YASM, it will >> speed mplayer up quite a bit. >> >> -compn > > So, may be it needs to try to build GCC 4.5 from cource? Is it very > complicated? Or it's better just to use 4.2? > > Yasm. I'm using last stable version 1.0.1. > Ok. I've tried 4.4 and now old error appears: 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+0x11a): undefin ed reference to `vorbis_encode_ctl' libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x157): undefin ed reference to `vorbis_encode_ctl' libavcodec/libavcodec.a(libvorbis.o):libvorbis.c:(.text.unlikely+0x163): undefin ed reference to `vorbis_encode_setup_init' collect2: ld returned 1 exit status make: *** [mplayer.exe] Error 1 Damn!