[mythtv] Undefined reference in libmyth

Sid Boyce sboyce at blueyonder.co.uk
Wed Nov 28 14:50:48 UTC 2007


Anton Farygin wrote:
> Hello.
> 
> After update to latest svn snapshot (2007-11-27), i found this problem 
> with mythtv build:
> 
> g++  -o mythfrontend version.o main.o manualbox.o playbackbox.o 
> viewscheduled.o globalsettings.o manualschedule.o programrecpriority.o 
> channelrecpriority.o statusbox.o networkcontrol.o mediarenderer.o 
> custompriority.o moc_manualbox.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   -L/usr/lib/qt3/lib -L../../libs/libmyth 
> -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec 
> -L../../libs/libavformat -L../../libs/libmythfreemheg 
> -L../../libs/libmythui -L../../libs/libmythupnp 
> -L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20 
> -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20 -lmythupnp-0.20 
> -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lz -lmp3lame 
> -lasound -ljack -ldirectfb -lfusion -ldirect -lpthread -lz -ldl 
> -L/usr/X11R6/lib -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm 
> -lXrandr -lXvMCW -lXvMC -lGL -lGLU -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 
> -lm -lpthread
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `XmlConfiguration::XmlConfiguration(QString const&)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `MythXMLClient::~MythXMLClient()'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to `UPnp::UPnp()'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `SSDPCache::Find(QString const&)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `SSDPCache::Find(QString const&, QString const&)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `MythXMLClient::MythXMLClient(QUrl const&, bool)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `UPnp::SetConfiguration(Configuration*)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `UPnp::Initialize(int, HttpServer*)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `UPnpDeviceDesc::Retrieve(QString&, bool)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `UPnp::g_SSDPCache'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `SSDP::PerformSearch(QString const&)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `HttpServer::HttpServer(int)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to 
> `MythXMLClient::GetConnectionInfo(QString const&, DatabaseParams*, 
> QString&)'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to `UPnp::g_pConfig'
> ../../libs/libmyth/libmyth-0.20.so: undefined reference to `UPnp::g_pSSDP'
> collect2: ld returned 1 exit status
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> 
> 

This may be irrelevant in this case, but on occasions I have had to mv 
libmyth* out of the library path to cure similar problems, "mv 
/usr/lib64/libmyth* /odds/". Seems that somehow the installed libraries 
are being checked.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support 
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks



More information about the mythtv-dev mailing list