[mythtv-users] Gentoo and Undefinde reference again
Alexander Böhm
babyfly at gmx.net
Wed Dec 12 09:59:06 UTC 2007
Hi all,
at the moment i'm stuck with trunk version 14960 because of the
following prob. after searching and trying around i was able to track
the error down to changset 14964 by nigel... which seems to add another
circular dependecie to mythtv and change the order in wich the libs are
build.
also after much googling and reading on gossamer, this ticket
http://svn.mythtv.org/trac/ticket/3989 was created a while ago because
of nearly the same error with diffrent libs. the atached patch has fixed
the problem for me and a few other gentoo guys out there, till now.
so is there anyone out there that has a quick fix for this or a patch to
try i searched the list and track, but found nothing regarding to my
error...
the build system is gentoo
gcc 4.2.1
binutils 2.18-r1 with the --as-needed flag (whichseems to has also
something to do with the error)
thx for any help
Alex
make[1]: Entering directory `/home/mythtv/mythtv_build/mythtv/programs'
cd mythtv && make -f Makefile
make[2]: Entering directory
`/home/mythtv/mythtv_build/mythtv/programs/mythtv'
ccache g++ -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o mythtv main.o
-L/usr/qt/3/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 -L/usr/X11R6/lib
-lXinerama -lXv -lXxf86vm -lXrandr -lXvMCW -lXvMC -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
`UPnp::g_UPnpDeviceDesc'
../../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 gab 1 als Ende-Status zurück
make[2]: *** [mythtv] Fehler 1
make[2]: Leaving directory
`/home/mythtv/mythtv_build/mythtv/programs/mythtv'
make[1]: *** [sub-mythtv] Fehler 2
make[1]: Leaving directory `/home/mythtv/mythtv_build/mythtv/programs'
make: *** [sub-programs] Fehler 2
More information about the mythtv-users
mailing list