Error compiling KDevelop-1.0beta3
holle at almaden.ibm.com
holle at almaden.ibm.com
Fri Oct 22 18:00:22 BST 1999
Your first errors seem to be related to runtimr type information (rtti) and can
be "solved" by adding -fno-rtti to the gcc compiler switches.
The second (config) error:
---
ltconfig:2099: g++ -o conftest -O2 -Wall -fno-builtin -fno-rtti
-fno-exceptions conftest.c 1>&5
/tmp/ccaMaWwT.o: In function `main':
/tmp/ccaMaWwT.o(.text+0x4): undefined reference to `dlopen(void)'
---
it is only missing the library called libdl.so whoch contains dlopen (try man
dlopen). Try to sneak in the switch -ldl
When configureing your project, do:
CFLAGS="-fno-rtti" CXXFLAGS="-fno-rtti" LDFLAGS="-ldl" ./configure <whatever
args you pass to configure>
This presets flags in the environment which, interesting enough, get used by
configure. The LDFLAGS could also be LFLAGS, I am not sure about that. But you
should see changes in the "Checking compiler" output and no complains about
missing dlopen anymore.
On the other hand. You might want to check what compiler you are using now and
then check if you compiled the libqt and libkde* with the **same** compiler. If
not, do this before attempting to put a e.g. pgcc-1.0.9 libqt and a gcc-2.8.1
project together. It does not always work.
If you still have your "old" compiler you can select which backend to use with
the -b and -V switches, to both the gcc as well as g++ . Please check man page
and directories under /usr/lib/gcc-lib for details . Then just use the variables
described above and the -V and -b switches will be used by configure :-)
- holger
Robert Vogl <r.vogl at mindless.com> on 21/10/99 12:16:22
Please respond to kdevelop at barney.cs.uni-potsdam.de
To: kdevelop at barney.cs.uni-potsdam.de
cc:
Subject: Error compiling KDevelop-1.0beta3
-------------- next part --------------
Hi,
"make" stops with the following error-message (excerpt):
[...]
kdlgldr_itemstuff.lo kdlgptrdb.lo -lXext -lqt -lX11
kdlgldr_itemstuff.lo: warning: multiple common of `QString type_info
node'
kdlgldr.lo: warning: previous common is here
kdlgldr_itemstuff.lo: warning: multiple common of `QArrayT<char>
type_info node'
kdlgldr.lo: warning: previous common is here
kdlgptrdb.lo: warning: multiple common of `QString type_info node'
kdlgldr.lo: warning: previous common is here
kdlgptrdb.lo: warning: multiple common of `QArrayT<char> type_info node'
kdlgldr.lo: warning: previous common is here
/usr/lib/libqt.so: warning: multiple common of `QString type_info node'
kdlgldr.lo: warning: previous common is here
/usr/lib/libqt.so: warning: multiple common of `QArrayT<char> type_info
node'
kdlgldr.lo: warning: previous common is here
make[2]: Leaving directory `/home/voglrobe/kdevelop-1.0beta3/kdlgloader'
Making all in po
make[2]: Entering directory `/home/voglrobe/kdevelop-1.0beta3/po'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/home/voglrobe/kdevelop-1.0beta3/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/voglrobe/kdevelop-1.0beta3'
make: *** [all-recursive-am] Error 2
voglrobe at lurch:~/kdevelop-1.0beta3 >
config.log contains some errors concerning ltconfig:
ltconfig:2099: g++ -o conftest -O2 -Wall -fno-builtin -fno-rtti
-fno-exceptions conftest.c 1>&5
/tmp/ccaMaWwT.o: In function `main':
/tmp/ccaMaWwT.o(.text+0x4): undefined reference to `dlopen(void)'
collect2: ld returned 1 exit status
ltconfig: failed program was:
#line 2077 "ltconfig"
My system configuration:
Suse Linux 6.0
KDE 1.1.2
QT 1.44 with QTcombat
What´s going wrong?
Thank´s a lot for any tips.
--
Robert Vogl, Munich
r.vogl at mindless.com
More information about the KDevelop
mailing list