Subject: Re: netbsd-1.3K: KDE-1.1 compile probs
To: Berndt Josef Wulf <wulf@ping.net.au>
From: Timothy Coltman <tim@auroral.freeserve.co.uk>
List: tech-pkg
Date: 04/03/1999 13:08:04
On Fri 02 Apr, Berndt Josef Wulf wrote:
> Hubert Feyrer wrote
> > 
> > On Fri, 2 Apr 1999, Berndt Josef Wulf wrote:
> > > It is during configuration of kdebase-1.1 that things start to break.
> > > Find below the output of the failing test initiated by configure:
> > > 
> > > hotdog# /bin/sh ./libtool --silent --mode=link g++ -o conftest -O2
> > > -I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R6/include/qt
> > > -I/usr/X11R6/include -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib
> > > -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> > > -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -rpath
> > > /usr/X11R6/lib -rpath /usr/X11R6/lib
> > > hotdog# ./conftest 
> > > /usr/libexec/ld.so: Undefined symbol "___ti6QGDict" in
> > > conftest:/usr/X11R6/lib/libkdecore.so.2.0
> > > 
> > > Has anyone seen this before? I am at a blank and cant resolve this
> > > problem at the moment.
> > 
> > I've just tried a "make" in kdelibs, and it worked for me. 
> > Hum... what's your compiler? (gcc -v)
> 
> Hello Hubert,
> 
> gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
> 
> I've only recently upgraded to NetBSD-1.3K which has seen gcc-2.8.x
> change to egcs-1.1.1 which may be the cause to my problem.
> 
> Naturally, the previous version of KDE was uninstalled and with it
> some of the tools needed to compile this package. 
> 
> cheerio Berndt

It *looks* like a problem with your installation of QT. 'QGDict' one
of the source files in the QT distribution. It lives in

/usr/local/qt-1.44/src/tools

(though this depends on whether or not you use pkgsrc to build QT
(I don't) and on your version of QT (I use 1.44)).

What version of QT are you using? The last time I looked in the
pkgsrc tree at QT, it was up to version 1.42, which I compiled without
problems, and which I used to build KDE 1.0 and later 1.1. Perhaps you
should try to rebuild your QT distribution, or maybe in the kdecore
subdirectory of kdelibs.

BTW, I used gcc 2.7.2 and egcs 1.1.1 and both compiled KDE and QT fine.

Hope this helps,

tim

-- 
tim@auroral.freeserve.co.uk