[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] Problem compiling kdenetwork/kopete
From:       Jure Repinc <jlp () holodeck1 ! com>
Date:       2005-08-29 9:09:08
Message-ID: 200508291109.09779.jlp () holodeck1 ! com
[Download RAW message or body]

When I try to compile kopete from kdenetwork 3.5 branch I get this error:

linking ./kopete/libkopete/avdevice/libkvideoio.la
/bin/sh ./libtool --silent --mode=link --tag=CXX g++ -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -g -O2 -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -DKDE_NO_COMPAT -DQT_NO_COMPAT -DQT_NO_CAST_ASCII 
-DQT_NO_ASCII_CAST -I/home/kdedev/src/kde/kdenetwork/kopete/libkopete 
-I./kopete/libkopete 
-I/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice 
-I/home/kdedev/src/kde/kdenetwork/kopete/libkopete/ui -I./kopete/libkopete/ui 
-I/home/kdedev/src/kde/kdenetwork/kopete/libkopete/private 
-I/home/kdedev/src/kde/kdenetwork/kopete/libkopete/ui 
-I/home/kdedev/kde-unstable/include -I/home/kdedev/src/kde/qt-copy/include 
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 
-no-undefined -L/home/kdedev/kde-unstable/lib 
-L/home/kdedev/src/kde/qt-copy/lib -L/usr/X11R6/lib -version-info 1:0:0 
-o ./kopete/libkopete/avdevice/libkvideoio.la 
-rpath /home/kdedev/kde-unstable/lib -Wl,--no-undefined 
-Wl,--allow-shlib-undefined -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE 
-lpthread -lkdecore -lGLU -lGL 
-lX11 ./kopete/libkopete/avdevice/kxv.lo ./kopete/libkopete/avdevice/qvideo.lo \
                ./kopete/libkopete/avdevice/qvideostream.lo
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function `QVideoStream':
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:130: 
undefined reference to `QGLFormat::hasOpenGL()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:130: 
undefined reference to `QGLFormat::hasOpenGL()'
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function 
`QVideoStreamGLWidget':
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:539: 
undefined reference to `QGLFormat::QGLFormat(int, int)'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:539: 
undefined reference to `QGLWidget::QGLWidget(QGLFormat const&, QWidget*, char 
const*, QGLWidget const*, unsigned int)'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:539: 
undefined reference to `QGLFormat::QGLFormat(int, int)'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:539: 
undefined reference to `QGLWidget::QGLWidget(QGLFormat const&, QWidget*, char 
const*, QGLWidget const*, unsigned int)'
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function 
`~QVideoStreamGLWidget':
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:555: 
undefined reference to `QGLWidget::makeCurrent()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:559: 
undefined reference to `QGLWidget::~QGLWidget()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:559: 
undefined reference to `QGLWidget::~QGLWidget()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:555: 
undefined reference to `QGLWidget::makeCurrent()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:559: 
undefined reference to `QGLWidget::~QGLWidget()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:559: 
undefined reference to `QGLWidget::~QGLWidget()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:555: 
undefined reference to `QGLWidget::makeCurrent()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:559: 
undefined reference to `QGLWidget::~QGLWidget()'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:559: 
undefined reference to `QGLWidget::~QGLWidget()'
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function 
`QVideoStreamGLWidget::initializeGL()':
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:584: 
undefined reference to `QGLWidget::isValid() const'
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function `doubleBuffer':
/home/kdedev/src/kde/qt-copy/include/qgl.h:400: undefined reference to 
`QGLFormat::testOption(QGL::FormatOption) const'
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function 
`QVideoStreamGLWidget::initializeGL()':
/home/kdedev/src/kde/qt-copy/include/qgl.h:405: undefined reference to 
`QGLFormat::testOption(QGL::FormatOption) const'
/home/kdedev/src/kde/qt-copy/include/qgl.h:410: undefined reference to 
`QGLFormat::testOption(QGL::FormatOption) const'
/home/kdedev/src/kde/qt-copy/include/qgl.h:415: undefined reference to 
`QGLFormat::testOption(QGL::FormatOption) const'
/home/kdedev/src/kde/qt-copy/include/qgl.h:420: undefined reference to 
`QGLFormat::testOption(QGL::FormatOption) const'
./kopete/libkopete/avdevice/.libs/qvideostream.o:/home/kdedev/src/kde/qt-copy/include/qgl.h:425: \
 more undefined references to `QGLFormat::testOption(QGL::FormatOption) const' 
follow
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function 
`QVideoStreamGLWidget::initializeGL()':
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:594: 
undefined reference to `QGLFormat::plane() const'
/home/kdedev/src/kde/kdenetwork/kopete/libkopete/avdevice/qvideostream.cpp:597: 
undefined reference to `QGLWidget::qglClearColor(QColor const&) const'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTI20QVideoStreamGLWidget[typeinfo for 
QVideoStreamGLWidget]+0x8): undefined reference to `typeinfo for QGLWidget'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0xc): undefined reference to `QGLWidget::className() 
const'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x10): undefined reference to `QGLWidget::qt_cast(char 
const*)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x14): undefined reference to 
`QGLWidget::qt_invoke(int, QUObject*)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x18): undefined reference to `QGLWidget::qt_emit(int, 
QUObject*)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1c): undefined reference to 
`QGLWidget::qt_property(int, int, QVariant*)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0xac): undefined reference to 
`QGLWidget::setMouseTracking(bool)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x108): undefined reference to 
`QGLWidget::reparent(QWidget*, unsigned int, QPoint const&, bool)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x148): undefined reference to 
`QGLWidget::paintEvent(QPaintEvent*)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x150): undefined reference to 
`QGLWidget::resizeEvent(QResizeEvent*)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1c0): undefined reference to 
`QGLWidget::makeCurrent()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1c4): undefined reference to 
`QGLWidget::swapBuffers()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1c8): undefined reference to 
`QGLWidget::setFormat(QGLFormat const&)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1cc): undefined reference to 
`QGLWidget::setContext(QGLContext*, QGLContext const*, bool)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1d0): undefined reference to 
`QGLWidget::renderPixmap(int, int, bool)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1d4): undefined reference to 
`QGLWidget::grabFrameBuffer(bool)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1d8): undefined reference to 
`QGLWidget::makeOverlayCurrent()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1dc): undefined reference to `QGLWidget::updateGL()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1e0): undefined reference to 
`QGLWidget::updateOverlayGL()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1ec): undefined reference to `QGLWidget::paintGL()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1f0): undefined reference to 
`QGLWidget::initializeOverlayGL()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1f4): undefined reference to 
`QGLWidget::resizeOverlayGL(int, int)'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1f8): undefined reference to 
`QGLWidget::paintOverlayGL()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x1fc): undefined reference to `QGLWidget::glInit()'
./kopete/libkopete/avdevice/.libs/qvideostream.o:
(.gnu.linkonce.d._ZTV20QVideoStreamGLWidget[vtable for 
QVideoStreamGLWidget]+0x200): undefined reference to `QGLWidget::glDraw()'
./kopete/libkopete/avdevice/.libs/qvideostream.o: In function 
`QGLWidget::metaObject() const':
/home/kdedev/src/kde/qt-copy/include/qgl.h:274: undefined reference to 
`QGLWidget::staticMetaObject()'
collect2: ld returned 1 exit status
Error creating ./kopete/libkopete/avdevice/libkvideoio.la. Exit status 1.
cd /home/kdedev/src/kde/kdenetwork 
&& /bin/sh /home/kdedev/src/kde/kdenetwork/admin/missing --run autoheader
rm -f ./stamp-h1
touch /home/kdedev/src/kde/kdenetwork/config.h.in
cd . && /bin/sh ./config.status config.h
/home/kdedev/src/kde/qt-copy/bin/moc \
/home/kdedev/src/kde/kdenetwork/kopete/protocols/jabber/libiris/iris/jabber/s5b.h 
> s5b.moc
/home/kdedev/src/kde/qt-copy/bin/moc \
/home/kdedev/src/kde/kdenetwork/kopete/protocols/jabber/libiris/iris/jabber/s5b.cpp 
> > s5b.moc
/home/kdedev/src/kde/qt-copy/bin/moc \
/home/kdedev/src/kde/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-core/securestream.h \

> securestream.moc
/home/kdedev/src/kde/qt-copy/bin/moc \
/home/kdedev/src/kde/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-core/securestream.cpp \

> > securestream.moc
/home/kdedev/src/kde/qt-copy/bin/moc -o 
types.moc /home/kdedev/src/kde/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im/../xmpp-im/types.cpp
 echo '#include "kdemacros.h"' > dummy.cpp
echo 'extern "C" KDE_EXPORT void *init_libkopete_msn_shared();' >> dummy.cpp
echo 'extern "C" KDE_EXPORT void *init_kopete_msn() { return 
init_libkopete_msn_shared(); }' >> dummy.cpp

-- 
JLP's Blog - http://jrepin.blogspot.com/
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic