FreeBSD Port for kdevelop [...]
Gottfried Ganßauge
g.ganssauge at 01019freenet.de
Wed Nov 10 23:02:54 GMT 1999
-----Ursprüngliche Nachricht-----
Von: Roberto Alsina
An: kdevelop at barney.cs.uni-potsdam.de
Gesendet: Mittwoch, 10. November 1999 11:00
Betreff: Re: FreeBSD Port for kdevelop [...]
On Tue, 9 Nov 1999, it was written:
> On Sun, 07 Nov 1999, you wrote:
> > Hi, I've been attempting to create a port of kdevelop since 1.0b1. August 12th
> > is the date I first created the port, but 1.0b1 was around before that; since I
> > have as of yet been unable to successfully compile the program after about 150
> > or 200 different methods (no, I'm not exaggerating), I've decided to send this
> > in.
> .......
> > [and now, the linking:]
> >
> > /bin/sh ../libtool --silent --mode=link g++295 -O2 -Wall -s -o kdevelop
> > -L/usr/local/lib -L/usr/X11R6/lib -rpath /usr/local/lib -rpath
> > /usr/X11R6/lib -rpath /usr/X11R6/lib klistview.o ckdevelop.o main.o cn
> ........
> > ../classwizard/libclasswizard.a -lkfile -lkfm -lkspell -lkhtmlw -lkimgio -ljpeg
> > --ltiff -ljpeg -lz -lqt -lX11 -lm -ljscript -lkdeui -lkdecore -lqt
> > -lXext -lX11 -lfl
> .......
> > klistview.o: In function `QArrayT<char> type_info function':
> > klistview.o(.gnu.linkonce.t.__tft7QArrayT1Zc+0x16): undefined reference to
> > `QGArray type_info functi on'
> > klistview.o(.gnu.linkonce.t.__tft7QArrayT1Zc+0x1e): undefined reference to
> > `QGArray type_info node'
> > klistview.o: In function `KListViewItem type_info function':
>
> It looks to me like all of the errors that you included in your e-mail are undefined references to
> QT functions. In other words, are you sure you have the QT libraries installed in the
> /usr/X11R6/lib directory? LD, or what ever linker you are using, is not finding the QT libs. Look
> for files named 'libqt.so', 'libqt.so.1', and 'libqt.so.1.xx'. Because the lib search path has
> been set to '/usr/local/lib' and '/usr/X11R6/lib', the QT libs need to be in one of those
> direcories.
In fact those errors seem to me the outcome of using -fno-rtti when
compiling either Qt or KDevelop and not the other.
Most definitely not!
If you have the standard port of QT it was compiled by the system C++-Compiler which uses name mangling not compatible to gcc295.
So in order to successfully link kdevelop QT and also the KDE-Libraries must be compiled using gcc295.
In fact I was already thinking of making a port myself but still couldn't find the time to do it properly.
The things I had to do in order to build beta 4.1 were
- configure --prefix=/usr/local --with-extra-includes=/usr/local/include --with-extra-libraries=/usr/local/lib
- remove libdl and libdb
- setenv KDEDIR /usr/local (I'm using tcsh)
that was all (provided KDE and QT were compiled with gcc295)
Cheers
Gottfried
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/19991111/5ed5d75b/attachment.html>
More information about the KDevelop
mailing list