[Kwintv] Compile error with telex plugin

Michael Stucki mundaun at gmx.ch
Sat Mar 27 16:17:24 CET 2004


I am trying to compile the latest kdetv archive (released today) and have
(and ever had with all earlier version) one nasty compile error. See below
where I have added the full error message output.

When I configure with the --without-zvbi switch, everything runs fine, but
of course there'll be no teletext support.

My system is Debian Woody with KDE 3.2.0 and some backport packages.
I have installed libzvbi-dev 0.2.5-1 packaged by Christian Marillat.

Any ideas what's going wrong?

Thanks in advance
- michael

=== cut ===
make[6]: Entering directory `/home/michael/src/kdetv/kdetv-0.8rc1/kdetv/plugins/misc/telex'
/usr/share/qt3/bin/moc ./telex.h -o telex.moc
source='telex.cpp' object='telex.lo' libtool=yes \
depfile='.deps/telex.Plo' tmpdepfile='.deps/telex.TPlo' \
depmode=gcc /bin/sh ../../../../admin/depcomp \
/bin/sh ../../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./../../../libkdetv -I/usr/include/kde -I/usr/include/qt3 -I/usr/X11R6/include  -I/usr/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o telex.lo `test -f 'telex.cpp' || echo './'`telex.cpp
telex.cpp: In method `void Telex::Display::updateScale()':
telex.cpp:396: `XTransform' undeclared (first use this function)
telex.cpp:396: (Each undeclared identifier is reported only once
telex.cpp:396: for each function it appears in.)
telex.cpp:396: parse error before `='
telex.cpp:395: warning: unused variable `int h'
telex.cpp: At top level:
telex.cpp:405: `m_pixmap' was not declared in this scope
telex.cpp:406: `transform' was not declared in this scope
telex.cpp:406: ANSI C++ forbids declaration `XRenderSetPictureTransform' with no type
telex.cpp:406: initializer list being treated as compound expression
telex.cpp:407: parse error before `if'
telex.cpp:418: syntax error before `.'
telex.cpp:424: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `void _XDisplay::setTransparent(bool)':
telex.cpp:425: `m_transparent' undeclared (first use this function)
telex.cpp:426: implicit declaration of function `int updateMask(...)'
telex.cpp:427: `m_page' undeclared (first use this function)
telex.cpp:427: implicit declaration of function `int setPage(...)'
telex.cpp: At top level:
telex.cpp:431: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `void _XDisplay::updateMask()':
telex.cpp:432: `m_pixmap' undeclared (first use this function)
telex.cpp:433: implicit declaration of function `int width(...)'
telex.cpp:433: implicit declaration of function `int height(...)'
telex.cpp:433: implicit declaration of function `int setMask(...)'
telex.cpp:442: warning: cannot pass objects of type `QBitmap' through `...'
telex.cpp:445: `m_scaled' undeclared (first use this function)
telex.cpp:447: implicit declaration of function `int clearMask(...)'
telex.cpp: At top level:
telex.cpp:451: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `bool _XDisplay::eventFilter(QObject *, QEvent *)':
telex.cpp:453: implicit declaration of function `int resize(...)'
telex.cpp:457: implicit declaration of function `int mousePressEvent(...)'
telex.cpp:459: implicit declaration of function `int mouseReleaseEvent(...)'
telex.cpp:461: implicit declaration of function `int mouseMoveEvent(...)'
telex.cpp: At top level:
telex.cpp:468: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `bool _XDisplay::event(QEvent *)':
telex.cpp:471: implicit declaration of function `int parent(...)'
telex.cpp:471: no matching function for call to `QApplication::sendEvent (int, QEvent *&)'
/usr/include/qt3/qapplication.h:490: candidates are: static bool QApplication::sendEvent(QObject *, QEvent *)
telex.cpp:472: cannot call member function `QWidget::event(QEvent *)' without object
telex.cpp:473: warning: control reaches end of non-void function `_XDisplay::event(QEvent *)'
telex.cpp: At top level:
telex.cpp:476: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `void _XDisplay::resizeEvent(QResizeEvent *)':
telex.cpp:477: implicit declaration of function `int updateScale(...)'
telex.cpp:478: cannot call member function `QWidget::resizeEvent(QResizeEvent *)' without object
telex.cpp: At top level:
telex.cpp:482: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `void _XDisplay::paintEvent(QPaintEvent *)':
telex.cpp:488: implicit declaration of function `int x11RenderHandle(...)'
telex.cpp: At top level:
telex.cpp:500: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `void _XDisplay::mouseMoveEvent(QMouseEvent *)':
telex.cpp:501: implicit declaration of function `int isHidden(...)'
telex.cpp:503: `m_rows' undeclared (first use this function)
telex.cpp:503: `m_columns' undeclared (first use this function)
telex.cpp:506: `m_links' undeclared (first use this function)
telex.cpp:507: implicit declaration of function `int parentWidget(...)'
telex.cpp:507: base operand of `->' is not a pointer
telex.cpp:508: base operand of `->' is not a pointer
telex.cpp: At top level:
telex.cpp:512: invalid use of undefined type `struct _XDisplay'
/usr/include/qt3/qwindowdefs.h:140: forward declaration of `struct _XDisplay'
telex.cpp: In method `void _XDisplay::mousePressEvent(QMouseEvent *)':
telex.cpp:518: implicit declaration of function `int navigate(...)'
telex.cpp: At top level:
telex.cpp:520: parse error before `}'
make[6]: *** [telex.lo] Fehler 1
make[6]: Leaving directory `/home/michael/src/kdetv/kdetv-0.8rc1/kdetv/plugins/misc/telex'
=== cut ===



More information about the kwintv mailing list