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

List:       koffice
Subject:    RE: Undefined references?
From:       David Faure <David.Faure () cramersystems ! com>
Date:       1999-10-27 7:56:29
[Download RAW message or body]

> Hi,
> 
> I just checked out qt2, koffice, kdelibs, kdesupport, kde-common and
> compiled and installed
> kdesupport, kdelibs and qt2. While compiling koffice (was 
> only possible after
> removing admin/ and linking in ../kde-common/admin instead) I
> encountered:
> 
> /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 -rpath
> /tools/kde/1.1.1-glibc/lib main.o ../lib/kofficeui/libkofficeui.la
> ../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 ?
If libkofficeui really has undefined refs, they probably don't.
If they do, it might simply be -lqt missing in example/Makefile.am ....

--
David Faure
faure@kde.org - KDE developer
david@mandrakesoft.com - Mandrake
david.faure@cramersystems.com - Cramer Systems

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

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