[mythtv] Configure fix for MythTV

Felipe Alfaro Solana felipe.alfaro at gmail.com
Sat Jul 2 14:11:15 EDT 2005

> What doesn't compile?  I've been using gcc4 for a while now, no
> problems.

This is what I see when trying to compile latest MythTV from SVN:

# make
make[2]: Entering directory
gcc -c -pipe -w -fomit-frame-pointer -O2 -pipe -m32 -march=i686
-mtune=pentium4 -fasynchronous-unwind-tables -D_REENTRANT -DPIC -fPIC 
-I/usr/lib/qt-3.3/mkspecs/default -I. -I.. -I../..
-I/usr/lib/qt-3.3/include -o dsputil_mmx.o i386/dsputil_mmx.c
i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
i386/dsputil_mmx.c:618: error: can't find a register in class
'GENERAL_REGS' while reloading 'asm'
make[2]: *** [dsputil_mmx.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/mythtv-0.18.2/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/mythtv-0.18.2/libs'
make: *** [sub-libs] Error 2

# gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
Thread model: posix
gcc version 4.0.0 20050622 (Red Hat 4.0.0-13)

More information about the mythtv-dev mailing list