Opened 14 years ago

Closed 14 years ago

#548 closed defect (fixed)

Compile problem with mythdvd

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythdvd Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Latest SVN, 7644:

g++ -c -pipe -march=pentium4 -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/include -I/usr/kde/3.3/include -I/usr/include -I/usr/X11R6/include -I/usr/include -I/usr/X11R6/include -I/usr/include/mythtv -I/usr/include/speech_tools -I/usr/lib/qt-3.3/include -o dvdripbox.o dvdripbox.cpp dvdripbox.cpp: In member function 'void DVDRipBox::checkDisc()': dvdripbox.cpp:169: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:171: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:172: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:192: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:194: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:195: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp: In member function 'void DVDRipBox::createSocket()': dvdripbox.cpp:211: warning: possible problem detected in invocation of delete operator: dvdripbox.cpp:211: warning: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: warning: forward declaration of 'struct QSocket' dvdripbox.cpp:211: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. dvdripbox.cpp:213: error: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: error: forward declaration of 'struct QSocket' dvdripbox.cpp:214: error: no matching function for call to 'DVDRipBox::connect(QSocket*&, const char [12], DVDRipBox* const, const char [22])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:215: error: no matching function for call to 'DVDRipBox::connect(QSocket*&, const char [13], DVDRipBox* const, const char [18])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:216: error: no matching function for call to 'DVDRipBox::connect(QSocket*&, const char [13], DVDRipBox* const, const char [18])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:217: error: no matching function for call to 'DVDRipBox::connect(QSocket*&, const char [20], DVDRipBox* const, const char [20])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp: In member function 'void DVDRipBox::connectionClosed()': dvdripbox.cpp:224: warning: possible problem detected in invocation of delete operator: dvdripbox.cpp:224: warning: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: warning: forward declaration of 'struct QSocket' dvdripbox.cpp:224: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. dvdripbox.cpp:234: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:235: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:239: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:240: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:245: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp: In member function 'void DVDRipBox::connectToMtd(bool)': dvdripbox.cpp:268: error: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: error: forward declaration of 'struct QSocket' dvdripbox.cpp: In member function 'virtual void DVDRipBox::keyPressEvent(QKeyEvent*)': dvdripbox.cpp:304: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:305: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:315: error: invalid use of undefined type 'struct UIPushButtonType' /usr/include/mythtv/mythdialogs.h:26: error: forward declaration of 'struct UIPushButtonType' dvdripbox.cpp:320: error: invalid use of undefined type 'struct UIPushButtonType' /usr/include/mythtv/mythdialogs.h:26: error: forward declaration of 'struct UIPushButtonType' dvdripbox.cpp:324: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:325: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:330: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp: In member function 'void DVDRipBox::connectionError(int)': dvdripbox.cpp:392: error: incomplete type 'QSocket' used in nested name specifier dvdripbox.cpp:399: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:401: error: incomplete type 'QSocket' used in nested name specifier dvdripbox.cpp:406: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:408: error: incomplete type 'QSocket' used in nested name specifier dvdripbox.cpp:412: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:418: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp: In member function 'void DVDRipBox::readFromServer()': dvdripbox.cpp:436: error: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: error: forward declaration of 'struct QSocket' dvdripbox.cpp:438: error: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: error: forward declaration of 'struct QSocket' dvdripbox.cpp: In member function 'void DVDRipBox::sendToServer(const QString&)': dvdripbox.cpp:455: error: no matching function for call to 'QTextStream::QTextStream(QSocket*&)' /usr/lib/qt-3.3/include/qtextstream.h:191: note: candidates are: QTextStream::QTextStream(const QTextStream&) /usr/lib/qt-3.3/include/qtextstream.h:70: note: QTextStream::QTextStream(FILE*, int) /usr/lib/qt-3.3/include/qtextstream.h:69: note: QTextStream::QTextStream(QByteArray, int) /usr/lib/qt-3.3/include/qtextstream.h:68: note: QTextStream::QTextStream(QString&, int) /usr/lib/qt-3.3/include/qtextstream.h:67: note: QTextStream::QTextStream(QString*, int) /usr/lib/qt-3.3/include/qtextstream.h:66: note: QTextStream::QTextStream(QIODevice*) /usr/lib/qt-3.3/include/qtextstream.h:65: note: QTextStream::QTextStream() dvdripbox.cpp: In member function 'void DVDRipBox::showCurrentJob()': dvdripbox.cpp:510: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:514: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:519: error: invalid use of undefined type 'struct UIStatusBarType'/usr/include/mythtv/mythdialogs.h:34: error: forward declaration of 'struct UIStatusBarType' dvdripbox.cpp:524: error: invalid use of undefined type 'struct UIStatusBarType'/usr/include/mythtv/mythdialogs.h:34: error: forward declaration of 'struct UIStatusBarType' dvdripbox.cpp:528: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp: In member function 'void DVDRipBox::handleStatus(QStringList)': dvdripbox.cpp:591: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:596: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:614: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:622: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:637: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:644: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp: In member function 'void DVDRipBox::handleMedia(QStringList)': dvdripbox.cpp:747: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:757: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:759: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:760: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:793: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:795: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:796: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp: In member function 'void DVDRipBox::goRipScreen()': dvdripbox.cpp:941: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp:956: error: invalid use of undefined type 'struct UITextType' /usr/include/mythtv/mythdialogs.h:24: error: forward declaration of 'struct UITextType' dvdripbox.cpp: In member function 'void DVDRipBox::wireUpTheme()': dvdripbox.cpp:1003: error: invalid use of undefined type 'struct UIStatusBarType' /usr/include/mythtv/mythdialogs.h:34: error: forward declaration of 'struct UIStatusBarType' dvdripbox.cpp:1004: error: invalid use of undefined type 'struct UIStatusBarType' /usr/include/mythtv/mythdialogs.h:34: error: forward declaration of 'struct UIStatusBarType' dvdripbox.cpp:1009: error: invalid use of undefined type 'struct UIStatusBarType' /usr/include/mythtv/mythdialogs.h:34: error: forward declaration of 'struct UIStatusBarType' dvdripbox.cpp:1010: error: invalid use of undefined type 'struct UIStatusBarType' /usr/include/mythtv/mythdialogs.h:34: error: forward declaration of 'struct UIStatusBarType' dvdripbox.cpp:1016: error: no matching function for call to 'DVDRipBox::connect(UIPushButtonType*&, const char [10], DVDRipBox* const, const char [11])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:1021: error: no matching function for call to 'DVDRipBox::connect(UIPushButtonType*&, const char [10], DVDRipBox* const, const char [11])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:1027: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:1028: error: no matching function for call to 'DVDRipBox::connect(UITextButtonType*&, const char [10], DVDRipBox* const, const char [15])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:1029: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:1035: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp:1036: error: no matching function for call to 'DVDRipBox::connect(UITextButtonType*&, const char [10], DVDRipBox* const, const char [13])' /usr/lib/qt-3.3/include/qobject.h:116: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*) /usr/lib/qt-3.3/include/qobject.h:226: note: bool QObject::connect(const QObject*, const char*, const char*) const dvdripbox.cpp:1037: error: invalid use of undefined type 'struct UITextButtonType' /usr/include/mythtv/mythdialogs.h:27: error: forward declaration of 'struct UITextButtonType' dvdripbox.cpp: In destructor 'virtual DVDRipBox::~DVDRipBox()': dvdripbox.cpp:1045: error: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: error: forward declaration of 'struct QSocket' dvdripbox.cpp:1046: warning: possible problem detected in invocation of delete operator: dvdripbox.cpp:1046: warning: invalid use of undefined type 'struct QSocket' /usr/include/mythtv/mythcontext.h:32: warning: forward declaration of 'struct QSocket' dvdripbox.cpp:1046: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. make[2]: * [dvdripbox.o] Error 1 make[2]: Leaving directory `/MythTV_Devel/MythTV_Build/rpmbuild/BUILD/mythplugins-0.19.0.cvs7644/mythdvd/mythdvd' make[1]: * [sub-mythdvd] Error 2 make[1]: Leaving directory `/MythTV_Devel/MythTV_Build/rpmbuild/BUILD/mythplugins-0.19.0.cvs7644/mythdvd' make: * [sub-mythdvd] Error 2

Change History (1)

comment:1 Changed 14 years ago by paulh

Resolution: fixed
Status: newclosed

(In [7645]) More missing headers.

Fixes #548

Note: See TracTickets for help on using tickets.