[mythtv] Problems compiling mythtv

Claus M. Christiansen a at skjern-net.dk
Wed Feb 11 08:45:01 EST 2004


Hi...

I'm new to MythTV first of all...

When I'm trying to compile mythtv with first:
 ./configure
 qmake mythtv.pro
 make
the make command fails with:
 confused by earlier errors, bailing out
 cpp0: output pipe has been closed
 make[2]: *** [dialogbox.o] Error 1
 make[2]: Leaving directory `/home/claus/Download/mythtv-0.14/libs/libmyth'
 make[1]: *** [sub-libmyth] Error 2
 make[1]: Leaving directory `/home/claus/Download/mythtv-0.14/libs'
before this error occurs I have had a lot of "syntax error before..." 
among others. Here is a very litte  example:
mythdialogs.h:40: parse error before `{'
mythdialogs.h: In function `int getKeycode()':
mythdialogs.h:45: `keycode' undeclared (first use this function)
mythdialogs.h:45: warning: control reaches end of non-void function 
`getKeycode()'
mythdialogs.h: At top level:
mythdialogs.h:47: parse error before `private'
mythdialogs.h:52: parse error before `{'
mythdialogs.h:67: parse error before `{'
mythdialogs.h:71: destructors must be member functions
mythdialogs.h:71: virtual outside class declaration
mythdialogs.h:76: `QWidget' was not declared in this scope
mythdialogs.h:76: `child' was not declared in this scope
mythdialogs.h:76: variable or field `attach' declared void
mythdialogs.h:77: `QWidget' was not declared in this scope
mythdialogs.h:77: `child' was not declared in this scope
mythdialogs.h:77: variable or field `detach' declared void
mythdialogs.h:79: syntax error before `*'
mythdialogs.h:81: parse error before `&'
mythdialogs.h:84: parse error before `&'
mythdialogs.h:86: parse error before `&'
mythdialogs.h:87: `RegisterJump' declared as function returning a function
mythdialogs.h: In function `int RegisterJump(...)':
mythdialogs.h:87: parse error before `)'
mythdialogs.h:88: parse error before `&'
mythdialogs.h:90: `RegisterMediaHandler' declared as function returning 
a function
mythdialogs.h:90: confused by earlier errors, bailing out

Similar errors occurs in other files as well such as lcddevice.h, 
uitypes.h and others...
I have tried both the CVS version and the latest (1.4) tar.gz file. None 
of them worked.
I have also tried to change the -march=pentiumpro to -march=i586 
although I actually have a Athlon XP 2400+ processor. I've also tried to :

$ qmake mythtv.pro
$ make qmake
$ make -C libs -j2
$ make -j2

with the same result as before...

Any suggestions would be helpfull... Thanks...

I'm using:
Debian 3.0r1 Unstable (the most of the time :-))
Hauppage PVR-350
Nvida TI4200XP with Dual Screen attached...
KDE 3.1.4


Claus




More information about the mythtv-dev mailing list