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

List:       kde-devel
Subject:    problem compiling/linking
From:       Michael Hofer <michaelhofer () gmx ! net>
Date:       2002-04-20 20:13:42
[Download RAW message or body]

Hello!

I do not have much experience in unix-programming and ran into problems 
compiling kbiff for kde3 (same problem with other kde3-apps).
The configure-script runs without any problems and detects qt3, but when 
I try to compile the programm with make, it aborts with the following 
errors (see bottom).

I guess there is some confusion between QT2 (in /usr/lib/qt2) and QT3 
(in /usr/lib/qt3) - the "-lqt" option seems to use the QT2-Libs? Am I 
right? What can I do about this problem?

Thanks for your help,
Michael

[...]
/bin/sh ../libtool --mode=link --tag=CXX g++  -O2 -fno-exceptions 
-fno-check-new   -o kbiff -L/usr/X11R6/lib -L/usr/lib/qt3/lib 
-L/usr/lib  -R /usr/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib dummy.o 
kbiff.la
g++ -O2 -fno-exceptions -fno-check-new -o .libs/kbiff dummy.o  
-L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/usr/lib ./.libs/kbiff.so 
-L/usr/lib/qt2/lib -L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96 
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../.. 
/usr/lib/libkio.so /usr/lib/libkdesu.so -lutil /usr/lib/libkssl.so 
/usr/lib/libkdeui.so /usr/lib/libkdecore.so -ldl /usr/lib/libDCOP.so 
-lqt -lpng /usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE -lresolv 
-lXinerama -lz -lstdc++ -lm -lc -lgcc -Wl,--rpath 
-Wl,/usr/local/kde/lib -Wl,--rpath -Wl,/usr/lib -Wl,--rpath 
-Wl,/usr/lib/qt3/lib -Wl,--rpath -Wl,/usr/X11R6/lib
./.libs/kbiff.so: undefined reference to `QObject::activate_signal(int)'
./.libs/kbiff.so: undefined reference to `KRun::KRun(KURL const &, 
unsigned int, bool, bool)'
./.libs/kbiff.so: undefined reference to `QFrame::QFrame(QWidget *, char 
const *, unsigned int)'
./.libs/kbiff.so: undefined reference to `QLabel::qt_invoke(int, 
QUObject *)'
[...]



 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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