Mike Diehl wrote:
Hi all,
I'm trying to install the latest version of MythTv and I'm running into a
compile problem.
this is what I'm trying to compile:
============================================
emerge -av mythtv
[ebuild N ] media-tv/mythtv-0.19_p10505 USE="alsa dvb dvd ieee1394 lirc
mmx opengl vorbis xvmc (-altivec) -backendonly -dbox2 -debug -frontendonly
-jack -joystick -lcd" VIDEO_CARDS="i810 via -nvidia" 0 kB
============================================
this is the error message that I get:
============================================
g++ -o mythtv main.o -L/usr/qt/3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec
-L../../libs/libavformat -lmythtv-0.19 -lmythavformat-0.19 -lmythavutil-0.19
-lmythavcodec-0.19 -lmyth-0.19 -lfreetype -lmp3lame -lasound -ldvdnav
-L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lGL -lGLU -lqt-mt -lXext
-lX11 -lm -lpthread
../../libs/libmythtv/libmythtv-0.19.so: undefined reference to
`glXGetVideoSyncSGI'
../../libs/libmythtv/libmythtv-0.19.so: undefined reference to
`glXWaitVideoSyncSGI'
collect2: ld returned 1 exit status
make[2]: *** [mythtv] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mythtv-0.19_p10505/work/mythtv-0.19/programs/mythtv'
make[1]: *** [sub-mythtv] Error 2
make[1]: Leaving directory
`/var/tmp/portage/mythtv-0.19_p10505/work/mythtv-0.19/programs'
make: *** [sub-programs] Error 2
!!! ERROR: media-tv/mythtv-0.19_p10505 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
mythtv-0.19_p10505.ebuild, line 213: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
============================================
This system is a fresh install, so I'm at a loss.
Any help would be appreciated.
Mike.
First of all, fix your VIDEO_CARDS settings (why do you have two?). Then, try
with -opengl and -xvmc.
Steve
--
gentoo-user@gentoo.org mailing list