[mythtv-users] "Make"ing Mythvideo

Victor Biro vabiro at yahoo.com
Sun Jun 22 07:24:20 EDT 2003


Hi,

I have been having problems compiling and have received errors of one type or
an other with virtually all modules, except mythweb. The core did spit out some
errors at the end of make, but seems to be functioning fine now.

I have had some problems with compiling some stuff. I am running RH8, and there
are, apparently, some problems with the gcc3.x which was introduced with RH8.

Speaking of configurations, I am using RedHat 8.0 on a 1GHz Celleron,
256Meg.RAM, 80Gb HD, and a Hauppage WinTV PCI card. Everything seems to have
been updated to the latest versions using Up2Date.

Here is the latest attempt using the CVS of MythVideo. I tried the regular
download, but I got the same thing. BTW, I updated right before this attempt.

There was one issue though with the Makefile on the lines 3, 5 and 7 the
comments. They were missing a "#" at the beginning of the line, and were
presenting an error. 

Thanks in advance for any help offered.
Victor

Here is the result of my "make":

# make        
cd mythvideo && make -f Makefile
make[1]: Entering directory
`/usr/dwnloads/myth/mythtv9/mythtv/mythvideo/mythvideo'
qmake -o Makefile mythvideo.pro
make[1]: Leaving directory
`/usr/dwnloads/myth/mythtv9/mythtv/mythvideo/mythvideo'
make[1]: Entering directory
`/usr/dwnloads/myth/mythtv9/mythtv/mythvideo/mythvideo'
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT
-fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_PLUGIN -I/usr/local/qt/mkspecs/default -I.
-I../../../../../../local/include -I/usr/local/qt/include -o main.o main.cpp
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning:   as it is the same as non-system directory
"../../../../../../local/include"
In file included from main.cpp:20:
videomanager.h:13:28: mythtv/uitypes.h: No such file or directory
videomanager.h:14:29: mythtv/xmlparse.h: No such file or directory
In file included from main.cpp:20:
videomanager.h:24: type specifier omitted for parameter `MythMainWindow'
videomanager.h:24: parse error before `*' token
videomanager.h:58: syntax error before `*' token
videomanager.h:89: field `backup' has incomplete type
In file included from main.cpp:21:
videobrowser.h:12:28: mythtv/uitypes.h: No such file or directory
videobrowser.h:13:29: mythtv/xmlparse.h: No such file or directory
In file included from main.cpp:21:
videobrowser.h:23: type specifier omitted for parameter `MythMainWindow'
videobrowser.h:23: parse error before `*' token
videobrowser.h:50: syntax error before `*' token
videobrowser.h:69: field `backup' has incomplete type
In file included from main.cpp:22:
videotree.h:8:32: mythtv/mythdialogs.h: No such file or directory
videotree.h:9:28: mythtv/uitypes.h: No such file or directory
In file included from main.cpp:22:
videotree.h:16: parse error before `{' token
videotree.h:17: virtual outside class declaration
videotree.h:17: non-member function `const char* className()' cannot have `
   const' method qualifier
videotree.h:17: virtual outside class declaration
videotree.h:17: virtual outside class declaration
videotree.h:17: virtual outside class declaration
videotree.h:17: virtual outside class declaration
videotree.h: In function `QObject* qObject()':
videotree.h:17: invalid use of `this' in non-member function
videotree.h: At global scope:
videotree.h:17: parse error before `private'
videotree.h:23: parse error before `*' token
videotree.h:26: destructors must be member functions
videotree.h:30: parse error before `public'
videotree.h:33: type specifier omitted for parameter `IntVector'
videotree.h:33: parse error before `*' token
videotree.h:48: syntax error before `*' token
videotree.h:49: syntax error before `*' token
videotree.h:50: syntax error before `*' token
videotree.h:51: syntax error before `*' token
videotree.h:52: syntax error before `*' token
videotree.h:53: syntax error before `*' token
videotree.h:54: syntax error before `*' token
main.cpp:27:31: mythtv/mythplugin.h: No such file or directory
main.cpp: In function `int mythplugin_init(const char*)':
main.cpp:59: `MYTH_BINARY_VERSION' undeclared (first use this function)
main.cpp:59: (Each undeclared identifier is reported only once for each 
   function it appears in.)
main.cpp: In function `int mythplugin_run()':
main.cpp:83: no matching function for call to `MythContext::GetThemeDir()'
main.cpp: In function `int mythplugin_config()':
main.cpp:102: no matching function for call to `MythContext::GetThemeDir()'
main.cpp: In function `void runMenu(QString, const QString&, QSqlDatabase*, 
   QString)':
main.cpp:114: no matching function for call to `MythContext::GetMainWindow()'
main.cpp: In function `void VideoCallback(void*, QString&)':
main.cpp:148: no matching function for call to `MythContext::GetMainWindow()'
main.cpp:156: no matching function for call to `MythContext::GetMainWindow()'
main.cpp:163: `tree' undeclared (first use this function)
main.cpp:163: parse error before `(' token
/usr/include/c++/3.2/bits/locale_facets.h: At top level:
videotree.h:17: warning: `bool qt_static_property(QObject*, int, int, 
   QVariant*)' declared `static' but never defined
videotree.h:17: warning: `QMetaObject* staticMetaObject()' declared `static' 
   but never defined
videotree.h:17: warning: `QString tr(const char*, const char*)' declared 
   `static' but never defined
videotree.h:17: warning: `QString trUtf8(const char*, const char*)' declared 
   `static' but never defined
make[1]: *** [main.o] Error 1
make[1]: Leaving directory
`/usr/dwnloads/myth/mythtv9/mythtv/mythvideo/mythvideo'
make: *** [sub-mythvideo] Error 2


More information about the mythtv-users mailing list