[mythtv-users] Compile problems - mythepg

David Brieck Jr. dbrieck at gmail.com
Mon Sep 13 12:50:18 EDT 2004


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


More information about the mythtv-users mailing list