Compiling KDE apps; Linker error

Compiling KDE apps; Linker error

Post by einar.. » Sat, 11 Sep 1999 04:00:00



Greetings gurus.
I'm trying to install the K-de* on my RH6 box from tarballs but I'm
getting a very annoying error messages from the configure scripts (in
fact from __every__ configure script that links with kde and qt.)

"checking for KDE libraries installed... configure: error: your system
fails at linking a small KDE application!
Check, if your compiler is installed correctly and if you have used the
same compiler to compile Qt and kdelibs as you did use now"

This I have done; downloaded the KDE library sources (both 1.1 and
1.1pre2), compiled and installed them without trouble, downloaded,
compiled and installed Qt (both 1.44 and 2.0) without trouble, set the
KDEDIR, QTDIR, QTLIBDIR etc. etc. env.variables, and messed with the
configure script till I was blue in the face. Following is the error
part of the config.log:
configure:3879: checking for KDE libraries installed
configure:3882: /bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall
-I/usr/include -I/usr/local/qt/include  -I/usr/X11R6/include  -s
-L/usr/lib  -L/usr/X11R6/lib conftest.C  -lkdecore -lqt -lXext -lX11
-rpath /usr/lib -rpath /usr/X11R6/lib  1>&5
g++ -o conftest -O2 -Wall -I/usr/include -I/usr/local/qt/include
-I/usr/X11R6/include -s -L/usr/lib -L/usr/X11R6/lib conftest.C -lkdecore
-lqt -lXext -lX11 -Wl,--rpath -Wl,/usr/lib -Wl,--rpath
-Wl,/usr/X11R6/lib
/usr/lib/libkdecore.so: undefined reference to
`QComboBox::insertItem(char const *, int)'
/usr/lib/libkdecore.so: undefined reference to `darkMagenta'
/usr/lib/libkdecore.so: undefined reference to `QDir::exists(char const
*, bool)'
/usr/lib/libkdecore.so: undefined reference to `QFont::QFont(char const
*, int, int, bool)'
/usr/lib/libkdecore.so: undefined reference to `darkBlue'
/usr/lib/libkdecore.so: undefined reference to `QString::contains(char,
bool) const'

etc. etc.

Any hints as to what might be wrong ?

Sent via Deja.com http://www.veryComputer.com/
Share what you know. Learn what you don't.

 
 
 

Compiling KDE apps; Linker error

Post by einar.. » Tue, 14 Sep 1999 04:00:00


Heeeelllloooo. Anyone ? I know this isn't the first time this happens to
someone, 'cause I've found this proplem posted before (without any
solutions). Someone must be familiar with this......

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

 
 
 

1. Error compiling KDE apps in ports

Hi there,

I am running FreeBSD 3.3 and downloaded the latest ports collection a
few weeks ago. I successfully compiled and installed KDE 1.1.2 and QT.
Now I would like to install a few additional apps such as kiqc and kmp3.
However, I always get the following error:

configure:3702: /bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall
-I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include
-s -L/
usr/local/lib -L/usr/X11R6/lib/lib -L/usr/X11R6/lib conftest.C
-lkdecore -lqt -lXext -lX11  -rpath /usr/local/lib -rpath
/usr/X11R6/lib/lib  1>&5
g++ -o conftest -O2 -Wall -I/usr/local/include
-I/usr/X11R6/include/X11/qt -I/usr/X11R6/include -s -L/usr/local/lib
-L/usr/X11R6/lib/lib -L/usr/X11R6
/lib conftest.C -lkdecore -lqt -lXext -lX11 -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib/lib
/usr/lib/libstdc++.so.2: undefined reference to `__unwind_function'
/usr/lib/libstdc++.so.2: undefined reference to
`__find_first_exception_table_match'
/usr/lib/libstdc++.so.2: undefined reference to `__register_exceptions'
collect2: ld returned 1 exit status

I am using gcc 2.95.1. Can someone help me?

Thanks a lot,
Roland

2. Position Available

3. Error compiling KDE apps

4. Linux Unleashed--don't buy it

5. error compiling kde apps - kde2, RH6.2

6. Add Disk for NT.

7. KDE Apps Compile Error

8. upgrade to 5.1 problems

9. Strange error messages for all my KDE apps (KDE 2)

10. Problems compiling Pcomm1.2 (Linker error)

11. compiling kernel1.2.13 linker-error

12. linker errors on compiling and running

13. Linker errors compiling enlightenment DR13.3