[mythtv-users] Errors running make

Michael T. Dean mtdean at thirdcontact.com
Tue Mar 25 14:54:56 UTC 2008


On 03/24/2008 11:55 PM, Joe Villari wrote:
> I am trying to upgrade from .18.1 to .21. I downloaded the .21 tarball.

First, don't do that.  Use 0.21-fixes.  See
http://mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4 .

>  After uncompressing the tarball, I ran ./configure and receive:
...
> CPU                       x86_32 (model name    : Intel(R) Pentium(R) 4 CPU 3.00GHz)
>   
...
> I tried running make to see what would happen:
>
>   
...
> gcc -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -march=pentiumpro -fomit-frame-pointer -O3 -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -w -D_REENTRANT -DPIC -fPIC  -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -I.. -I../.. -I../libavutil -I../libswscale -I/usr/include -I/usr/lib/qt3/include -o dsputil_mmx.o i386/dsputil_mmx.c
> i386/dsputil_mmx.c: In function `flac_compute_autocorr_sse2':
> i386/dsputil_mmx.c:3013: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
> i386/dsputil_mmx.c:3015: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
> make[2]: *** [dsputil_mmx.o] Error 1
> make[2]: Leaving directory `/home/joev/mythtv-0.21/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory `/home/joev/mythtv-0.21/libs'
> make: *** [sub-libs] Error 2
>   

Looks like you're compiling for the wrong target--perhaps you're passing
arch, tune, or cpu to the configure script?  If so, don't.

Mike


More information about the mythtv-users mailing list