[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: Undefined references?
From: Dirk Foersterling <foerster () euklid ! cs ! uni-dortmund ! de>
Date: 1999-10-27 8:39:11
[Download RAW message or body]
David Faure wrote:
>
> > ../lib/kofficeui/.libs/libkofficeui.so: undefined reference to `QFrame
> virtual table'
> > ../lib/kofficeui/.libs/libkofficeui.so: undefined reference to
> `QWidget::styleChange(Qt::GUIStyle)'
> > ../lib/kofficeui/.libs/libkofficeui.so: undefined reference to
> `QFrame::QPaintDevice virtual table'
> > ../lib/kofficeui/.libs/libkofficeui.so: undefined reference to
> `QString::Data::deleteSelf(void)'
> > collect2: ld returned 1 exit status
> > make[2]: *** [example] Error 1
> > make[2]: Leaving directory
> > `/tmp_mnt/kant/export/home/kant-student/pg345/share/usr/kde/sr
> > c/koffice/example'
> >
> > I just wanted to tell you. I skipped example/ for now.
>
> You mean the other apps compile fine ?
No, I mean I skip example/ and let my slow machine continue
compiling. :-(
> If libkofficeui really has undefined refs, they probably don't.
Yes and no. I got the next error in KChart even now. But it seems, that
qt is not linked in, because libqt has the symbols:
00168470 T deleteSelf__11QStringData
00217810 T styleChange__7QWidgetR6QStyle
...
This gets executed:
/bin/sh ../libtool --silent --mode=link g++ -O2 -Wall -pedantic -W
-Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -Wno-long-long -s -o example
-L/home/student/pg345/share/usr/kde/lib
-L/home/student/pg345/share/usr/qt/lib
-L/tools/kde/1.1.1-glibc/lib -L/usr/X11R6/lib -rpath
/home/student/pg345/share/usr/kde/lib
-rpath /home/student/pg345/share/usr/qt/lib -rpath /usr/X11R6/lib main.o
../lib/kofficeui/libkofficeui.la
But, even if I add -lqt manually, I still get the "undefined
references".
--
Dirk Foersterling
PG345 BodyTalk
foerster@ls7.cs.uni-dortmund.de
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic