[mythtv-users] Error compiling MythNews

Paul Harrison mythtv at sky.com
Tue Dec 30 13:42:42 UTC 2008


OJ wrote:
> I have been getting this error for some time now when trying to compile trunk.
>
> make[2]: Entering directory `/usr/local/mythtv/mythplugins/mythnews/mythnews'
> g++ -c -m64 -pipe -march=k8 -pthread -I/usr/include/kde/artsc
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall
> -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor
> -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -Wall -W -D_REENTRANT
> -DPIC -fPIC -D_GNU_SOURCE -DPREFIX="/usr/local" -DMMX
> -D_FILE_OFFSET_BITS=64 -DQT_PLUGIN -DQT_SQL_LIB -DQT_XML_LIB
> -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
> -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore
> -I/usr/include/QtCore -I/usr/include/QtNetwork
> -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtGui
> -I/usr/include/QtXml -I/usr/include/QtXml -I/usr/include/QtSql
> -I/usr/include/QtSql -I/usr/include -I../../../../include
> -I../../../../include -I/usr/include -I../../../../include/mythtv
> -I../../../../include/mythtv -I../../../../include/mythtv/libmythui
> -I../../../../include/mythtv/libmythdb -I. -I. -o mythnews.o
> mythnews.cpp
> mythnews.cpp: In member function 'virtual bool MythNews::Create()':
> mythnews.cpp:107: error: 'UIUtilE' has not been declared
> mythnews.cpp:108: error: 'UIUtilE' has not been declared
> mythnews.cpp:110: error: 'UIUtilW' has not been declared
> mythnews.cpp:111: error: 'UIUtilE' has not been declared
> mythnews.cpp:112: error: 'UIUtilE' has not been declared
> mythnews.cpp:113: error: 'UIUtilE' has not been declared
> mythnews.cpp:115: error: 'UIUtilE' has not been declared
> mythnews.cpp:116: error: 'UIUtilE' has not been declared
> mythnews.cpp:117: error: 'UIUtilE' has not been declared
> mythnews.cpp:118: error: 'UIUtilE' has not been declared
> make[2]: *** [mythnews.o] Error 1
> make[2]: Leaving directory `/usr/local/mythtv/mythplugins/mythnews/mythnews'
> make[1]: *** [sub-mythnews-make_default] Error 2
> make[1]: Leaving directory `/usr/local/mythtv/mythplugins/mythnews'
> make: *** [sub-mythnews-make_default] Error 2
>
> What am I missing?
>   
You're trying to use mismatched version of mythtv and mythplugins.  
Update _and_ install mythtv first then do the same for mythplugins.

Paul H.


More information about the mythtv-users mailing list