This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Compilation pb with 1.2rc2 on Mandriva 2006

Tags: None
(comma "," separated)
jmartin
Registered Member
Posts
6
Karma
0
I have the strange following errors. Any idea ?

.libs/searchplugin.o: In function `kt::SearchPlugin::~SearchPlugin()':
searchplugin.cpp:(.text+0x92): undefined reference to `KXMLGUIClient::~KXMLGUIClient()'
searchplugin.cpp:(.text+0xab): undefined reference to `KXMLGUIClient::~KXMLGUIClient()'
.libs/searchplugin.o: In function `kt::SearchPlugin::~SearchPlugin()':
searchplugin.cpp:(.text+0x102): undefined reference to `KXMLGUIClient::~KXMLGUIClient()'
searchplugin.cpp:(.text+0x123): undefined reference to `KXMLGUIClient::~KXMLGUIClient()'
.libs/searchplugin.o: In function `kt::SearchPlugin::staticMetaObject()':
searchplugin.cpp:(.text+0x196): undefined reference to `QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData const*, int, QM
etaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)'
searchplugin.cpp:(.text+0x1a8): undefined reference to `QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
.libs/searchplugin.o: In function `__tcf_0':
searchplugin.cpp:(.text+0x2eb): undefined reference to `QMetaObjectCleanUp::~QMetaObjectCleanUp()'
.libs/searchplugin.o: In function `__static_initialization_and_destruction_0(int, int)':
searchplugin.cpp:(.text+0x33e): undefined reference to `QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())'
.libs/searchplugin.o: In function `init_ktsearchplugin':
searchplugin.cpp:(.text+0x427): undefined reference to `KLibFactory::KLibFactory(QObject*, char const*)'
searchplugin.cpp:(.text+0x448): undefined reference to `QCString::QCString(char const*)'
searchplugin.cpp:(.text+0x498): undefined reference to `KLibFactory::~KLibFactory()'
.libs/searchplugin.o: In function `kt::SearchPlugin::SearchPlugin(QObject*, char const*, QStringList const&)':
searchplugin.cpp:(.text+0x4c7): undefined reference to `i18n(char const*)'
searchplugin.cpp:(.text+0x4dc): undefined reference to `QString::QString(char const*)'
searchplugin.cpp:(.text+0x4ee): undefined reference to `QString::QString(char const*)'
s

...
George
Moderator
Posts
5421
Karma
1

Thu Jan 19, 2006 6:06 pm
Can you post the complete output, just cd into plugins/search and do make.
jmartin
Registered Member
Posts
6
Karma
0

Thu Jan 19, 2006 6:38 pm
George wrote:Can you post the complete output, just cd into plugins/search and do make.

The output is 2671 lines long !!!
I can send you my email !
George
Moderator
Posts
5421
Karma
1

Thu Jan 19, 2006 6:46 pm
I think e-mail would be best.
Richard Neal
Registered Member
Posts
6
Karma
0

Works fine here

Fri Jan 20, 2006 11:05 am
Ive got Mandriva 2006 Power Pack here and 1.2rc2 compiled fine.

With mandriva you have to beware it doesnt install "ALL" the dev packages only the basic ones, so start up rpmdrake search on "kde" and "qt" and install the ones marked "dev" in the package name that look obvious.

This should fix things up.


Sometimes in this age of high technology the best tool is a rock.
George
Moderator
Posts
5421
Karma
1

Re: Works fine here

Fri Jan 20, 2006 5:43 pm
Richard Neal wrote:Ive got Mandriva 2006 Power Pack here and 1.2rc2 compiled fine.

With mandriva you have to beware it doesnt install "ALL" the dev packages only the basic ones, so start up rpmdrake search on "kde" and "qt" and install the ones marked "dev" in the package name that look obvious.

This should fix things up.


If those aren't installed the configure script should detect this and give an error message.
jmartin
Registered Member
Posts
6
Karma
0

Thu Feb 02, 2006 10:29 am
Do you found something ?
George
Moderator
Posts
5421
Karma
1

Thu Feb 02, 2006 5:54 pm
No, it is a really strange error, and it only happens with the plugins ...

Lets try something here, edit plugins/search/Makefile.am, look for the line which looks like this :

ktsearchplugin_la_LIBADD = $(LIB_KHTML) $(LIB_KPARTS) \
../../libktorrent/libktorrent.la


Change that into :

ktsearchplugin_la_LIBADD = $(LIB_KHTML) $(LIB_KPARTS) \
../../libktorrent/libktorrent.la -lqt-mt $(LIB_KIO)

Then do make again and hope for the best.
jmartin
Registered Member
Posts
6
Karma
0

Wed Mar 15, 2006 8:00 pm
Sorry, I have completly missed your message. Strangely, I have received a notification.

BTW, I have tryed what you said before with version 1.2 and I still have the same pb linking any plugins module.
George
Moderator
Posts
5421
Karma
1

Thu Mar 16, 2006 5:13 pm
jmartin wrote:Sorry, I have completly missed your message. Strangely, I have received a notification.

BTW, I have tryed what you said before with version 1.2 and I still have the same pb linking any plugins module.


That's strange, do you have all the development packages installed for KDE and Qt ?
jmartin
Registered Member
Posts
6
Karma
0

Thu Mar 16, 2006 6:10 pm
George wrote:
jmartin wrote:Sorry, I have completly missed your message. Strangely, I have received a notification.

BTW, I have tryed what you said before with version 1.2 and I still have the same pb linking any plugins module.


That's strange, do you have all the development packages installed for KDE and Qt ?

I thing so. configure do not say any thing.
Can you give me the list of kde and qt devel stuff ?
Knut
Registered Member
Posts
79
Karma
0

Thu Mar 16, 2006 7:55 pm
>Can you give me the list of kde and qt devel stuff ?

Run 'urpmi libkdebase4-devel' and it will ask to install it and all the necessary packages. If you are missing some you'll see it here.
jmartin
Registered Member
Posts
6
Karma
0

Thu Mar 16, 2006 9:53 pm
I have libkdebase4-devel installed so, this is not the missing one


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]