[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: another compilation problem with qt-copy
From: Michael Brade <Michael.Brade () informatik ! uni-muenchen ! de>
Date: 2001-02-28 12:32:20
[Download RAW message or body]
On Wednesday 28 February 2001 12:58, Melchior FRANZ wrote:
> * Michael Brade -- Tuesday 27 February 2001 22:56:
> > * On Tuesday 27 February 2001 22:32, Melchior FRANZ wrote:
> > > I get an error message when I compile qt-copy:
> > >
> > > g++ -L/home/m/kde/qt-copy/lib -Wl,-rpath,/home/m/kde/qt-copy/lib
> > > -lpthread -o ./guithreads main.o -lqt-mt
> > > /home/m/kde/qt-copy/lib/libqt-mt.so: undefined reference to
> > > `qPRCleanup(QWidget *)' collect2: ld returned 1 exit status
> >
> > I had a similar problem: you need to remove the old qt libs, otherwise
> > they get used somehow during the linking process. I unset' all the
> > LIBRARY_PATH environment variables as well and recompiled. That did it
> > for me.
>
> Didn't work for me. I've removed =all= libqt files from the
> harddisk, removed the entries in /etc/ld.so.conf and did a
> ldconfig, unset LD_LIBRARY_PATH and set QTDIR appropriately.
> I've also configured QT without threads and opengl. Compiling
> of libqt seems to work ... BUT: compiling of any other
> QT-program (designer, tutorial1, etc) still stops with the
> message
>
> libqt.so: undefined reference to `qPRCleanup(QWidget *)'
>
> lsof shows me that indeed the just compiled libqt is used,
> yet the label qPRCleanup can't be found!??
> objdump seems to show that the label is there and OK.
>
> What can I do? (Except banging my head against the desk.)
Hmpf, at least don't do _that_, I know such situations ;-). I have another
guess: are you sure there are no old headers around that could be used by
accident during compilation? (unset CPLUS_INCLUDE_PATH, remove
$QTDIR/include/*.h and all older ones, then 'make symlinks' again) Just a
wild guess however, hopefully there's someone from Trolltech listening,
knowing the correct solution...
Ciao,
Michael
--
Some operating systems are called `user friendly',
Linux however is `expert friendly'.
>> Visit http://master.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