[mythtv-users] Building mythtv from latest trunk

R. G. Newbury newbury at mandamus.org
Wed Feb 10 03:30:11 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?
>
> --Yan
>
As you say, it looks like its missing a library. The first error 
reference is to MythSystemEventHandler which is defined (classed) in 
..../mythtv/libs/libmythtv/mythsystemevent.h
Maybe an include got dropped?
How about pulling down a version you know to be good and diff'ing 
against what you have, to see what's missing and where...since the 
include could have been dropped from a file (unlikely) or inadvertantly 
dropped from a makefile template.
(I haven't seen either of those things happen with mythtv: the builds 
are automatically done as a test, but I have seen that happen with the 
other stuff, particularly missing includes in the xvmc code in the Intel 
driver about a year and a half ago.)

Geoff

-- 
         Please let me know if anything I say offends you.
          I may wish to offend you again in the future.

          Tux says: "Be regular. Eat cron flakes."


More information about the mythtv-users mailing list