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

List:       kde-devel
Subject:    Build problem 3.5 BRANCH KDEGames
From:       James Richard Tyrer <tyrerj () acm ! org>
Date:       2005-10-07 18:44:15
Message-ID: 4346C1FF.6070409 () acm ! org
[Download RAW message or body]

 From the seriously weird department.

I update my SVN of KDEGames 3.5 BRANCH and it won't build -- happens 
every time when it gets to: "linking ./kfouleggs/kfouleggs":

/bin/sh ./libtool --silent --mode=link --tag=CXX /usr/local/bin/g++ 
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith 
-DNDEBUG -DNO_DEBUG -O2 -march=k6-3 -mtune=k6-3 -O2 -Wformat-security 
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpie -DQT_THREAD_SUPPORT 
-I/usr/local/ssl/include -I/usr/gnome2/include 
-I/usr/local/include/mysql -D_REENTRANT -pie -L/usr/kde3.5/lib 
-L/usr/local/qt-3.3.4/lib -L/usr/X11R6/lib -R /usr/kde3.5/lib -R 
/usr/kde3.5/lib -R /usr/local/qt-3.3.4/lib -R /usr/X11R6/lib -o 
./kfouleggs/kfouleggs ./libksirtet/common/libksirtetcommon.la 
./kfouleggs/piece.o ./kfouleggs/board.o ./kfouleggs/ai.o 
./kfouleggs/field.o ./kfouleggs/main.o ./kfouleggs/prefs.o
./kfouleggs/main.o(.text+0x20a): In function `FEFactory::FEFactory()':
: undefined reference to `CommonFactory::CommonFactory(MainData const&, 
BaseBoardInfo const&, CommonBoardInfo const&)'
./kfouleggs/main.o(.text+0x26a): In function `FEFactory::FEFactory()':
: undefined reference to `CommonFactory::CommonFactory(MainData const&, 
BaseBoardInfo const&, CommonBoardInfo const&)'
./kfouleggs/main.o(.text+0x365): In function `main':
: undefined reference to `CommonHighscores::CommonHighscores()'
./kfouleggs/main.o(.text+0x4e4): In function `main':
: undefined reference to `vtable for CommonFactory'
./kfouleggs/main.o(.gnu.linkonce.d._ZTV9FEFactory+0x18): undefined 
reference to `CommonFactory::createAppearanceConfig()'
./kfouleggs/main.o(.gnu.linkonce.d._ZTV9FEFactory+0x20): undefined 
reference to `CommonFactory::createGameConfig()'
./kfouleggs/main.o(.gnu.linkonce.d._ZTI9FEFactory+0x8): undefined 
reference to `typeinfo for CommonFactory'
./kfouleggs/main.o(.gnu.linkonce.t._ZN9FEFactoryD1Ev+0x14): In function 
`FEFactory::~FEFactory()':
: undefined reference to `vtable for CommonFactory'
./kfouleggs/main.o(.gnu.linkonce.t._ZN9FEFactoryD0Ev+0x12): In function 
`FEFactory::~FEFactory()':
: undefined reference to `vtable for CommonFactory'
./libksirtet/common/.libs/libksirtetcommon.a(field.o)(.text+0x1517): In 
function `Field::_initFlag(QDataStream&)':
: undefined reference to `operator>>(QDataStream&, ServerInitData&)'
./libksirtet/common/.libs/libksirtetcommon.a(field.o)(.text+0x163e): In 
function `Field::_playFlag(QDataStream&)':
: undefined reference to `operator>>(QDataStream&, ServerPlayData&)'
./libksirtet/common/.libs/libksirtetcommon.a(field.o)(.text+0x17d9): In 
function `Field::_dataOut(QDataStream&)':
: undefined reference to `operator<<(QDataStream&, ClientPlayData const&)'
./libksirtet/common/.libs/libksirtetcommon.a(inter.o)(.text+0x3ed): In 
function `Interface::_readPlayData()':
: undefined reference to `operator>>(QDataStream&, ClientPlayData&)'
./libksirtet/common/.libs/libksirtetcommon.a(inter.o)(.text+0x598): In 
function `Interface::_sendPlayData()':
: undefined reference to `operator<<(QDataStream&, ServerPlayData const&)'
./libksirtet/common/.libs/libksirtetcommon.a(inter.o)(.text+0x8b8): In 
function `Interface::_treatInit()':
: undefined reference to `operator<<(QDataStream&, ServerInitData const&)'
./libksirtet/common/.libs/libksirtetcommon.a(main.o)(.text+0x1fd): In 
function `MainWindow::addConfig(KConfigDialog*)':
: undefined reference to `CommonFactory::createAIConfig()'

If I then go to: libksirtet/common

and delete:

./.libs/libksirtetcommon.a
./.libs/libksirtetcommon.la
./libksirtetcommon.la

It builds OK.

Beats me.

-- 
JRT
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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