[mythtv] CVS fails to compile - using Gentoo ebuilds

Ashley Bostock abostock at gmail.com
Tue Jan 11 04:23:38 EST 2005


Ok just to clarify, I start the emerge, it goes off downloads the
latest cvs files and then starts to compile...

I then edit the settings.pro file it has downloaded - where will this
be? somewhere in /var/tmp/portage/mythtv-cvs-0.16/work/ ?

What do I do at this stage? leave the emerge running and it will pick
up the change automatically or do I some how need to start and stop
the emerge process (surely if I start and stop it, it will blitz over
my settings.pro change)?

Thanks.


On Tue, 11 Jan 2005 10:12:51 +0100, Nick Rosier <nick.rosier at gmail.com> wrote:
> Oops, thought config would have worked but to be honest, I never tried that.
> Then just do a compile, wait till it starts to compile, manually edit
> the settings.pro file and relaunch the compile (that's how I did it,
> thought going through config would be cleaner).
> 
> N.
> 
> On Tue, 11 Jan 2005 09:08:28 +0000, Ashley Bostock <abostock at gmail.com> wrote:
> > Thanks for the reply, but...
> >
> > Running "ebuild mythtv-cvs-0.16.ebuild config" in the
> > "/usr/local/portage/media-tv/mythtv-cvs" directory I get:
> >
> >  * This ebuild does not have a config function.
> >
> >
> > On Tue, 11 Jan 2005 09:51:00 +0100, Nick Rosier <nick.rosier at gmail.com> wrote:
> > > Got the same problem; I think settings.pro was changed. It includes this line:
> > > CONFIG += using_xvmc
> > > which I think is causing the problem; the e-build script doesn't
> > > comment it out if you're not using XvMC.
> > > I ran an ebuild mythtv-cvs-0.16.ebuild config and manually commented
> > > that line out.
> > > Just ebuild ... compile, merge... and it should work.
> > >
> > > N.
> > >
> > > On Tue, 11 Jan 2005 08:35:22 +0000, Ashley Bostock <abostock at gmail.com> wrote:
> > > > When updating to the latest cvs mythtv fails to compile with the
> > > > following error:
> > > >
> > > > =====================================
> > > >
> > > > make[1]: Leaving directory `/var/tmp/portage/mythtv-cvs-0.16/work/mythtv/themes'
> > > > cd setup && make -f Makefile
> > > > make[1]: Entering directory `/var/tmp/portage/mythtv-cvs-0.16/work/mythtv/setup'
> > > > g++ -c -pipe `artsc-config --cflags` -Wall -W -O2 -march=pentium4
> > > > -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE
> > > > -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX
> > > > -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_OPENGL_VSYNC
> > > > -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> > > > -I/usr/qt/3/mkspecs/linux-g++ -I. -I../libs/libmythtv -I../libs
> > > > -I../libs/libmyth -I/usr/include
> > > > -I/usr/src/linux-2.6.9/include/linux/dvb -I../libs/libmythtv/dvbdev
> > > > -I/usr/qt/3/include -o main.o main.cpp
> > > > g++ -Wl,-rpath,/usr/qt/3/lib -o mythepg main.o    -L/usr/qt/3/lib
> > > > -L/usr/X11R6/lib -L../../libs/libmyth -L../../libs/libmythtv
> > > > -L../../libs/libavcodec -L../../libs/libavformat -lmythtv-0.16
> > > > -lmythavformat-0.16 -lmythavcodec-0.16 -lmyth-0.16 -lfreetype
> > > > -lmp3lame -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm
> > > > `artsc-config --libs` -lGL -lGLU -lqt-mt -lXext -lX11 -lm -lpthread
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCGetSurfaceStatus'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateMacroBlocks'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateBlocks'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCompositeSubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroyBlocks'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateSurface'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroyMacroBlocks'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCHideSurface'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroyContext'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCSyncSurface'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCBlendSubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateContext'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCListSurfaceTypes'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCPutSurface'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCListSubpictureTypes'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCQueryVersion'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCSetAttribute'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCSetSubpicturePalette'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroySurface'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCSyncSubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCFlushSubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCBlendSubpicture2'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCFlushSurface'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateSubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCQueryExtension'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCClearSubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroySubpicture'
> > > > ../../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCRenderSurface'
> > > > collect2: ld returned 1 exit status
> > > > make[2]: *** [mythepg] Error 1
> > > > make[2]: Leaving directory
> > > > `/var/tmp/portage/mythtv-cvs-0.16/work/mythtv/programs/mythepg'
> > > > make[1]: *** [sub-mythepg] Error 2
> > > > make[1]: Leaving directory
> > > > `/var/tmp/portage/mythtv-cvs-0.16/work/mythtv/programs'
> > > > make: *** [sub-programs] Error 2
> > > > make: *** Waiting for unfinished jobs....
> > > > g++ -c -pipe `artsc-config --cflags` -Wall -W -O2 -march=pentium4
> > > > -fomit-frame-pointer -D_REENTRANT  -D_GNU_SOURCE
> > > > -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DMMX -DCONFIG_VIDEO4LINUX
> > > > -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_OPENGL_VSYNC
> > > > -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> > > > -I/usr/qt/3/mkspecs/linux-g++ -I. -I../libs/libmythtv -I../libs
> > > > -I../libs/libmyth -I/usr/include
> > > > -I/usr/src/linux-2.6.9/include/linux/dvb -I../libs/libmythtv/dvbdev
> > > > -I/usr/qt/3/include -o backendsettings.o backendsettings.cpp
> > > > g++ -Wl,-rpath,/usr/qt/3/lib -o setup main.o backendsettings.o
> > > > -L/usr/qt/3/lib -L/usr/X11R6/lib -L../libs/libmyth -L../libs/libmythtv
> > > > -L../libs/libavcodec -L../libs/libavformat -lmythtv-0.16
> > > > -lmythavformat-0.16 -lmythavcodec-0.16 -lmyth-0.16 -lfreetype
> > > > -lmp3lame -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm
> > > > `artsc-config --libs` -lGL -lGLU -lqt-mt -lXext -lX11 -lm -lpthread
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCGetSurfaceStatus'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateMacroBlocks'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCCreateBlocks'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCompositeSubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCDestroyBlocks'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCCreateSurface'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroyMacroBlocks'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCHideSurface'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCDestroyContext'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCSyncSurface'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCBlendSubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCCreateContext'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCListSurfaceTypes'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCPutSurface'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCListSubpictureTypes'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCQueryVersion'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCSetAttribute'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCSetSubpicturePalette'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCDestroySurface'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCSyncSubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCFlushSubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCBlendSubpicture2'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCFlushSurface'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCCreateSubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCQueryExtension'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCClearSubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to
> > > > `XvMCDestroySubpicture'
> > > > ../libs/libmythtv/libmythtv-0.16.so: undefined reference to `XvMCRenderSurface'
> > > > collect2: ld returned 1 exit status
> > > > make[1]: *** [setup] Error 1
> > > > make[1]: Leaving directory `/var/tmp/portage/mythtv-cvs-0.16/work/mythtv/setup'
> > > > make: *** [sub-setup] Error 2
> > > >
> > > > !!! ERROR: media-tv/mythtv-cvs-0.16 failed.
> > > > !!! Function src_compile, Line 179, Exitcode 2
> > > > !!! (no error message)
> > > > !!! If you need support, post the topmost build error, NOT this status message.
> > > >
> > > > =====================================
> > > >
> > > > Lots of  "undefined reference" messages the cause of the problem?
> > > > I also thought that XvMC support was mainly for nvidia cards, I don't
> > > > have a nvidia card in this machine and its not in my use variables, so
> > > > can I safely disable XvMC support and if so how?:
> > > >
> > > > =====================================
> > > >
> > > > bash-2.05b# ACCEPT_KEYWORDS=~x86 emerge -pv =mythtv-cvs
> > > >
> > > > These are the packages that I would merge, in order:
> > > >
> > > > Calculating dependencies ...done!
> > > > [ebuild   R   ] media-tv/mythtv-cvs-0.16  +X +alsa +arts -cle266
> > > > -debug -directfb +dvb -lcd +lirc +mmx -nls -nvidia +opengl +oss +xv 0
> > > > kB [1]
> > > >
> > > >
> > > > _______________________________________________
> > > > mythtv-dev mailing list
> > > > mythtv-dev at mythtv.org
> > > > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> > > >
> > > >
> > > >
> > >
> >
>


More information about the mythtv-dev mailing list