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

List:       koffice
Subject:    Re: problem compiling koffice
From:       Erik Severinghaus <erik () linux ! com>
Date:       1999-12-05 18:46:38
[Download RAW message or body]

David Faure wrote:

> On Sun, Dec 05, 1999 at 07:12:47AM -0800, meridian wrote:
> > This message was sent from Geocrawler.com by "meridian" <mridion@yahoo.com>
> > Be sure to reply to that address.
> >
> > Hi, I compiled qt-2.1-snapshot (i think is 1125)
> > and kdelibs 2.1 1203, and tried to compile koffice
> > with these. However it stops with these errors in
> > the kscripts dir...
> >
> > any help is apreciated
> >
> > /bin/sh ../../libtool --mode=link g++  -O2
> > -DNDEBUG -fno-exceptions -fno-rtti -fno-check-new
> > -Wall -pedantic -W -Wpointer-arith -Wmissing
> > -prototypes -Wwrite-strings -Wno-long-long -frtti
> > -L/usr/lib  -L/usr/X11R6/lib -o kscript  main.o
>   ^^^^^^^^^
> you probably have Qt 1.x installed there.
> Make sure to setup $QTDIR to point to Qt 2, and
> re-run configure.

This may have changed, but a couple months ago, when I tried setting QTDIR it
would configure, but would still link to Qt1.44 libs. My work around was to move
the Qt1.44 libs to a temporary dir where they couldn't be found by the compiler,
and move them back when finished.

> > ./libkscript.la
> > g++ -O2 -DNDEBUG -fno-exceptions -fno-rtti
> > -fno-check-new -Wall -pedantic -W -Wpointer-arith
> > -Wmissing-prototypes -Wwrite-strings -Wno-lo
> > ng-long -frtti -o .libs/kscript main.o -L/usr/lib
> > -L/usr/X11R6/lib ./.libs/libkscript.so -L/usr/lib
> > -L/usr/X11R6/lib /usr/lib/libkdecore.
> > so -lqt -lpng -lz -lm -lXext -lX11
> > /usr/lib/libDCOP.so -lSM -ldl /usr/lib/libkdeui.so
> > /usr/lib/libkdeui.so: undefined reference to
> > `QTextBrowser type_info function'
> >    <snip lots of undefinded references>
> > `QTabDialog::setCancelButton(QString const &)'
> > /usr/lib/libkdeui.so: undefined reference to
> > `QListView::QListView(QWidget *, char const *)'
> > collect2: ld returned 1 exit status
> > make: *** [kscript] Error 1
> >
> >
> >
> > Geocrawler.com - The Knowledge Archive
> >
>
> --
> David FAURE
> david@mandrakesoft.com, faure@kde.org
> http://home.clara.net/faure/
> KDE, Making The Future of Computing Available Today

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

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