[mythtv] error when crosscompiling mythtv-svn

Stephan Raue stephan.raue at gmx.net
Sun Apr 8 17:02:20 UTC 2007


Hi,

when i crosscompiling mythtv-svn-13203 i have follow error. What is 
wrong? How can i fix that? I dont have installed mythtv or mythtv-libs 
on Hostsystem or in the staging_dir.

Stephan

cd programs && qmake programs.pro -o Makefile
cd programs && make -j1 -f Makefile
make[2]: Entering directory 
`/media/disk/development/openelec.20070323/build/build_i686/mythtv/programs'
cd mythtv && qmake mythtv.pro -o Makefile
cd mythtv && make -j1 -f Makefile
make[3]: Entering directory 
`/media/disk/development/openelec.20070323/build/build_i686/mythtv/programs/mythtv'
/media/disk/development/openelec.20070323/build/staging_dir_i686/bin/i686-linux-uclibc-g++ 
-c -Os -pipe 
-I/media/disk/development/openelec.20070323/build/staging_dir_i686/include 
-I/media/disk/development/openelec.20070323/build/staging_dir_i686/usr/include 
-DQWS -march=pentium3 -fomit-frame-pointer -Wall -Wno-switch -O2 
-ffast-math -Wno-non-virtual-dtor -fomit-frame-pointer -D_REENTRANT  
-DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" 
-DLIBDIR=\"/usr/lib\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-I/media/disk/development/openelec.20070323/build/staging_dir_i686/usr/mkspecs/qws/linux-openelec-g++ 
-I. -I../../../../staging_dir_i686/include 
-I../../../../staging_dir_i686/usr/include -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../../../../staging_dir_i686/include 
-I/media/disk/development/openelec.20070323/build/staging_dir_i686/usr/include 
-o main.o main.cpp
/media/disk/development/openelec.20070323/build/staging_dir_i686/bin/i686-linux-uclibc-g++ 
-Wl,-rpath,/media/disk/development/openelec.20070323/build/staging_dir_i686/lib  
-Wl,-rpath,/media/disk/development/openelec.20070323/build/staging_dir_i686/usr/lib 
-o mythtv main.o    
-L/media/disk/development/openelec.20070323/build/staging_dir_i686/lib 
-L/media/disk/development/openelec.20070323/build/staging_dir_i686/usr/lib 
-L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil 
-L../../libs/libavcodec -L../../libs/libavformat 
-L../../libs/libmythfreemheg -L../../libs/libmythui 
-L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 
-lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 
-lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 
-lmythui-0.20 -lmp3lame -lqte-mt -lpthread
main.o: In function `run_priv_thread(void*)':
main.cpp:(.text+0x149): undefined reference to 
`QDateTime::currentDateTime()'
main.cpp:(.text+0x17c): undefined reference to `QString::QString(char 
const*)'
main.cpp:(.text+0x193): undefined reference to 
`QDateTime::toString(QString const&) const'
main.cpp:(.text+0x1c7): undefined reference to `QString::ascii() const'
main.cpp:(.text+0x205): undefined reference to `QMutex::lock()'
main.cpp:(.text+0x2af): undefined reference to `QMutex::unlock()'
main.cpp:(.text+0x2d9): undefined reference to 
`QDateTime::currentDateTime()'
main.cpp:(.text+0x311): undefined reference to `QString::QString(char 
const*)'
main.cpp:(.text+0x328): undefined reference to 
`QDateTime::toString(QString const&) const'
main.cpp:(.text+0x35c): undefined reference to `QString::ascii() const'
main.cpp:(.text+0x39a): undefined reference to `QMutex::lock()'
main.cpp:(.text+0x3ee): undefined reference to `QMutex::unlock()'
main.cpp:(.text+0x414): undefined reference to `QString::shared_null'
main.cpp:(.text+0x422): undefined reference to `QStringData::deleteSelf()'
main.cpp:(.text+0x438): undefined reference to 
`QDateTime::currentDateTime()'
main.cpp:(.text+0x46b): undefined reference to `QString::QString(char 
const*)'
main.cpp:(.text+0x482): undefined reference to 
`QDateTime::toString(QString const&) const'
main.cpp:(.text+0x4b6): undefined reference to `QString::ascii() const'
main.cpp:(.text+0x4f4): undefined reference to `QMutex::lock()'
main.cpp:(.text+0x59e): undefined reference to `QMutex::unlock()'
main.cpp:(.text+0x5b5): undefined reference to `QString::shared_null'
main.cpp:(.text+0x5c3): undefined reference to `QStringData::deleteSelf()'
main.cpp:(.text+0x5ce): undefined reference to `QString::shared_null'
main.cpp:(.text+0x5dc): undefined reference to `QStringData::deleteSelf()'
main.cpp:(.text+0x5e7): undefined reference to `QString::shared_null'
main.cpp:(.text+0x5f5): undefined reference to `QStringData::deleteSelf()'
main.cpp:(.text+0x864): undefined reference to `QString::shared_null'
main.cpp:(.text+0x86e): undefined reference to `QStringData::deleteSelf()'
main.o: In function `main':
main.cpp:(.text+0xbcb): undefined reference to `QString::null'
.
.
.
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QComboBox::mouseReleaseEvent(QMouseEvent*)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QScrollView::contentsDragMoveEvent(QDragMoveEvent*)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QLineEdit::undo()'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QPainter::end()'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QScrollView::setMargins(int, int, int, int)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QString::toShort(bool*, int) const'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QRegion::operator=(QRegion const&)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QTextEdit::setTextFormat(Qt::TextFormat)'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QGVector::QGVector()'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QWidget::windowActivationChange(bool)'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QDomDocument::QDomDocument()'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QTable::showColumn(int)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QDir::absPath() const'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QTable::removeColumns(QMemArray<int> const&)'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QGListIterator::~QGListIterator()'
../../libs/libmythtv/libmythtv-0.20.so: undefined reference to 
`QFrame::paintEvent(QPaintEvent*)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QComboBox::setAutoCompletion(bool)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QComboBox::setEditText(QString const&)'
../../libs/libmyth/libmyth-0.20.so: undefined reference to 
`QPainter::save()'
collect2: ld returned 1 exit status
make[3]: *** [mythtv] Fehler 1
make[3]: Leaving directory 
`/media/disk/development/openelec.20070323/build/build_i686/mythtv/programs/mythtv'
make[2]: *** [sub-mythtv] Fehler 2
make[2]: Leaving directory 
`/media/disk/development/openelec.20070323/build/build_i686/mythtv/programs'
make[1]: *** [sub-programs] Fehler 2
make[1]: Leaving directory 
`/media/disk/development/openelec.20070323/build/build_i686/mythtv'
make: *** 
[/media/disk/development/openelec.20070323/build/build_i686/mythtv/.compiled] 
Fehler 2


More information about the mythtv-dev mailing list