[mythtv-users] Compile errors with Myth-0.18.1 and SUSE 10-x86-64

Matt Hannan matthannan1 at cox.net
Sun Jan 8 17:34:20 UTC 2006


Christopher Robbins wrote:
> I've started to work on compiling MythTV for SUSE 10-x86-64.  This has 
> never been an easy task with RPMs (odd dependency errors that are 
> unresolvable) or from source.  But this error is rather confusing -
>
> mythtv at linux:~/mythtv-0.18.1> make
> cd libs && make -f Makefile
> make[1]: Entering directory `/home/mythtv/mythtv-0.18.1/libs'
> cd libavcodec && make -f Makefile
> make[2]: Entering directory `/home/mythtv/mythtv-0.18.1/libs/libavcodec'
> 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:14,
>                  from utils.c:27:
> 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/mythtv/mythtv-0.18.1/libs/libavcodec'
> make[1]: *** [sub-libavcodec] Error 2
> make[1]: Leaving directory `/home/mythtv/mythtv-0.18.1/libs'
> make: *** [sub-libs] Error 2
>
> I don't see anything out of the ordinar with the above mentioned files 
> (avcodec.h, utils.c, common.h).  Is this a problem with compliling on 
> a 64-bit machine?  Did I download a borked tar? 
>
> Thanks for any help/insights.
>
> -Chris
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
Dude! That is the exact same error I got when trying to compile MythTV 
on both FC4.ppc and Ubuntu5.10 for PPC.

Matt


More information about the mythtv-users mailing list