[mythtv] Problem compiling svn stable branch

Daniel Kristjansson danielk at cuymedia.net
Thu Oct 20 13:23:11 UTC 2005


On Wed, 2005-10-19 at 19:45 +0100, Ben Edwards wrote:
> g++  -o mythepg main.o    -L/usr/share/qt3/lib -L../../libs/libmyth
> -L../../libs/libmythtv -L../../libs/libavcodec
> -L../../libs/libavformat -lmythtv-0.18.1 -lmythavformat-0.18.1
> -lmythavcodec-0.18.1 -lmyth-0.18.1 -lfreetype -lmp3lame -lasound
> -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm -lpthread
> ../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
> `ScreenSaverX11::ScreenSaverX11()'
> collect2: ld returned 1 exit status
> make[2]: *** [mythepg] Error 1
> make[2]: Leaving directory
> `/home/mythtv/build/mythtv/programs/mythepg'
> make[1]: *** [sub-mythepg] Error 2
> make[1]: Leaving directory `/home/mythtv/build/mythtv/programs'
> make: *** [sub-programs] Error 2
This is telling you that screensaver-x11.cpp wasn't compiled in
libmyth, but mythepg needs it. This probably indicates that
you ran ./configure after compiling libmyth, but did not do a
make clean. If not for some reason ./configure is not realising
that you are on a system with X11. MythTV looks for the libX11
library on line 1996 of ./configure, maybe it didn't find it
on your system?

-- Daniel



More information about the mythtv-dev mailing list