Igor Schein on Thu, 22 May 2003 10:48:17 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: plotQt.c


On Thu, May 15, 2003 at 04:41:21PM +0200, Karim BELABAS wrote:
> Nils Skoruppa [pari-dev-2701] wrote:
> > if someone would like to try plotQt.c, an alternative to plotX.c,
> > plotgnuplot.c and in particular to plotnull.c, which uses Trolltech's Qt
> > lib, you can download the file at
> > http://wotan.algebra.math.uni-siegen.de/~countnumber/zaurus/
> 
> Hi,
> 
>   I've committed the above and a preliminary integration in
> Configure to CVS. Use
> 
>    Configure --graphic=qt,

I have the following relevant RPMs on my RedHat 9 system:

qt-devel-3.1.1-6
qt2-devel-2.3.1-13

I am getting a huge amount of unresolved symbol errors:

plotQt.o(.text+0x31): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `QImage::outputFormats()'
plotQt.o(.text+0x53): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `operator new(unsigned)'
plotQt.o(.text+0x62): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `QString::QString[in-charge](char const*)'
plotQt.o(.text+0x7e): In function `__static_initialization_and_destruction_0(int, int)':
: undefined reference to `operator delete(void*)'
plotQt.o(.text+0xa6): In function `Plotter::Plotter[not-in-charge](long*, long*, long*, long, QWidget*, char const*, unsigned)':
: undefined reference to `QWidget::QWidget[not-in-charge](QWidget*, char const*, unsigned)'
plotQt.o(.text+0xd1): In function `Plotter::Plotter[not-in-charge](long*, long*, long*, long, QWidget*, char const*, unsigned)':
[snip]
plotQt.o(.gnu.linkonce.d._ZTV6QArrayI6QPointE+0x14): undefined reference to `QGArray::newData()'
plotQt.o(.gnu.linkonce.d._ZTV6QArrayI6QPointE+0x18): undefined reference to `QGArray::deleteData(QGArray::array_data*)'
plotQt.o(.gnu.linkonce.t._ZN6QArrayI6QPointED1Ev+0xf): In function `QArray<QPoint>::~QArray [in-charge]()':
: undefined reference to `QGArray::~QGArray [not-in-charge]()'
plotQt.o(.gnu.linkonce.t._ZN6QArrayI6QPointED0Ev+0x10): In function `QArray<QPoint>::~QArray [in-charge deleting]()':
: undefined reference to `QGArray::~QGArray [not-in-charge]()'
plotQt.o(.gnu.linkonce.t._ZN6QArrayI6QPointED0Ev+0x1d): In function `QArray<QPoint>::~QArray [in-charge deleting]()':
: undefined reference to `operator delete(void*)'
plotQt.o(.gnu.linkonce.d._ZTI6QArrayI6QPointE+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
plotQt.o(.gnu.linkonce.d._ZTI6QArrayI6QPointE+0x8): undefined reference to `typeinfo for QGArray'
plotQt.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status

Which version of QT did you guy link against?

Igor