[mythtv-users] Cannot compile MythTV 0.18.1 on Athlon 64 Suse 10

Paul A. Bennett paul_a_bennett at sympatico.ca
Sun Dec 11 17:50:19 EST 2005


Hello!

Now that I've finally managed to get my Hauppauge PVR-150 MCE working,
I'm wondering if I'm the only guy on the planet who has yet to figure
out how to get MythTV 0.18.1 to compile on my system.  Thus, I would
like to ask:

      * Are there any RPMs of MythTV 0.18.1 (or newer) available for
        Suse 10 running on the Athlon 64?
      * If not, could someone please explain how to recode
        mythtv-0.18.1/libs/libavcodec/common.h (at lines 61 and 69)
        where the whole line consists of 'struct AVOption;'.  My gcc
        version 4.0.2 can't get past that line.
      * I have read that using an older version of the compiler makes
        this problem go away.  My problem is that I would really not go
        back to an older version of a compiler just because of some
        faulty code in one program.  Is there a way of making a later
        version of the gcc compiler act as though it were an earlier
        version?
      * Is there an alternative solution to this problem that I have yet
        to consider?


I would greatly appreciate the input of anyone who can help me get
MythTv going on my machine.

For the sake of completeness, here is the compiler run when I try to
compile MythTv.

Thanks, and all the best!


Paul



paul at exceed:~/pkgs/mythtv/mythtv-0.18.1> make
cd libs && make -f Makefile
make[1]: Entering directory `/home/paul/pkgs/mythtv/mythtv-0.18.1/libs'
cd libavcodec && make -f Makefile
make[2]: Entering directory
`/home/paul/pkgs/mythtv/mythtv-0.18.1/libs/libavcodec'
ccache gcc -c -pipe -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g
-DUSE_LIB64_PATHES -march=k8 -w -O3 -Wall -Wno-switch
-fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -DUSING_IVTV
-DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=
\"/usr/local\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/lib/qt3/mkspecs/default -I. -I.. -I../.. -I/usr/include
-I/usr/lib/qt3/include -o utils.o utils.c
In file included from avcodec.h:15,
                 from utils.c:28:
common.h:61: error: array type has incomplete element type
common.h:65: error: array type has incomplete element type
make[2]: *** [utils.o] Error 1
make[2]: Leaving directory
`/home/paul/pkgs/mythtv/mythtv-0.18.1/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/home/paul/pkgs/mythtv/mythtv-0.18.1/libs'
make: *** [sub-libs] Error 2
paul at exceed:~/pkgs/mythtv/mythtv-0.18.1>





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20051211/43f5b2c1/attachment.htm


More information about the mythtv-users mailing list