Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89916 - media-tv/mythtv-0.18 fails: libmyth-0.18.so: undefined reference to `XineramaIsActive'
Summary: media-tv/mythtv-0.18 fails: libmyth-0.18.so: undefined reference to `Xinerama...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 05:40 UTC by Nuno Alexandre
Modified: 2005-05-14 18:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make Xinerama support optional with --disable-xinerama (mythtv-0.18-xinerama.patch,5.20 KB, patch)
2005-04-23 23:16 UTC, Nathan Lutchansky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nuno Alexandre 2005-04-21 05:40:50 UTC
I can't emerge anything, gentoo is broken.!

joking ..

I know mythtv-0.18 is masked(please forgive me, i have sined), but since the description didn't mentioned that it was *broken* i thought about giving it a try.

[ebuild  N    ] media-tv/mythtv-0.18  -X +alsa (-altivec) -arts -cle266 -debug -directfb -dvb -ieee1394 -jack -joystick -lcd -lirc -nls -nvidia -oggvorbis +opengl -oss +xv 0 kB 


,--8<--
cd mythprogfind && make -f Makefile
make[2]: Entering directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs/mythprogfind'
x86_64-pc-linux-gnu-g++ -c -pipe -march=k8 -Wall -W -march=k8 -O2 -pipe -fno-pie -D_REENTRANT  -DUSI                                             NG_IVTV -DUSING_OPENGL_VSYNC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DQT_NO_DEBUG -D                                             QT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../../libs -I../../libs/libmyth -I/usr/include                                              -I/usr/qt/3/include -o main.o main.cpp
g++ -Wl,-O1 -o mythepg main.o    -L/usr/qt/3/lib -L../../libs/libmyth -L../../libs/libmythtv -L../..                                             /libs/libavcodec -L../../libs/libavformat -lmythtv-0.18 -lmythavformat-0.18 -lmythavcodec-0.18 -lmyt                                             h-0.18 -lfreetype -lmp3lame -lasound -L/usr/X11R6/lib -lGL -lGLU -lqt-mt -lXext -lX11 -lm -lpthread
g++ -Wl,-O1 -o mythprogfind main.o    -L/usr/qt/3/lib -L../../libs/libmyth -L../../libs/libmythtv -L                                             ../../libs/libavcodec -L../../libs/libavformat -lmythtv-0.18 -lmythavformat-0.18 -lmythavcodec-0.18                                              -lmyth-0.18 -lfreetype -lmp3lame -lasound -L/usr/X11R6/lib -lGL -lGLU -lqt-mt -lXext -lX11 -lm -lpth                                             read
../../libs/libmyth/libmyth-0.18.so: undefined reference to `XineramaIsActive'
../../libs/libmyth/libmyth-0.18.so: undefined reference to `XineramaQueryScreens'
../../libs/libmyth/libmyth-0.18.so: undefined reference to `ScreenSaverX11::ScreenSaverX11()'
../../libs/libmyth/libmyth-0.18.so: undefined reference to `XineramaQueryExtension'
collect2: ld returned 1 exit status
make[2]: *** [mythepg] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs/mythepg'
make[1]: *** [sub-mythepg] Error 2
make[1]: *** Waiting for unfinished jobs....
../../libs/libmyth/libmyth-0.18.so: undefined reference to `XineramaIsActive'
../../libs/libmyth/libmyth-0.18.so: undefined reference to `XineramaQueryScreens'
../../libs/libmyth/libmyth-0.18.so: undefined reference to `ScreenSaverX11::ScreenSaverX11()'
../../libs/libmyth/libmyth-0.18.so: undefined reference to `XineramaQueryExtension'
collect2: ld returned 1 exit status
make[2]: *** [mythprogfind] Error 1
make[2]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs/mythprogfind'
make[1]: *** [sub-mythprogfind] Error 2
make[1]: Leaving directory `/var/tmp/portage/mythtv-0.18/work/mythtv-0.18/programs'
make: *** [sub-programs] Error 2
`--->8--

I don't have xinerama.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11.7 x86_64)
=================================================================
System uname: 2.6.11.7 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  4 2005, 22:16:04)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoclean autoconfig ccache distlocks noinfo notitles
sandbox strict"
GENTOO_MIRRORS="ftp://ftp.dkuug.dk/pub/gentoo/ ftp://rsync.gentoo.diku.dk
http://ftp.du.se/pub/os/gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1 "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 alsa dga ncurses opengl rtc sdl truetype xv video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LINGUAS
Comment 1 Nathan Lutchansky 2005-04-23 23:16:06 UTC
Created attachment 57070 [details, diff]
Patch to make Xinerama support optional with --disable-xinerama

This patch applies to 0.18 and modifies the code and configuration script so
that the --disable-xinerama flag allows MythTV to compile and run on a system
where X was built with USE="-xinerama".  I'll submit something similar
upstream.
Comment 2 Nathan Lutchansky 2005-04-23 23:20:27 UTC
Oh yeah, Nuno, the ebuild for MythTV tries to honor the -X USE flag by passing --disable-x11 to the configure script, but MythTV 0.18 won't even compile on Linux with this option.  Try emerging with the X flag:

# USE="X" emerge mythtv
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2005-05-14 12:27:22 UTC
Nuno,

test with the latest versions.

This patch isn't going in unless I see that the latest versions fail as well.
Comment 4 Nuno Alexandre 2005-05-14 18:11:01 UTC
was fixed long time ago.
:)