[mythtv-users] make errors "compile dialogbox.cpp on localhost failed"

Scott Hubbard shubbard at gmail.com
Sat Sep 17 18:25:36 UTC 2005


Hi, I'm trying to make MythTv 0.18.1, and I get these error about 
dialogbox.cpp not compiling.
I have installed Qt 4.0.1.
I'm running Slackware 10.1
Hauppage WinTV 350

There is a very long make output with a lot of errors before it finally 
quits with these errors. Please let me know if you want the entire make 
output.

mythcontext.h: At global scope:
mythcontext.h:148: error: parse error before `private'
mythcontext.h:150: error: conflicting types for `QStringList extradata'
mythcontext.h:138: error: previous declaration as `int extradata'
mythcontext.h:151: error: parse error before `}' token
mythcontext.h:285: error: `e' was not declared in this scope
mythcontext.h:285: error: invalid data member initialization
mythcontext.h:285: error: variable or field `dispatch' declared void
mythcontext.h:286: error: `e' was not declared in this scope
mythcontext.h:286: error: invalid data member initialization
mythcontext.h:286: error: variable or field `dispatchNow' declared void
mythcontext.h:303: error: `QSocketDevice' was not declared in this scope
mythcontext.h:303: error: `socket' was not declared in this scope
mythcontext.h:303: error: invalid data member initialization
mythcontext.h:304: error: declaration of `bool 
MythContext::CheckProtoVersion(QSocket*)'
mythcontext.h:303: error: conflicts with previous declaration `bool 
MythContext::CheckProtoVersion'
dialogbox.cpp: In constructor `DialogBox::DialogBox(MythMainWindow*, const 
QString&, const char*, const char*)':
dialogbox.cpp:21: error: `setBackgroundOrigin' undeclared (first use this 
function)
dialogbox.cpp:22: error: `WordBreak' undeclared in namespace `Qt'
dialogbox.cpp:24: error: no matching function for call to `QVBoxLayout::
QVBoxLayout(DialogBox* const, int, int)'
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qboxlayout.h:136: error: 
candidates 
are: QVBoxLayout::QVBoxLayout(const QVBoxLayout&)
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qboxlayout.h:124: error: 
QVBoxLayout::QVBoxLayout(QWidget*)
/usr/local/Trolltech/Qt-4.0.1/include/QtGui/qboxlayout.h:123: error: 
QVBoxLayout::QVBoxLayout()
dialogbox.cpp:40: error: `insert' undeclared (first use this function)
dialogbox.cpp: In member function `void DialogBox::AddButton(const 
QString&)':
dialogbox.cpp:48: error: `count' undeclared (first use this function)
dialogbox.cpp:54: error: `insert' undeclared (first use this function)
dialogbox.cpp: In member function `void DialogBox::buttonPressed(int)':
dialogbox.cpp:61: error: `find' undeclared (first use this function)
mythwidgets.h: In function `void setCurrentItem(int)':
mythwidgets.h:335: warning: unused parameter `int index'
{standard input}: Assembler messages:
{standard input}:242: Error: symbol `extradata' is already defined
distcc[6745] ERROR: compile dialogbox.cpp on localhost failed
make[2]: *** [dialogbox.o] Error 1
make[2]: Leaving directory `/usr/local/src/MythTV/mythtv-0.18.1
/libs/libmyth'
make[1]: *** [sub-libmyth-make_default-ordered] Error 2
make[1]: Leaving directory `/usr/local/src/MythTV/mythtv-0.18.1/libs'
make: *** [sub-libs-make_default-ordered] Error 2

Thanks for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050917/00eb1064/attachment-0001.htm


More information about the mythtv-users mailing list