KGame not working ?

cantabile cantabile.03 at wanadoo.fr
Sun Aug 17 23:43:21 BST 2003


Thanks, Amit

Here's Make output (configure went ok) : 

/bin/sh ../libtool --silent --mode=link --tag=CXX g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common   
-o kgametest -R /usr/lib -R /usr/lib/qt-3.1/lib -R /usr/X11R6/lib
-L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/lib  main.o kgametest.o
kgtview.o kgtdoc.o -lkdeui
kgtdoc.o(.text+0x14): In function
`KGTDoc::KGTDoc[not-in-charge](QWidget*, char const*)':
: undefined reference to `KGame::KGame[not-in-charge](int, QObject*)'
kgtdoc.o(.text+0x3c): In function `KGTDoc::KGTDoc[in-charge](QWidget*,
char const*)':
: undefined reference to `KGame::KGame[not-in-charge](int, QObject*)'
kgtdoc.o(.text+0x61): In function `KGTDoc::~KGTDoc [not-in-charge]()':
: undefined reference to `KGame::~KGame [not-in-charge]()'
kgtdoc.o(.text+0x7d): In function `KGTDoc::~KGTDoc [in-charge]()':
: undefined reference to `KGame::~KGame [not-in-charge]()'
kgtdoc.o(.text+0x9a): In function `KGTDoc::~KGTDoc [in-charge
deleting]()':
: undefined reference to `KGame::~KGame [not-in-charge]()'
kgtdoc.o(.text+0x151): In function `KGTDoc::staticMetaObject()':
: undefined reference to `KGame::staticMetaObject()'
kgtdoc.o(.text+0x200): In function `KGTDoc::qt_invoke(int, QUObject*)':
: undefined reference to `KGame::qt_invoke(int, QUObject*)'
kgtdoc.o(.text+0x21c): In function `KGTDoc::qt_emit(int, QUObject*)':
: undefined reference to `KGame::qt_emit(int, QUObject*)'
kgtdoc.o(.text+0x23b): In function `KGTDoc::qt_property(int, int,
QVariant*)':
: undefined reference to `KGame::qt_property(int, int, QVariant*)'
kgtdoc.o(.text+0x1d5): In function `KGTDoc::qt_cast(char const*)':
: undefined reference to `KGame::qt_cast(char const*)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x5c): undefined reference to
`KGame::Debug()'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x60): undefined reference to
`KGame::networkTransmission(QDataStream&, int, unsigned, unsigned,
unsigned)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x64): undefined reference to
`KGameNetwork::lock()'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x68): undefined reference to
`KGameNetwork::unlock()'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x6c): undefined reference to
`KGame::nextPlayer(KPlayer*, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x70): undefined reference to
`KGame::sendPlayerInput(QDataStream&, KPlayer*, unsigned)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x74): undefined reference to
`KGame::systemPlayerInput(QDataStream&, KPlayer*, unsigned)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x78): undefined reference to
`KGame::createPlayer(int, int, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x7c): undefined reference to
`KGame::load(QDataStream&, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x80): undefined reference to
`KGame::load(QString, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x84): undefined reference to
`KGame::save(QDataStream&, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x88): undefined reference to
`KGame::save(QString, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x8c): undefined reference to
`KGame::reset()'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x90): undefined reference to
`KGame::prepareNext()'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0x9c): undefined reference to
`KGame::negotiateNetworkGame(unsigned)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0xa0): undefined reference to
`KGame::checkGameOver(KPlayer*)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0xa4): undefined reference to
`KGame::loadgame(QDataStream&, bool, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTV6KGTDoc+0xa8): undefined reference to
`KGame::savegame(QDataStream&, bool, bool)'
kgtdoc.o(.gnu.linkonce.d._ZTI6KGTDoc+0x8): undefined reference to
`typeinfo for KGame'
collect2: ld returned 1 exit status
make: *** [kgametest] Erreur 1



-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list