Hey,
when I try to compile kmatplot 0.4 like Timothy Harris discribed than I get the following compile error:
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/share/qt/include -I/usr/X11R6/include -I../widgets -O0 -fno-exceptions -fno-check-new -c demo2d.cpp
/bin/sh ../../libtool --mode=link --tag=CXX c++ -O0 -fno-exceptions -fno-check-new -o demo2d -L/usr/X11R6/lib demo2d.o ../widgets/libplot.a -lqt -lpng -lz
-lm -ljpeg -lXext -lX11 -lresolv -lSM -lICE -lXmu -lGL -lGLU -lX11 -lresolv
mkdir .libs
c++ -O0 -fno-exceptions -fno-check-new -o demo2d demo2d.o -L/usr/X11R6/lib ../widgets/libplot.a -lqt -lpng -lz -lm /usr/lib/libjpeg.so -lXext -lX11 -lresolv -lSM -lICE -lXmu -lGL -lGLU -lX11 -lresolv
demo2d.o: In function `main':
demo2d.o(.text+0x3d): undefined reference to `QMotifPlusStyle::QMotifPlusStyle(bool)'
collect2: ld returned 1 exit status
make: *** [demo2d] Fehler 1
When I try to run the binary from Kamil's deb than I get the following error:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 9852)]
0x401cff9b in QColor::operator= () from /usr/lib/libqt.so.3
(gdb) bt
#0 0x401cff9b in QColor::operator= () from /usr/lib/libqt.so.3
#1 0x4022dcbc in QBrush::init () from /usr/lib/libqt.so.3
#2 0x4022de3a in QBrush::QBrush () from /usr/lib/libqt.so.3
#3 0x4022eb79 in QColorGroup::QColorGroup () from /usr/lib/libqt.so.3
#4 0x401c6af9 in qt_create_std_palette () from /usr/lib/libqt.so.3
#5 0x401c986e in QApplication::setPalette () from /usr/lib/libqt.so.3
#6 0x401c8056 in QApplication::style () from /usr/lib/libqt.so.3
#7 0x4024fa69 in QWidget::style () from /usr/lib/libqt.so.3
#8 0x40300652 in QMainWindow::QMainWindow () from /usr/lib/libqt.so.3
#9 0x0809e3f7 in QFile::name ()
#10 0x080b492c in QFile::name ()
#11 0x4092e17f in __libc_start_main () from /lib/libc.so.6
Hope my mistake is not too stupid! ;-)
regards
Roland Schulz
|