[mythtv-users] Official Gentoo Ebuild is broken
Jon Waite
jon at jonwaite.com
Mon Feb 2 19:02:52 EST 2004
I a very similar error while compiling libavcodec a couple of days back -
solution for me was to change '-march=pentium4' to '-mcpu=pentium4' in the
gcc options. There should be a token for this in the Makefile or script
somewhere that you can hack. So I'd try (in your case) '-mcpu=athlon-xp' or
'-march=i386' and see if that gets you past it.
Of course this could be something completely different (I'm am not a GCC
expert by any means), but it worked for me.
> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org
> [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of
> mythtv at beastbox.net
> Sent: Tuesday, 3 February 2004 12:14 p.m.
> To: mythtv-users at mythtv.org
> Subject: [mythtv-users] Official Gentoo Ebuild is broken
>
> If I download the mtyhtv source fromt he website I can make
> it fine, but through the ebuild it failed.. and even if I go
> to the work dir and try to make it manually it still wont
> work.. I get the error below.
>
> something is up with the tar they are using for gentoo or something.
>
> Nick D
>
> cd libs && make -f Makefile
> make[1]: Entering directory
> `/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs'
> cd libavcodec && make -f Makefile
> make[2]: Entering directory
> `/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs/libavcodec'
> gcc -c -pipe -w -Wall -march=athlon-xp -O3
> -fomit-frame-pointer -pipe -ffast-math -fprefetch-loop-arrays
> -funroll-loops -falign-labels=1
> -falign-jumps=16 -falign-loops=16 -falign-functions=64 -fforce-addr
> -mfpmath=sse,387 -maccumulate-outgoing-args -frerun-loop-opt
> -frerun-cse-after-loop -mmmx -msse -m3dnow -g -O3 -DPIC -fPIC
> -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I..
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
> -D_REENTRANT -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DUSING_IVTV
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I../..
> -I/usr/qt/3/include -o dsputil_mmx.o i386/dsputil_mmx.c
> i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
> i386/dsputil_mmx.c:614: can't find a register in class `GENERAL_REGS'
> while reloading `asm'
> make[2]: *** [dsputil_mmx.o] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs'
> make: *** [sub-libs] Error 2
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
More information about the mythtv-users
mailing list