[mythtv] compiling current [as of 01/31 22.50 UTC] CVS version

Stefan Frank sfr+lists at 6913304088794.gnuu.de
Sat Feb 1 03:46:22 EST 2003


Hi,

after playing with Matt's debian package for a while, i tried
to build a debian package out of the CVS sources. But the linker
stops with this error :


    cc1plus: warning:   as it has already been specified as a non-system
    directory
    cc1plus: warning: changing search order for system directory
    "/usr/include"
    cc1plus: warning:   as it has already been specified as a non-system
    directory
    g++  -o mythepg main.o   -L/usr/share/qt/lib -L/usr/X11R6/lib
    -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec
    -L../../libs/libvbitext -lmythtv -lavcodec -lvbitext -lmyth-0.8
    -lXv -lXinerama -lmp3lame -lqt-mt -lXext -lX11 -lm -lpthread
     main.o(.text+0x7a): In function `main':
     : undefined reference to `QApplication::QApplication[in-charge](int&,
     char**)'
     main.o(.text+0xab): In function `main':
     : undefined reference to `QString::QString[in-charge](char const*)'
     main.o(.text+0xb0): In function `main':
     : undefined reference to `QSqlDatabase::defaultConnection'
     main.o(.text+0xc2): In function `main':
     : undefined reference to `QString::QString[in-charge](char const*)'
     main.o(.text+0xce): In function `main':

.
.
.

[ _many_ messages about undefined references, as above ]
.
.
.

    ../../libs/libmyth/libmyth-0.8.so: undefined reference to
    `QComboBox::setEditText(QString const&)'
    collect2: ld returned 1 exit status
    make[3]: *** [mythepg] Fehler 1
    make[3]: Leaving directory
    `/home/sfr/local_deb/mythtv/mythtv-0.8.cvs/programs/mythepg'
    make[2]: *** [sub-mythepg] Fehler 2
    make[2]: Leaving directory
    `/home/sfr/local_deb/mythtv/mythtv-0.8.cvs/programs'
    make[1]: *** [sub-programs] Fehler 2
    make[1]: Leaving directory `/home/sfr/local_deb/mythtv/mythtv-0.8.cvs'
    make: *** [build-arch-stamp] Fehler 2


I'm not a programmer (so shouldn't use CVS one could say :-) ) and 
I'm lost here. Anyone has an idea?


    Bye, Stefan

-- 
Everything should be built top-down, except the first time.


More information about the mythtv-dev mailing list