[mythtv-users] Error compiling mytharchive - mythtv is ok [SEC=UNCLASSIFIED]

Paul Harrison mythtv at dsl.pipex.com
Tue Mar 6 09:04:26 UTC 2007


Berry, David wrote:
>
> Hi
>
> Trying to compile latest version of SVN and I'm getting:
>
> g++ -c -pipe -march=k8 -I/usr/include/kde/artsc -pthread 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
> -Wno-non-virtual-dtor -Wall -W -O3 -Wall -Wno-switch 
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -D_GNU_SOURCE 
> -DPREFIX=\"/usr/local\" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 
> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED 
> -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. 
> -I/usr/local/include -I/usr/kde/3.3/include -I/usr/local/include 
> -I/usr/share/doc/nvidia-glx-dev/include -I/usr/include 
> -I/usr/local/include/mythtv -I/usr/local/include/mythtv/ffmpeg 
> -I/usr/local/include/mythtv/libmythtv -I/usr/include/qt3 -o dbcheck.o 
> dbcheck.cpp
>
> dbcheck.cpp: In function ‘bool UpdateDBVersionNumber(const QString&)’:
>
> dbcheck.cpp:20: error: could not convert ‘gContext-> 
> MythContext::SaveSettingOnHost(((const QString&)(& QString(((const 
> char*)"ArchiveDBSchemaVer")))), ((const QString&)((const 
> QString*)newnumber)), ((const QString&)(& QString(0u))))’ to ‘bool’
>
> dbcheck.cpp:20: error: in argument to unary !
>
> make[2]: *** [dbcheck.o] Error 1
>
> make[2]: Leaving directory 
> `/home/mythtv/mythSourceSVN/mythplugins/mytharchive/mytharchive'
>
> make[1]: *** [sub-mytharchive] Error 2
>
> make[1]: Leaving directory 
> `/home/mythtv/mythSourceSVN/mythplugins/mytharchive'
>
> make: *** [sub-mytharchive] Error 2
>
> I've done a fresh SVN checkout:
>
> Updating mythplugins...
>
> At revision 12943.
>
> Updating myththemes...
>
> At revision 12943.
>
> Updating mythtv...
>
> At revision 12943.
>
> System:
> Linux mythfront3 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 
> i686 GNU/Linux
>
> root at mythfront3:/tmp# gcc --version
>
> gcc (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
>
> It compiles the mythtv branch with no errors.
>
> Any ideas?
>
> Thanks
>
>

Looks like you are trying to compile against an old set of mythtv 
headers. Did you install MythTV _before_ trying to compile the plugins?

Paul H.




More information about the mythtv-users mailing list