Hello,<br><br>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. <br>The system have an inactive standard Ubuntu MythTV installation.<br>When compiling I get errors.<br>
<br>Do you know how to solve this?<br><br><br># ./configure --prefix=/usr/local/mythtv-0-23<br>./configure: 3782: pkg-config: not found<br># Basic Settings<br>Compile type release<br>Compiler cache no<br>
DistCC no<br>qmake /usr/bin/qmake<br>install prefix /usr/local/mythtv-0-23<br>runtime prefix /usr/local/mythtv-0-23<br>CPU x86 x86_64 (model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+)<br>
big-endian no<br>runtime cpu detection no<br>yasm no<br>MMX enabled yes<br>MMX2 enabled yes<br>3DNow! enabled yes<br>3DNow! extended enabled yes<br>
SSE enabled yes<br>SSSE3 enabled yes<br>CMOV enabled yes<br><br># Input Support<br>Joystick menu yes<br>lirc support yes<br>Video4Linux sup. yes<br>
ivtv support yes<br>HD-PVR support yes<br>FireWire support no<br>DVB support yes [/usr/include]<br>DVB-S2 support yes<br>HDHomeRun support yes<br>IPTV support yes<br>
<br># Sound Output Support<br>PulseAudio support no<br>OSS support yes<br>ALSA support no<br>JACK support no<br>libfftw3 support no<br><br># Video Output Support<br>
x11 support yes<br>xrandr support no<br>xv support no<br>XvMC support no<br>XvMC VLD support no<br>XvMC pro support no<br>VDPAU support no<br>
OpenGL video yes<br>OpenGL vsync yes<br>DirectFB no<br>Fribidi formatting no<br>MHEG support yes<br><br># Misc Features<br>multi threaded libavcodec yes<br>Frontend yes<br>
Backend yes<br><br># Bindings<br>bindings_perl yes<br>bindings_python yes<br><br>Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak<br><br>libs/libmythdb/mythconfig.h is unchanged<br>
libs/libavutil/avconfig.h is unchanged<br># <br><br># make<br><br><br>=======================================================<br>...<br>make[2]: Entering directory `/usr/src/mythtv-0-23/mythtv/programs/mythavtest'<br>
/usr/bin/qmake -unix QMAKE=/usr/bin/qmake -o Makefile <a href="http://mythavtest.pro">mythavtest.pro</a><br>make[2]: Leaving directory `/usr/src/mythtv-0-23/mythtv/programs/mythavtest'<br>make[2]: Entering directory `/usr/src/mythtv-0-23/mythtv/programs/mythavtest'<br>
sh "/usr/src/mythtv-0-23/mythtv/version.sh" "/usr/src/mythtv-0-23/mythtv" ": <a href="http://svn.mythtv.org/svn/branches/release-0-23-fixes/mythtv/version.pro">http://svn.mythtv.org/svn/branches/release-0-23-fixes/mythtv/version.pro</a> "<br>
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<br>
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<br>
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 <br>
../../libs/libmythui/<a href="http://libmythui-0.23.1.so">libmythui-0.23.1.so</a>: undefined reference to `DisplayResX::DisplayResX()'<br>collect2: ld returned 1 exit status<br>make[2]: *** [mythavtest] Error 1<br>make[2]: Leaving directory `/usr/src/mythtv-0-23/mythtv/programs/mythavtest'<br>
make[1]: *** [sub-mythavtest-make_default] Error 2<br>make[1]: Leaving directory `/usr/src/mythtv-0-23/mythtv/programs'<br>make: *** [sub-programs-make_default-ordered] Error 2<br>root@frodo:/usr/src/mythtv-0-23/mythtv# ^C<br>
<br>=======================================================<br clear="all"><br>-- <br>Regards<br>Joacim<br>