[MPlayer-users] mplayer on Solaris 10 x86 ?
Andras Barna
andras.barna at gmail.com
Thu Apr 10 15:30:01 CEST 2008
hi guys
check:
http://pkgbuild.svn.sourceforge.net/viewvc/pkgbuild/spec-files-extra/trunk/patches/mplayer-04-cabac-asm.diff?view=markup
On Fri, Feb 22, 2008 at 9:53 PM, Shane Ludwig <sludwig at xo.com> wrote:
> Hello all,
>
> I'm getting the usual
>
> cabac.h:525: error: can't find a register in class `GENERAL_REGS' while
> reloading `asm'
>
> error when attempting to compile MPlayer-1.0rc2 on my Sun Ultra 20 running
> Solaris 10 x86 with gcc 3.4.3.
>
> Below is the gcc line it's using. Whatever switches and flags it picked up by
> default. After digging around on google trying to find a solution, as well as
> in the archives of this list, I noted that it already has the usual suggestions
> of -O4, -fomit-frame-pointer and -ffast-math, as well as -pipe and there is no
> -g. Configure was run with only the --enable-gui option.
>
> I also tried running just that command separately
>
> 1) removing -O4
> 2) changing -O4 to -O3
> 3) changing -O4 to -O2
> 4) removing -O4 -march=k8 -mtune=k8
>
> and finally
>
> 5) changing -O4 -march=k8 -mtune=k8 to -O4 -march=opteron -mtune=opteron
>
> as was suggested in this post:
> http://lists.mplayerhq.hu/pipermail/mplayer-users/2006-October/063320.html
>
> However, all those had the same issue.
>
> Has anyone gotten this to work ?
>
> gcc -I../libswscale -I../libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> -Wdisabled-optimization -Wdeclaration-after-statement -I. -I.. -I../libavutil
> -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=k8 -mtune=k8
> -pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
> -I/usr/openwin/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include
> -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -c -o h264.o h264.c
>
> Thanks,
> Shane
>
> --
> Shane Ludwig sludwig at xo.com
> *************************************************************************
> * Every saint has a past and every sinner a future. -- Oscar Wilde *
> *************************************************************************
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
--
Andy
http://blog.sartek.net
More information about the MPlayer-users
mailing list