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

List:       kde-devel
Subject:    Re: Linking problem with RH 6.0 and head branch
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       1999-05-26 20:05:37
[Download RAW message or body]

Am Wed, 26 May 1999 schrieb Lotzi Boloni:
>I have problems in linking the head branch on a freshly installed RH6.0
>system. The Qt cvs installed correctly, the sample programs are running,
>but when I try to link any applications I got a lot of error messages
>complaining about the lack of Qt references. 
>
>  Any ideas?
>

Yeah. QT2 is normally compiled with the "-fno-rtti" option. kdelibs dont
compile with that option. Remove it in your QT-Makefile and recompile QT.

>
>[root@boloni kdetest]# make kbuttonboxtest g++ -DHAVE_CONFIG_H -I. -I.
>-I.. -I../kdecore -I../kdeui -I. ./kformula -I../kio -I../kfile
>-I../kdecore -I../kdeui -I/opt/kd e2/qt/include -I/usr/X11R6/include
>-I/opt/kde2/include -O2 -Wall - c kbuttonboxtest.cpp 
>/bin/sh ../libtool
>--silent --mode=link g++ -O2 -Wall -L/opt/kde2/qt/ lib -L/usr/X11R6/lib -o
>kbuttonboxtest kbuttonboxtest.o ../kformula/ libkformula.la
>../kfile/libkfile.la ../kio/libkio.la ../kfile/libkfile .la
>.../kdeui/libkdeui.la 
>//opt/kde2/compile/kdelibs/kdeui/.libs/libkdeui.so: undefined reference
> to `QTabDialog type_info node' 
>../kformula/.libs/libkformula.so: undefined reference to `QWidget type
>__info node'
>/opt/kde2/compile/kdelibs/kdeui/.libs/libkdeui.so: undefined reference
> to `QPopupMenu type_info function'
>../kformula/.libs/libkformula.so: undefined reference to `QDialog type
>
>... and so on...
--
CU
Michael Koch


student of computer science at
university of applied sciences
Darmstadt, Germany

KDE Enthusiast, fan and developer
Projects: KPat, KImage and Katabase
Documentation of KOM/OpenParts

mail: m_koch@bigfoot.de
www: http://heaven.riednet.wh.tu-darmstadt.de/~mkoch

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

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