[mythtv-users] Building mythtv from latest trunk

Michael T. Dean mtdean at thirdcontact.com
Wed Feb 10 03:49:42 UTC 2010


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*

Mike


More information about the mythtv-users mailing list