[mythtv-users] problem building from cvs

Eyal Lebedinsky eyal at eyal.emu.id.au
Thu Nov 25 23:44:40 UTC 2004


Donavan Stanley wrote:
> On Fri, 26 Nov 2004 00:36:50 +1100, Eyal Lebedinsky <eyal at eyal.emu.id.au> wrote:
> 
>>Donavan Stanley wrote:
>>
>>
>>
>>>On Thu, 25 Nov 2004 09:53:21 +1100, Eyal Lebedinsky <eyal at eyal.emu.id.au> wrote:
>>>
>>>
>>>>I wanted to see the state of cvs, wondering if any of the problems I have
>>>>are sorted out.
>>>
>>>
>>>This isn't an issue with CVS.  CVS builds fine, you just don't have a
>>>build envirment set up properly.
>>>
>>>
>>>
>>>>The build failed at the link stage with a zillion-and-one undefined errors
>>>>like the following. This is on Debian/testing. What package am I missing,
>>>>and why does it not detect it and tell me anyway?
>>>
>>>
>>>It looks like you're missing the Qt libraries.
>>
>>Yeah, well which one then? Here is what is installed, I cannot tell which
>>specific library/package is actually missing.
> 
> 
> 
> You should be told as part of the compile errors which library
> couldn't be found.

It does not say. I do notice that there is no '-lqt' in the failed
command, should it not be mentioned? Or maybe '-lqt-mt'? Maybe I
can just add it to settings.pro:

EXTRA_LIBS += -lqt-mt

This helps, but I still fail later. Notice that my added library is not
used in this makefile:

g++  -o mythtvosd main.o    -L/usr/share/qt3/lib -L/usr/X11R6/lib -lXext -lX11 -lm -lpthread
main.o(.text+0x62): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0x97): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0xd0): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0x2d3): In function `main':
: undefined reference to `QApplication::QApplication[in-charge](int&, char**, bool)'
main.o(.text+0x2db): In function `main':
: undefined reference to `QHostAddress::QHostAddress[in-charge]()'
main.o(.text+0x2f2): In function `main':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0x2fe): In function `main':
: undefined reference to `QHostAddress::setAddress(QString const&)'
main.o(.text+0x313): In function `main':
: undefined reference to `QString::shared_null'
main.o(.text+0x31d): In function `main':
: undefined reference to `QStringData::deleteSelf()'
main.o(.text+0x339): In function `main':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0x357): In function `main':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0x397): In function `main':
: undefined reference to `QString::QString[in-charge](char const*)'
main.o(.text+0x3b5): In function `main':
: undefined reference to `QString::QString[in-charge](char const*)'
[more errors trimmed]

I checked for any other possible libraries and installed all that I could find, I
now have:

ii  libqt1g                  1.45-1.1                 Shared Library used by applications linked with libqt.
ii  libqt2                   2.3.2-14                 Qt GUI Library (runtime version)
ii  libqt3-dev               3.3.3-7                  Qt development files
ii  libqt3-headers           3.3.3-7                  Qt3 header files
ii  libqt3c102               3.3.3-7                  Qt GUI Library, Version 3
ii  libqt3c102-ibase         3.3.3-7                  InterBase/FireBird database driver for Qt3
ii  libqt3c102-mt            3.3.3-7                  Qt GUI Library (Threaded runtime version), Version 3
ii  libqt3c102-mt-ibase      3.3.3-7                  InterBase/FireBird database driver for Qt3 (Threaded)
ii  libqt3c102-mt-mysql      3.3.3-7                  MySQL database driver for Qt3 (Threaded)
ii  libqt3c102-mt-odbc       3.3.3-7                  ODBC database driver for Qt3 (Threaded)
ii  libqt3c102-mt-psql       3.3.3-7                  PostgreSQL database driver for Qt3 (Threaded)
ii  libqt3c102-mt-sqlite     3.3.3-7                  SQLite database driver for Qt3 (Threaded)
ii  libqt3c102-mysql         3.3.3-7                  MySQL database driver for Qt3
ii  libqt3c102-odbc          3.3.3-7                  ODBC database driver for Qt3
ii  libqt3c102-psql          3.3.3-7                  PostgreSQL database driver for Qt3
ii  libqt3c102-sqlite        3.3.3-7                  SQLite database driver for Qt3

-- 
Eyal Lebedinsky (eyal at eyal.emu.id.au) <http://samba.org/eyal/>


More information about the mythtv-users mailing list