[mythtv] Compile problems with latest mythgallery CVS

mojo mojospam at thegeekclub.net
Mon Jun 30 10:45:09 EDT 2003


Mythtv wrote:

> Just got a compile error with the latest CVS (12:42 today) of mythgallery.
> I've had no preious problems.  Did a make distclean as well as wiped the CVS
> dir and re-downloaded the source.  Still got the error below.  I was
> updating to get the changes made so that mythgallery and Gallery would work
> together.  I have not had problems compiling mythgallery in the past.
> 
> Roby
> 
> [root at localhost mythgallery]# make
> cd mythgallery && qmake  -o Makefile
> cd mythgallery && make -f Makefile
> make[1]: Entering directory `/mythtv/mythgallery/mythgallery'
> g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRAN
> T -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUP
> PORT -DQT_PLUGIN -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include
> -I/usr/lib/qt-3.1/include -o iconview.o iconview.cpp
> g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRAN
> T -fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUP
> PORT -DQT_PLUGIN -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include
> -I/usr/lib/qt-3.1/include -o main.o main.cpp
> main.cpp: In function `int mythplugin_init(const char*)':
> main.cpp:24: no matching function for call to
> `MythContext::TestPopupVersion(
>    const char[12], const char*&, const char[16])'
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/mythtv/mythgallery/mythgallery'
> make: *** [sub-mythgallery] Error 2
> 

got similar errors here too...
i thought it was because i was using the mythgallery-cvs ebuilds for 
gentoo but maybe not... i also get compile errors on mythvideo-cvs... it 
seems as if maybe i'm missing some perl modules?  just a guess though...


 >>> Source unpacked.
cd mythgallery && qmake  -o Makefile
cd mythgallery && make -f Makefile
make[1]: Entering directory 
`/var/tmp/portage/mythgallery-cvs-0.9/work/mythgallery/mythgallery'
g++ -c -pipe -Wall -W -O3 -march=i686 -fomit-frame-pointer -D_REENTRANT 
-fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include 
-I/usr/qt/3/include -o iconview.o iconview.cpp
g++ -c -pipe -Wall -W -O3 -march=i686 -fomit-frame-pointer -D_REENTRANT 
-fPIC  -D_GNU_SOURCE -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-DQT_PLUGIN -I/usr/qt/3/mkspecs/linux-g++ -I. -I/usr/include 
-I/usr/qt/3/include -o main.o main.cpp
In file included from gallerysettings.h:4,
                  from iconview.cpp:11:
/usr/local/include/mythtv/settings.h: In constructor
    `ConfigurationDialogWidget::ConfigurationDialogWidget(QWidget*, const
    char*)':
/usr/local/include/mythtv/settings.h:167: invalid conversion from 
`QWidget*' to
    `MythMainWindow*'
/usr/local/include/mythtv/settings.h:167:   initializing argument 1 of `
    MythDialog::MythDialog(MythMainWindow*, const char*, bool)'
In file included from gallerysettings.h:4,
                  from main.cpp:9:
/usr/local/include/mythtv/settings.h: In constructor
    `ConfigurationDialogWidget::ConfigurationDialogWidget(QWidget*, const
    char*)':
/usr/local/include/mythtv/settings.h:167: invalid conversion from 
`QWidget*' to
    `MythMainWindow*'
/usr/local/include/mythtv/settings.h:167:   initializing argument 1 of `
    MythDialog::MythDialog(MythMainWindow*, const char*, bool)'
In file included from iconview.cpp:14:
/usr/local/include/mythtv/dialogbox.h: At global scope:
/usr/local/include/mythtv/dialogbox.h:34: redefinition of `class
    MythThemedDialog'
/usr/include/mythtv/mythdialogs.h:118: previous definition of `class
    MythThemedDialog'
/usr/local/include/mythtv/dialogbox.h:34: confused by earlier errors, 
bailing out
make[1]: *** [iconview.o] Error 1
make[1]: *** Waiting for unfinished jobs....
main.cpp: In function `int mythplugin_init(const char*)':
main.cpp:24: no matching function for call to 
`MythContext::TestPopupVersion(
    const char[12], const char*&, const char[15])'
main.cpp: In function `int mythplugin_run()':
main.cpp:39: no matching function for call to `MythContext::GetMainWindow()'
make[1]: *** [main.o] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/mythgallery-cvs-0.9/work/mythgallery/mythgallery'
make: *** [sub-mythgallery] Error 2

!!! ERROR: media-plugins/mythgallery-cvs-0.9 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! emake failed





More information about the mythtv-dev mailing list