[mythtv-users] Compile problems - mythepg

Aaron Griffin aaronmgriffin at gmail.com
Mon Sep 13 13:23:07 EDT 2004


Ok, if you notice the lower one adds a define "-DUSING_XRANDR" or
"using XRANDR"... which is an extension to X... and if you were to
abbreviate XRANDR, what would you use?  XRR seems likely...
undefined reference to `XRRSetScreenConfig'
undefined reference to `XRRFreeScreenConfigInfo'
undefined reference to `XRRConfigSizes'
undefined reference to `XRRConfigCurrentConfiguration'
undefined reference to `XRRGetScreenInfo'

check you use flags and try to shut off the XRANDR extension or
something to that effect...  or if you're feeling quirky, recompile
your X libraries with this extension enabled, as that is the real
problem (the X libraries don't have any XRR functions in them or the
libraries with the XRR functions are in the wrong place and aren't
getting referenced)

I'm not sure on your setup, otherwise I could go farther.

On Mon, 13 Sep 2004 12:50:18 -0400, David Brieck Jr. <dbrieck at gmail.com> wrote:
> Rob, I'm sorry I've been responding directly to you, I didn't notice
> the to address was changed to your email. I do want to post to this
> topic to try to get more help.
> 
> As per Rob's suggestions I changed the ebuild so that it wouldn't use
> parallell compiling. I also attempted to use the old ebuild for the
> new version and that didn't work either.
> 
> This next part I did especially for the developers, I downloaded the
> source and compiled it on my own without using an ebuild. Surprise, it
> actually built. So I guess this is a problem with the ebuild.
> 
> For comparision, here is the section that it was failing on before, as
> it it built manually:
> 
> make[2]: Entering directory `/home/myth/mythtv-0.16/programs/mythepg'
> g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
> -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV
> -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I../../libs -I../../libs/libmyth
> -I/usr/local/include -I/usr/qt/3/include -o main.o main.cpp
> g++  -o mythepg main.o    -Wl,-rpath,/usr/qt/3/lib -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
> -lqt-mt -lXext -lX11 -lm -lpthread
> make[2]: Leaving directory `/home/myth/mythtv-0.16/programs/mythepg'
> 
> Here is the same section where it fails using the ebuild:
> make[2]: Entering directory
> `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/programs/mythepg'
> g++ -c -pipe `artsc-config --cflags` -Wall -W -O2 -march=athlon-xp
> -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\"
> -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS
> -DUSING_OPENGL_VSYNC -DUSING_XRANDR -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -I/usr/qt/3/mkspecs/linux-g++ -I. -I../../libs -I../../libs/libmyth
> -I/usr/include -I/usr/local/include -I/usr/qt/3/include -o main.o
> main.cpp
> g++  -o mythepg main.o    -Wl,-rpath,/usr/qt/3/lib -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/libmyth/libmyth-0.16.so: undefined reference to `XRRSetScreenConfig'
> ../../libs/libmyth/libmyth-0.16.so: undefined reference to
> `XRRFreeScreenConfigInfo'
> ../../libs/libmyth/libmyth-0.16.so: undefined reference to `XRRConfigSizes'
> ../../libs/libmyth/libmyth-0.16.so: undefined reference to
> `XRRConfigCurrentConfiguration'
> ../../libs/libmyth/libmyth-0.16.so: undefined reference to `XRRGetScreenInfo'
> collect2: ld returned 1 exit status
> make[2]: *** [mythepg] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/programs/mythepg'
> make[1]: *** [sub-mythepg] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/programs'
> make: *** [sub-programs] Error 2
> 
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
>


More information about the mythtv-users mailing list