Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems compiling anything KDE related
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Cobra
n00b
n00b


Joined: 16 Sep 2003
Posts: 21
Location: Poland

PostPosted: Fri Sep 14, 2007 9:24 pm    Post subject: Problems compiling anything KDE related Reply with quote

Hi,

I've been trying to compile kdesktop but it fails with 3 MB of "unresolved reference" messages:

Code:

make[4]: Wejście do katalogu `/var/tmp/paludis/kde-base/kdelibs-3.5.7-r3/work/kdelibs-3.5.7/kdecore'
/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-al
ign -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -W
no-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_TRANSL
ATION     -o libkdecore.la -rpath /usr/kde/3.5/lib -L/usr/qt/3/lib -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib    -version-info 6:0:
2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined fakes.lo vsnprintf.lo libkdecore_la.all_cpp.lo  malloc/libklmalloc.la network/libk
decorenetwork.la svgicons/libkdesvgicons.la ../dcop/libDCOP.la ../libltdl/libltdlc.la -lXext -lresolv -lutil -L/usr/lib -lart_lgpl_2 -lm -lidn ..
/kdefx/libkdefx.la
.libs/libkdecore_la.all_cpp.o: In function `KApplication::userTimestamp() const':
libkdecore_la.all_cpp.cpp:(.text+0xbe): undefined reference to `qt_x_user_time'
.libs/libkdecore_la.all_cpp.o: In function `KStdAccel::ShortcutList::save() const':
libkdecore_la.all_cpp.cpp:(.text+0x3327): undefined reference to `QString::null'
.libs/libkdecore_la.all_cpp.o: In function `KXMessages::qt_invoke(int, QUObject*)':
libkdecore_la.all_cpp.cpp:(.text+0x7347): undefined reference to `QWidget::qt_invoke(int, QUObject*)'
.libs/libkdecore_la.all_cpp.o: In function `KGlobalAccelPrivate::qt_emit(int, QUObject*)':
libkdecore_la.all_cpp.cpp:(.text+0x7387): undefined reference to `QWidget::qt_emit(int, QUObject*)'
.libs/libkdecore_la.all_cpp.o: In function `KXMessages::qt_property(int, int, QVariant*)':
libkdecore_la.all_cpp.cpp:(.text+0x73ce): undefined reference to `QWidget::qt_property(int, int, QVariant*)'
.libs/libkdecore_la.all_cpp.o: In function `KGlobalAccelPrivate::qt_property(int, int, QVariant*)':
libkdecore_la.all_cpp.cpp:(.text+0x740e): undefined reference to `QWidget::qt_property(int, int, QVariant*)'
.libs/libkdecore_la.all_cpp.o: In function `KStartupInfoId::~KStartupInfoId()':
libkdecore_la.all_cpp.cpp:(.text+0x7f64): undefined reference to `QCString::~QCString()'
.libs/libkdecore_la.all_cpp.o: In function `KXMessages::~KXMessages()':
libkdecore_la.all_cpp.cpp:(.text+0x81c9): undefined reference to `QCString::~QCString()'
libkdecore_la.all_cpp.cpp:(.text+0x81ea): undefined reference to `QCString::~QCString()'
libkdecore_la.all_cpp.cpp:(.text+0x81f5): undefined reference to `QWidget::~QWidget()'
.libs/libkdecore_la.all_cpp.o: In function `KClipboardSynchronizer::~KClipboardSynchronizer()':
libkdecore_la.all_cpp.cpp:(.text+0x8248): undefined reference to `QObject::~QObject()'
.libs/libkdecore_la.all_cpp.o: In function `KClipboardSynchronizer::~KClipboardSynchronizer()':
libkdecore_la.all_cpp.cpp:(.text+0x8293): undefined reference to `QObject::~QObject()'
.libs/libkdecore_la.all_cpp.o: In function `KClipboardSynchronizer::~KClipboardSynchronizer()':
libkdecore_la.all_cpp.cpp:(.text+0x82d3): undefined reference to `QObject::~QObject()'


etc...

I have qt-3.3.8-r3 installed and I'm using Paludis. Do you have any ideas what might be wrong ? I've never had any problems like these...
Back to top
View user's profile Send private message
pussi
l33t
l33t


Joined: 08 May 2004
Posts: 727
Location: Finland

PostPosted: Fri Sep 14, 2007 9:37 pm    Post subject: Reply with quote

have you tried reinstalling qt?
Back to top
View user's profile Send private message
Cobra
n00b
n00b


Joined: 16 Sep 2003
Posts: 21
Location: Poland

PostPosted: Fri Sep 14, 2007 9:43 pm    Post subject: Reply with quote

It was the first thing I tried... I also tried remerging automake-wrapper and autoconf-wrapper as someone suggested...
Back to top
View user's profile Send private message
IvanMajhen
Guru
Guru


Joined: 10 Jun 2006
Posts: 392
Location: Croatia

PostPosted: Fri Sep 14, 2007 9:54 pm    Post subject: Reply with quote

Sync portage. It was problem with libtool.eclass
Back to top
View user's profile Send private message
Cobra
n00b
n00b


Joined: 16 Sep 2003
Posts: 21
Location: Poland

PostPosted: Fri Sep 14, 2007 10:03 pm    Post subject: Reply with quote

Ok, I'll try... Should I remerge anything after syncing ?
Back to top
View user's profile Send private message
Cobra
n00b
n00b


Joined: 16 Sep 2003
Posts: 21
Location: Poland

PostPosted: Fri Sep 14, 2007 10:23 pm    Post subject: Reply with quote

Well it really did help... Thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum