This is a discussion on emerge mplayer failed within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I get this when emreging the new mplayer: msmpeg4.c: In function `msmpeg4_pred_dc': msmpeg4.c:720: error: can't find a register in ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I get this when emreging the new mplayer: msmpeg4.c: In function `msmpeg4_pred_dc': msmpeg4.c:720: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[1]: *** [msmpeg4.o] Error 1 make[1]: Leaving directory `/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libavcodec' make: *** [libavcodec/libavcodec.a] Error 2 !!! ERROR: media-video/mplayer-1.0_pre6-r4 failed. !!! Function src_compile, Line 509, Exitcode 2 on a toshiba a40 laptop with Intel Celeron processor. Any idea? Eggert |
| |||
| Eggert Ehmke wrote: > I get this when emreging the new mplayer: > > msmpeg4.c: In function `msmpeg4_pred_dc': > msmpeg4.c:720: error: can't find a register in class `GENERAL_REGS' while > reloading `asm' > make[1]: *** [msmpeg4.o] Error 1 > make[1]: Leaving directory > `/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libavcodec' > make: *** [libavcodec/libavcodec.a] Error 2 > > !!! ERROR: media-video/mplayer-1.0_pre6-r4 failed. > !!! Function src_compile, Line 509, Exitcode 2 > > > on a toshiba a40 laptop with Intel Celeron processor. Any idea? > Eggert Hi I had the same problem, but playing with USE flags didn't help. Get the sources and compile mplayer by hand. That helped me. Any other idea what to do would help me also so I'll wait for further answers. Arnd |
| |||
| Hi, just what I do to make mplayer compile ok. If you have any of there in /etc/make.conf then just uncomment these lines, and emerge mplayer. #CFLAGS="-O2 -mcpu=i686 -march=pentium4 -pipe" #LDFLAGS="-Wl,-O1 -Wl,--as-needed" Remember to re-enable the lines after emerge of mplayer. Eggert Ehmke wrote: > I get this when emreging the new mplayer: > > msmpeg4.c: In function `msmpeg4_pred_dc': > msmpeg4.c:720: error: can't find a register in class `GENERAL_REGS' while > reloading `asm' > make[1]: *** [msmpeg4.o] Error 1 > make[1]: Leaving directory > `/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libavcodec' > make: *** [libavcodec/libavcodec.a] Error 2 > > !!! ERROR: media-video/mplayer-1.0_pre6-r4 failed. > !!! Function src_compile, Line 509, Exitcode 2 > > > on a toshiba a40 laptop with Intel Celeron processor. Any idea? > Eggert |
| |||
| Well, "custom-cflags" Have you looked at this USE flag for mplayer? "cat /usr/portage/profiles/use.* |grep -i cflags" media-video/mplayer:custom-cflags - Enables custom cflags However, still this is what I do before emerging mplayer Compiling mplayer by use of emerge works just fine for me when, running without settings for CFLAGS and LDFLAGS (in /etc/make.conf - "emerge --info" show ALL the current settings). > Eggert Ehmke wrote: >> I get this when emreging the new mplayer: >> >> msmpeg4.c: In function `msmpeg4_pred_dc': >> msmpeg4.c:720: error: can't find a register in class `GENERAL_REGS' while >> reloading `asm' >> make[1]: *** [msmpeg4.o] Error 1 >> make[1]: Leaving directory >> `/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libavcodec' >> make: *** [libavcodec/libavcodec.a] Error 2 >> >> !!! ERROR: media-video/mplayer-1.0_pre6-r4 failed. >> !!! Function src_compile, Line 509, Exitcode 2 >> >> >> on a toshiba a40 laptop with Intel Celeron processor. Any idea? >> Eggert > Hi > I had the same problem, but playing with USE flags didn't help. Get the > sources and compile mplayer by hand. That helped me. Any other idea what > to do would help me also so I'll wait for further answers. > Arnd |
| |||
| "Lars H." <lars.hesdorf@mail.dk> schrieb: >If you have any of there in /etc/make.conf then just uncomment these lines, >and emerge mplayer. > >#CFLAGS="-O2 -mcpu=i686 -march=pentium4 -pipe" >#LDFLAGS="-Wl,-O1 -Wl,--as-needed" > >Remember to re-enable the lines after emerge of mplayer. Ok, that did work, thanks. But is seems not to be a clean Gentoo way? Eggert |
| |||
| Eggert Ehmke wrote: > "Lars H." <lars.hesdorf@mail.dk> schrieb: > >>If you have any of there in /etc/make.conf then just uncomment these >>lines, and emerge mplayer. >> >>#CFLAGS="-O2 -mcpu=i686 -march=pentium4 -pipe" >>#LDFLAGS="-Wl,-O1 -Wl,--as-needed" >> >>Remember to re-enable the lines after emerge of mplayer. > > Ok, that did work, thanks. But is seems not to be a clean Gentoo way? > Eggert I know, but have so far only found workarounds for emerge. * My old believe in this situation was that the portage system and emerge in particular needs support to handle CFLAGS and LFLAGS per *.ebuild package. * This understanding of the situation has changed into that I now believe that it is the mplayer .ebuild package that has to be more smart. I will, when I know more about portage and ebuild's, probably find the "real" understanding of this and a solution... but things takes time. Anyone having suggestions of what to read to get more information on portage and writing ebuild's? |
| ||||
| Lars H. <lars.hesdorf@mail.dk> wrote: > * My old believe in this situation was that the portage system and emerge in > particular needs support to handle CFLAGS and LFLAGS per *.ebuild package. Write your own /etc/portage/bashrc which sets up the CFLAGS and LDFLAGS based on entries in some file like /etc/portage/package.cflags There are such scripts already in the net, and you can easily simplify them for your needs. |