[mythtv-users] Compilation error at mythavtest

Joacim J jocke4news at gmail.com
Sat Oct 23 10:58:32 UTC 2010


Hello,

Since I have upgraded the Ubuntu Server to 10.04 LTS I want to recompile
Mythtv (backend). I also updated the source from 0.23-fixes.
The system have an inactive standard Ubuntu MythTV installation.
When compiling I get errors.

Do you know how to solve this?


# ./configure  --prefix=/usr/local/mythtv-0-23
./configure: 3782: pkg-config: not found
# Basic Settings
Compile type              release
Compiler cache            no
DistCC                    no
qmake                     /usr/bin/qmake
install prefix            /usr/local/mythtv-0-23
runtime prefix            /usr/local/mythtv-0-23
CPU                       x86 x86_64 (model name    : AMD Athlon(tm) 64 X2
Dual Core Processor 3800+)
big-endian                no
runtime cpu detection     no
yasm                      no
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              yes

# Input Support
Joystick menu             yes
lirc support              yes
Video4Linux sup.          yes
ivtv support              yes
HD-PVR support            yes
FireWire support          no
DVB support               yes [/usr/include]
DVB-S2 support            yes
HDHomeRun support         yes
IPTV support              yes

# Sound Output Support
PulseAudio support        no
OSS support               yes
ALSA support              no
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            no
xv support                no
XvMC support              no
XvMC VLD support          no
XvMC pro support          no
VDPAU support             no
OpenGL video              yes
OpenGL vsync              yes
DirectFB                  no
Fribidi formatting        no
MHEG support              yes

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

libs/libmythdb/mythconfig.h is unchanged
libs/libavutil/avconfig.h is unchanged
#

# make


=======================================================
...
make[2]: Entering directory
`/usr/src/mythtv-0-23/mythtv/programs/mythavtest'
/usr/bin/qmake -unix QMAKE=/usr/bin/qmake -o Makefile mythavtest.pro
make[2]: Leaving directory `/usr/src/mythtv-0-23/mythtv/programs/mythavtest'
make[2]: Entering directory
`/usr/src/mythtv-0-23/mythtv/programs/mythavtest'
sh "/usr/src/mythtv-0-23/mythtv/version.sh" "/usr/src/mythtv-0-23/mythtv" ":
http://svn.mythtv.org/svn/branches/release-0-23-fixes/mythtv/version.pro "
g++ -c -pipe -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D_REENTRANT -DMMX -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSING_X11 -DUSING_IVTV -DUSING_OPENGL_VSYNC
-DUSING_OPENGL_VIDEO -DUSING_OSS -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml
-I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include
-I/usr/local/mythtv-0-23 -I../.. -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../../libs/libavutil -I../../libs/libavformat
-I../../libs/libavcodec -I../../libs/libmythupnp -I../../libs/libmythui
-I../../libs/libmythlivemedia -I../../libs/libmythdb
-I../../libmythhdhomerun -I../../libs/libmythdvdnav -I/usr/X11R6/include -I.
-o version.o version.cpp
g++ -c -pipe -fomit-frame-pointer -O3 -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D_REENTRANT -DMMX -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DUSING_X11 -DUSING_IVTV -DUSING_OPENGL_VSYNC
-DUSING_OPENGL_VIDEO -DUSING_OSS -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
-DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml
-I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include
-I/usr/local/mythtv-0-23 -I../.. -I../../libs -I../../libs/libmyth
-I../../libs/libmythtv -I../../libs/libavutil -I../../libs/libavformat
-I../../libs/libavcodec -I../../libs/libmythupnp -I../../libs/libmythui
-I../../libs/libmythlivemedia -I../../libs/libmythdb
-I../../libmythhdhomerun -I../../libs/libmythdvdnav -I/usr/X11R6/include -I.
-o main.o main.cpp
g++ -Wl,-O1 -o mythavtest version.o main.o    -L/usr/lib
-L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil
-L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libswscale
-L../../libs/libmythdb -L../../libs/libmythui -L../../libs/libmythupnp
-lmythtv-0.23.1 -lmythavformat-0.23.1 -lmythavutil-0.23.1
-lmythavcodec-0.23.1 -lmythswscale-0.23.1 -lmythupnp-0.23.1 -lmythdb-0.23.1
-lmythui-0.23.1 -lmyth-0.23.1 -L../../libs/libmythlivemedia
-lmythlivemedia-0.23.1 -L../../libs/libmythfreemheg -lmythfreemheg-0.23.1
-L../../libs/libmythhdhomerun -lmythhdhomerun-0.23.1 -ldl -lfreetype -lz
-L/usr/X11R6/lib -lXinerama -lX11 -lXext -lXxf86vm
-L/usr/local/mythtv-0-23/lib -lpthread -lGLU -lGL -lQtSql -lQtXml -lQtOpenGL
-lQtGui -lQtNetwork -lQtCore
../../libs/libmythui/libmythui-0.23.1.so: undefined reference to
`DisplayResX::DisplayResX()'
collect2: ld returned 1 exit status
make[2]: *** [mythavtest] Error 1
make[2]: Leaving directory `/usr/src/mythtv-0-23/mythtv/programs/mythavtest'
make[1]: *** [sub-mythavtest-make_default] Error 2
make[1]: Leaving directory `/usr/src/mythtv-0-23/mythtv/programs'
make: *** [sub-programs-make_default-ordered] Error 2
root at frodo:/usr/src/mythtv-0-23/mythtv# ^C

=======================================================

-- 
Regards
Joacim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101023/1d6c1881/attachment.htm>


More information about the mythtv-users mailing list