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

List:       kde-devel
Subject:    SOLVED: Unresolved loader symbols in kate/kwrite ...
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2001-05-30 13:37:14
[Download RAW message or body]


The problem was (once again) a name clash in shared libraries:

kdebase/kate/interfaces creates a library called libkate.la which gets
installed as libkate.so under my system.

kdebase/kate/main creates a library called kate.la which also gets
installed as libkate.so under my system and the interfaces library
above is lost.

The solution is to rename kate.la to katemain.la in the Makefile.am
in kdebase/kate/main.

Now for the bothering part: I've already changed this file
(kate/main/Makefile.am) twice before where I've renamed kate.la to
katemain.la due to the same reasons and I've committed my changes to CVS.
Apparently my changes were always overwritten by someone !!! Please avoid
this.

Thanks // Tom
-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology,
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://www.radar.tugraz.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

---------- Forwarded message ----------
Date: Tue, 29 May 2001 08:18:15 +0200 (MET DST)
From: Thomas Leitner <tom@radar.tu-graz.ac.at>
To: KDE Developers <kde-devel@kde.org>
Subject: ADDENDUM: Unresolved loader symbols in kate/kwrite ... (fwd)


I did'nt get any reactions to my posting yesterday (see below) so I'm
adding some more information:

This is what I get for libkatecore.so:

csh> nm libkatecore.so | grep -i ViewManager | more
Kate::ViewManager::ViewManager(QWidget*) | 0000000000000000 | U | 0000000000000008
Kate::ViewManager::className(void) const  | 0000000000000000 | U |0000000000000008
Kate::ViewManager::staticMetaObject(void) | 0000000000000000 | U |0000000000000008
Kate::ViewManager::~ViewManager(void) | 0000000000000000 | U | 0000000000000008
KateApp::getViewManager(void)    | 0004396972563964 | T | 0000000000000008
KateFileList::KateFileList(KateDocManager*, KateViewManager*, QWidget*, const char*) \
| 0004396972676920 | T | 0000000000000008 KateMainWindow::getViewManager(void) | \
0004396972625268 | T | 0000000000000008 KateViewManager::KateViewManager(QWidget*, \
KateDocManager*) | 0004396972354780 | T | 0000000000000008

So apparently Kate::ViewManager::ViewManager is really undefined in
libkatecore.so. The question is: Should it be defined there or somewhere
else?

May I ask someone running Linux to check his libkatecore.so if
Kate::ViewManager::ViewManager is defined there or somewhere else? This
would give me a hint where to continue looking.

Thanks // Tom

---------- Forwarded message ----------
Date: Mon, 28 May 2001 21:23:25 +0200 (MET DST)
From: Thomas Leitner <tom@radar.tu-graz.ac.at>
To: KDE Developers <kde-devel@kde.org>
Subject: Unresolved loader symbols in kate/kwrite ...


Hi,

Today, I wanted to debug my kate/kwrite problem (it crashes right after
startup under Tru64 unix) and took a fresh CVS checkout and compiled in
debugging mode. Now I get this when trying to run either kate or kwrite:

csh> kwrite
11068:/usr/local/kde22/bin/kwrite: /sbin/loader: Error: Unresolved symbol
  in /usr/local/kde22/lib/libkatecore.so: __dt__Q14Kate11ViewManagerXv
11068:/usr/local/kde22/bin/kwrite: /sbin/loader: Error: Unresolved symbol
  in /usr/local/kde22/lib/libkatecore.so: __ct__Q14Kate11ViewManagerXP7QWidget
11068:/usr/local/kde22/bin/kwrite: /sbin/loader: Fatal Error: this executable
  has unresolvable symbols

It looks as if Kate::ViewManager() as well as Kate::ViewManager(QWidget)
cannot be resolved. Any ideas anyone?

Thanks // Tom
-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology,
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://www.radar.tugraz.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!




 
> > Visit http://master.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