Sorry incomplete answer. Add #include <errno.h> to programs/mythbackend/main.cpp Then do a ./configure --cpu=i686
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felipe Alfaro Solana Sent: Saturday, July 02, 2005 1:11 PM To: Development of mythtv Subject: Re: [mythtv] Configure fix for MythTV > 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 `/usr/src/redhat/BUILD/mythtv-0.18.2/libs/libavcodec' gcc -c -pipe -w -fomit-frame-pointer -O2 -pipe -m32 -march=i686 -mtune=pentium4 -fasynchronous-unwind-tables -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -DHAVE_DVDNAV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -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 --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux Thread model: posix gcc version 4.0.0 20050622 (Red Hat 4.0.0-13) _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
