[mythtv-users] Compile problems

Mark H mrhegstrom at gmail.com
Tue Jul 12 19:03:09 EDT 2005


I am compiling on default install Ubuntu 5.04 (kubuntu actually).   I
have installed the following via apt-get.   It is running going to run
as a remote frontend only and just for mythtv and to watch recordings.
 Nothing else mythtv related.

libxxf86vm-dev - X Video Mode selection library development files
libxxf86vm1 - X Video Mode selection library
libxxf86vm1-dbg - X Video Mode selection library (unstripped)
libqt3-dev - Qt development files
libqt3-mt-dev - Qt development files (Threaded)
libcppunit-dev - Unit Testing Library for C++
libguile-dev - Development headers and static library for libguile
libqte-mt3-dev - Qt/Embedded GUI (Threaded Version) development files
libqte2-dev - Qt/Embedded GUI development headers
libttf-dev - FreeType 1 development files (static library and headers)
libttf2 - FreeType 1, The FREE TrueType Font Engine, shared library files
freetype2 - Dummy package for transition to libttf2
Lame (compile/installed from source)

I untarred mythtv to /home/mark and did ./configure and then qmake
mythtv.pro.  When I do make it runs for a very long time and comes to
(about) mythepg and about the main.o.  (I can't see exactly because
the errors go by to quickly to catch).   After the errors go by I get
(snipit):
/../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to `QGDict::clear()'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to `typeinfo
for QDialog'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QButton::focusOutEvent(QFocusEvent*)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QComboBox::mouseReleaseEvent(QMouseEvent*)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QScrollView::contentsDragMoveEvent(QDragMoveEvent*)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to `QLineEdit::undo()'
../../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to
`QPainter::end()'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QScrollView::setMargins(int, int, int, int)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QString::toShort(bool*, int) const'
../../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to
`QPaintDevice::setX11Data(QPaintDeviceX11Data const*)'
../../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to
`QRegion::operator=(QRegion const&)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QTextEdit::setTextFormat(Qt::TextFormat)'
../../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to
`QWidget::windowActivationChange(bool)'
../../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to
`QDomDocument::QDomDocument[in-charge]()'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QTable::showColumn(int)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QTable::removeColumns(QMemArray<int> const&)'
../../libs/libmythtv/libmythtv-0.18.1.so: undefined reference to
`QGListIterator::~QGListIterator [not-in-charge]()'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QFrame::paintEvent(QPaintEvent*)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QComboBox::setAutoCompletion(bool)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to
`QComboBox::setEditText(QString const&)'
../../libs/libmyth/libmyth-0.18.1.so: undefined reference to `QPainter::save()'
collect2: ld returned 1 exit status
make[2]: *** [mythepg] Error 1
make[2]: Leaving directory `/home/mark/mythtv-0.18.1/programs/mythepg'
make[1]: *** [sub-mythepg] Error 2
make[1]: Leaving directory `/home/mark/mythtv-0.18.1/programs'
make: *** [sub-programs] Error 2

I got same errors on laptop (same ubuntu distro) but it was able to
compile after I installed libttf-dev (and related) programs.
Once again, Thanks in advance!
Mark


More information about the mythtv-users mailing list