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

List:       kde-devel
Subject:    Re: another compilation problem with qt-copy
From:       Melchior FRANZ <a8603365 () unet ! univie ! ac ! at>
Date:       2001-02-28 15:10:20
[Download RAW message or body]

* Michael Brade -- Wednesday 28 February 2001 13:32:
> * On Wednesday 28 February 2001 12:58, Melchior FRANZ wrote:
> > 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 ;-).

OK. I'll first try some other solutions first.   ;-)



> 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)

No, I wasn't sure. But now I am. I followed your suggestion -- same
problem!

  make[4]: Entering directory `/home/m/kde/qt-copy/tutorial/t1'
  g++ -L/home/m/kde/qt-copy/lib -Wl,-rpath,/home/m/kde/qt-copy/lib   -o ./t1 main.o   -lqt
  /home/m/kde/qt-copy/lib/libqt.so: undefined reference to `qPRCleanup(QWidget *)'
  collect2: ld returned 1 exit status
  make[4]: *** [t1] Error 1
  ...

  $ echo $QTDIR
  /home/m/kde/qt-copy
  $ echo $LD_LIBRARY_PATH
  $

  $ objdump --syms /home/m/kde/qt-copy/lib/libqt.so|grep qPRCleanup
  00000000         *UND*  00000000              qPRCleanup__FP7QWidget
  001361b0 g     F .text  000000ef              qPRCleanup__FP9QETWidget
  $

All listed paths are correct, yet it doesn't work. Damn! (Sorry ... ;-)
Are there some debugging tools, that I could try?



> Just a wild guess however, hopefully there's someone from Trolltech
> listening, knowing the correct solution...

Oh, yes, please, please!

m.  :-(
 
>> 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