Opened 20 years ago
Closed 20 years ago
#265 closed enhancement (fixed)
SVN HEAD mythtv has Undefined Reference (Gentoo brokenness)
Reported by: | anonymous | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
Sync'd to SVN head today and got this error after a make distclean. configure output below
make[2]: Entering directory `/usr/local/src/mythtv/mythtv/programs/mythuitest'
ccache g++ -c -pipe -march=pentiumpro -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DMMX -Di386 -DUSING_DBOX2 -DHAVE_DVDNAV -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../../libs/libmythui -I../../libs/libmyth -I../../../../../../include -I../../../../../../include -I/usr/qt/3/include -I../../../../../../include -I../../../../../../include -o moc_test1.o moc_test1.cpp ccache g++ -o mythuitest main.o test1.o btnlisttest.o moc_test1.o -L/usr/qt/3/lib -L/usr/X11R6/lib -L../../libs/libmyth -L../../libs/libmythui -lmythui-0.18 -lmyth-0.18 -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread test1.o(.gnu.linkonce.r._ZTV11TestScreen1+0x6c): undefined reference to `MythUIType::GetArea() const' test1.o(.gnu.linkonce.r._ZTV11TestScreen1+0x70): undefined reference to `MythUIType::GetDirtyArea() const' btnlisttest.o(.text+0xfc5): In function `TestWindow::setupHList()': : undefined reference to `MythHorizListButton::MythHorizListButton[in-charge](MythUIType*, char const*, QRect const&, bool, bool, unsigned)' btnlisttest.o(.gnu.linkonce.r._ZTV10TestWindow+0x6c): undefined reference to `MythUIType::GetArea() const' btnlisttest.o(.gnu.linkonce.r._ZTV10TestWindow+0x70): undefined reference to `MythUIType::GetDirtyArea() const' moc_test1.o(.gnu.linkonce.r._ZTV8TestMove+0x6c): undefined reference to `MythUIType::GetArea() const' moc_test1.o(.gnu.linkonce.r._ZTV8TestMove+0x70): undefined reference to `MythUIType::GetDirtyArea() const'
# Basic Settings Compile type release Compiler cache yes DistCC no Install prefix /usr CPU x86 (pentiumpro) Big Endian no MMX enabled yes Vector Builtins yes
# Input Support Joystick menu no lirc support yes Video4Linux sup. yes ivtv support yes FireWire support no DVB support no usr/src/linux-2.6.11-gentoo-r6/include
# Sound Output Support OSS support yes ALSA support yes aRts support no JACK support no
# Video Output Support x11 support yes xrandr support yes xv support yes XvMC support yes XvMC VLD support no XvMC pro support no XvMC libs -lXvMCNVIDIA OpenGL vsync yes DirectFB no
# Misc Features DVD playback yes Frontend yes Backend yes
Attachments (2)
Change History (10)
comment:1 by , 20 years ago
Priority: | minor → blocker |
---|
comment:3 by , 20 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Distclean does not solve this. Both myself and the other reporter of this issue are running Gentoo. At this time it seems to be specific to this distro.
by , 20 years ago
Attachment: | gentoo-more-brokenness.patch added |
---|
comment:4 by , 20 years ago
Priority: | blocker → minor |
---|---|
Severity: | medium → low |
Summary: | SVN HEAD mythtv has Undefined Reference → SVN HEAD mythtv has Undefined Reference (Gentoo brokenness) |
Type: | defect → enhancement |
Gentoo brokenness, partially.
-L/usr/qt/3/lib -L/usr/X11R6/lib -L../../libs/libmyth -L../../libs/libmythui
... In Gentoo, /usr/X11R6/lib is a symlink to /usr/lib, which includes libmyth. Since the -Ls are processed sequentially, and the newly built version is not installed yet, the old /usr/lib/libmyth* get linked.
Patch included.
comment:5 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Makes sure that we link MythTV programs our freshly compiled libs instead of ones previously installed on the system.
The ticket is about Gentoo ebuilds installing X11 libraries and MythTV libraries in the same directory, but this fix will help with any other whacky installs as well.
by , 20 years ago
Attachment: | evenmoregentoobrokenness.patch added |
---|
comment:6 by , 20 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 by , 20 years ago
Of course, the rest of the libraries required varying versions of this patch. Attached again.
Glad to see I am not the only one. Last successful build Aug 24 synced from svn around 2100 EST. 0.19.20050712-1 Options compiled in:
Did not sync up again until today.
Build options
Build error