LinHES Forums
http://forums.linhes.org/

compiling MythTV on Debian w/ DVB
http://forums.linhes.org/viewtopic.php?f=17&t=6304
Page 1 of 1

Author:  Nechushtan [ Tue Oct 04, 2005 11:45 am ]
Post subject:  compiling MythTV on Debian w/ DVB

I've got a currently running debian system on my amd64 machine. I want to build MythTV before I install my HD-3000 card, which from what I gather requires DVB support. What I can't figure though is does MythTV require XFree86 or can Xorg be used? it seems the required packages are for XFree86 and I get the following error:

make[2]: Entering directory `/DataDrive/Files/Tarballs/mythtv-0.18.1/libs/libavcodec'
gcc -c -pipe -march=k8 -w -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -DMMX -DUSING_IVTV -DUSING_DVB -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 -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I/usr/share/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 `/DataDrive/Files/Tarballs/mythtv-0.18.1/libs/libavcodec'
make[1]: *** [sub-libavcodec] Error 2
make[1]: Leaving directory `/DataDrive/Files/Tarballs/mythtv-0.18.1/libs'
make: *** [sub-libs] Error 2

Author:  cesman [ Tue Oct 04, 2005 12:46 pm ]
Post subject: 

You can use either. The problem you are seeing isn't related to X at all. If you have issues compiling Mythtv, I'd suggest using the mailing list.

Author:  JoseM [ Sun Jan 29, 2006 10:57 am ]
Post subject:  Re: compiling MythTV on Debian w/ DVB

Nechushtan wrote:
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


Probably is gcc 4.0 doing bad stuff.

Try:
CC=gcc-3.4 ./configure
make
make install

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/