[mythtv-users] Compilation problems

Jesse F. Hughes jesse at phiwumbda.org
Wed Oct 8 20:19:23 UTC 2008


I have a somewhat dated Slackware system and I'm trying to upgrade
from mythtv-0.20.2 to 0.21-fixes.  I'm having some issues that seem to
be familiar.

When I configure and make, the compilation craps out on dsputil_mmx,
with the following output:

ccache distcc gcc -c -pipe -march=pentiumpro -mmmx -fomit-frame-pointer -O3 -pth  
read -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls  
DQT_SHARED -I/usr/lib/qt/mkspecs/default -I. -I. -I.. -I../.. -I../libavutil -I.  
./libswscale -I/usr/lib/qt/include -o dsputil_mmx.o i386/dsputil_mmx.c
distcc[19544] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute w  
distcc[19544] (dcc_build_somewhere) Warning: failed to distribute, running local  
ly instead
distcc[19544] ERROR: compile /home/jesse/.ccache/dsputil_mm.tmp.phiwumbda.19540.  
i on localhost failed
distcc[19540] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute w  
distcc[19540] (dcc_build_somewhere) Warning: failed to distribute, running local  
ly instead
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' wh  
ile reloading `asm'
i386/dsputil_mmx.c:3015: error: can't find a register in class `GENERAL_REGS' wh  
ile reloading `asm'
distcc[19540] ERROR: compile i386/dsputil_mmx.c on localhost failed
make[2]: *** [dsputil_mmx.o] Error 1
make[2]: Leaving directory `/usr/src/multimedia/mythtv-2/release-0-21-fixes/myth  
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/usr/src/multimedia/mythtv-2/release-0-21-fixes/myth  
make: *** [sub-libs] Error 2

This occurs whether I use --enable-proc-opt or not in the
configuration step.  I've appended the output for configure below.

I've tried disabling mmx, but I get an error message later in the
build.  I haven't bothered to reproduce the error message here (yet),
since I tend to think that disabling mmx isn't really the right thing
to do.  (I could be convinced otherwise, since I don't really know
what mmx is.)

I'd appreciate any help you could offer.  I'm hopeful that I can
compile this program without upgrading my distribution, since I'm
putting that off for a little while.  

jesse at phiwumbda:/usr/src/multimedia/mythtv-2/release-0-21-fixes/mythtv$  ./configure --enable-proc-opt  --disable-dvb
# Basic Settings
Compile type              release
Compiler cache            yes
DistCC                    yes
install prefix            /usr/local
runtime prefix            /usr/local
CPU                       x86_32 (model name    : AMD Athlon(tm) XP 2400+)
big-endian                no
MMX enabled               yes
CMOV enabled              yes
CMOV is fast              no

# Input Support
Joystick menu             yes
lirc support              yes
Video4Linux sup.          yes
ivtv support              yes
FireWire support          no
DVB support               no [/usr/include]
DBox2 support             yes
HDHomeRun support         yes
IPTV support              yes

# Sound Output Support
OSS support               yes
ALSA support              yes
aRts support              yes
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          no
XvMC pro support          no
XvMC OpenGL sup.          no
OpenGL video              no
OpenGL vsync              no
DirectFB                  no
Fribidi formatting        no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak

Jesse F. Hughes

"For a gentle introduction to set theory, see Bourbaki (1970)."
  -- Footnote from "Transgressing the Boundaries", Alan Sokal

More information about the mythtv-users mailing list