[mythtv-users] Building mythtv from latest trunk

Michael T. Dean mtdean at thirdcontact.com
Wed Feb 10 17:54:56 UTC 2010


On 02/10/2010 07:45 AM, Yan Seiner wrote:
> Yan Seiner wrote:
>> So I've done that. Now it's failing with:
>>
>> g++ -c -pipe -march=k8 -fomit-frame-pointer -O3 -Wall -Wno-switch 
>> -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor 
>> -funit-at-a-time -D__STDC_CONSTANT_MACROS -I/usr/include/directfb 
>> -D_REENTRANT -D_REENTRANT -DPIC -fPIC -DMMX -D_GNU_SOURCE 
>> -D_FILE_OFFSET_BITS=64 -DUSING_VDPAU -DUSE_JOYSTICK_MENU -DUSE_LIRC 
>> -DUSE_OPENGL_PAINTER -DUSING_QTWEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB 
>> -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB 
>> -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. 
>> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore 
>> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtNetwork 
>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui 
>> -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtOpenGL 
>> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml 
>> -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtSql 
>> -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtWebKit 
>> -I/usr/include/qt4 -I/usr/include -I/usr/local -I../libmythdb -I../.. 
>> -I.. -I/usr/local/include/X11 -I. -I. -o mythpainter_vdpau.o 
>> mythpainter_vdpau.cpp
>> In file included from mythpainter_vdpau.cpp:19:
>> mythrender_vdpau.h:166: error: ISO C++ forbids declaration of 
>> ‘MythXDisplay’ with no type
>> mythrender_vdpau.h:166: error: expected ‘;’ before ‘*’ token
>> make[2]: *** [mythpainter_vdpau.o] Error 1
>> make[2]: Leaving directory 
>> `/data20/src/mythtv/mythtv-trunk/mythtv/libs/libmythui'
>> make[1]: *** [sub-libmythui-make_default] Error 2
>> make[1]: Leaving directory `/data20/src/mythtv/mythtv-trunk/mythtv/libs'
>>
>> which actually is earlier in the process than the previous 
>> mythfrontend build failure. This is reaching the WTF? stage of 
>> building a package.
>>
>> It's now happening with several revision versions - all that I've 
>> tried. Grrrr.Seems to be related to this: 
>> http://svn.mythtv.org/trac/ticket/6902
>
> Wonder what I broke now....
>

Don't you have different, non-compatible versions of X installed in /usr 
and /usr/local ?  If so, that's probably breaking the configure script 
(and you /really/ need to fix your system install--I'd recommend you 
wipe it and install a distro version that has (only) the updated version 
of X that you need or whatever).

Mike


More information about the mythtv-users mailing list