[mythtv-users] Building mythtv from latest trunk

Yan Seiner yan at seiner.com
Wed Feb 10 12:45:29 UTC 2010


Yan Seiner wrote:
> Michael T. Dean wrote:
>> On 02/09/2010 08:39 PM, Yan Seiner wrote:
>>> I'm trying to build latest trunk (r23519).
>>>
>>> It dies a horrible death when it gets to mythfrontend:
>>>
>>> g++ -o mythfrontend version.o main.o playbackbox.o viewscheduled.o 
>>> globalsettings.o manualschedule.o programrecpriority.o 
>>> channelrecpriority.o statusbox.o networkcontrol.o mediarenderer.o 
>>> mythfexml.o playbackboxlistitem.o custompriority.o mythappearance.o 
>>> exitprompt.o proglist.o action.o actionset.o mythcontrols.o 
>>> keybindings.o keygrabber.o mythosdmenueditor.o progfind.o 
>>> guidegrid.o customedit.o schedulecommon.o progdetails.o 
>>> scheduleeditor.o backendconnectionmanager.o programinfocache.o 
>>> playbackboxhelper.o viewschedulediff.o moc_playbackbox.o 
>>> moc_viewscheduled.o moc_globalsettings.o moc_manualschedule.o 
>>> moc_programrecpriority.o moc_channelrecpriority.o moc_statusbox.o 
>>> moc_networkcontrol.o moc_custompriority.o moc_mythappearance.o 
>>> moc_exitprompt.o moc_proglist.o moc_mythcontrols.o moc_keygrabber.o 
>>> moc_mythosdmenueditor.o moc_progfind.o moc_guidegrid.o 
>>> moc_customedit.o moc_progdetails.o moc_scheduleeditor.o 
>>> moc_backendconnectionmanager.o moc_playbackboxhelper.o 
>>> moc_viewschedulediff.o -L/usr/local/lib -L../../libs/libmyth 
>>> -L../../libs/libmythtv -L../../libs/libavutil 
>>> -L../../libs/libavcodec -L../../libs/libavformat 
>>> -L../../libs/libswscale -L../../libs/libmythdb 
>>> -L../../libs/libmythui -L../../libs/libmythupnp -lmythtv-0.22 
>>> -lmythavformat-0.22 -lmythavutil-0.22 -lmythavcodec-0.22 
>>> -lmythswscale-0.22 -lmythupnp-0.22 -lmythdb-0.22 -lmythui-0.22 
>>> -lmyth-0.22 -L../../libs/libmythlivemedia -lmythlivemedia-0.22 
>>> -L../../libs/libmythfreemheg -lmythfreemheg-0.22 
>>> -L../../libs/libmythhdhomerun -lmythhdhomerun-0.22 -lfreetype -lz 
>>> -L/usr/lib -ldirectfb -lfusion -ldirect -lXinerama -lX11 -lXext 
>>> -lXxf86vm -lXv -lXrandr -lXvMCNVIDIA -lXvMC -lQtDBus -lpthread -lGLU 
>>> -lGL -lQtWebKit -lQtSql -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore
>>> main.o: In function `main':
>>> main.cpp:(.text+0xb3c9): undefined reference to 
>>> `MythSystemEventHandler::MythSystemEventHandler()'
>>> main.cpp:(.text+0xb3e9): undefined reference to 
>>> `MythMainWindow::RegisterSystemEventHandler(QObject*)'
>>> main.o: In function `(anonymous 
>>> namespace)::BookmarkDialog::customEvent(QEvent*)':
>>> main.cpp:(.text+0xc511): undefined reference to 
>>> `DialogCompletionEvent::kEventType'
>>> main.o: In function `TVMenuCallback(void*, QString&)':
>>> main.cpp:(.text+0xd847): undefined reference to 
>>> `MythSystemEventEditor::MythSystemEventEditor(MythScreenStack*, char 
>>> const*)'
>>> main.o:(.rodata+0xa0): undefined reference to 
>>> `MythUIType::SetMinSize(MythPoint const&)'
>>> main.o:(.rodata+0xa8): undefined reference to 
>>> `MythUIType::GetMinSize() const'
>>> main.o:(.rodata+0xb8): undefined reference to 
>>> `MythUIType::AdjustMinArea(int, int)'
>>> main.o:(.rodata+0xc0): undefined reference to 
>>> `MythUIType::SetMinAreaSiblings(QSize const&, int, int)'
>>> main.o:(.rodata+0xc8): undefined reference to 
>>> `MythUIType::SetMinArea(QSize const&)'
>>> .....
>>> And on and on for several hundred lines. All of the missing symbols 
>>> start with Myth....
>>>
>>> It's as if it's not picking up one or more of the libraries.
>>>
>>> I've wiped out the entire tree and grabbed a fresh one from svn, so 
>>> I know it's not something I've done in mucking about. I'm totaly 
>>> stumped; I have no idea why it's not doing this.
>>>
>>> Anyone knowledgeable about qmake and myth can shed some light on 
>>> this? Conversely, if the current tree is broken, anyone know of a 
>>> recent revision I can grab that builds?
>>
>> I recommend removing the system-installed MythTV libs and then re-trying
>> the compile/link:
>>
>> rm /usr/{,local/}lib/libmyth*
> 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.
>
> --Yans
>

Seems to be related to this: http://svn.mythtv.org/trac/ticket/6902

Wonder what I broke now....

-- 

   o__
   ,>/'_         o__
   (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_ 
when we forsake our friends and break all (_)\(_)
bonds of fellowship, but it is not this day.
It is not this day!
This day we ride!



More information about the mythtv-users mailing list