-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Kern Sibbald wrote:
> Hello,
>
> I would appreciate it if you two would try the current SVN and see if it can
> find your installed qwt libraries. If it does not work, please tell me where
> the libraries are and send me a copy of src/qt-console/bat.pro that was
> generated.
>
> The qwt libraries should be found correctly if you specify:
>
> --with-qwt
>
> or if you leave it out altogether. If you specify a path, it expects the qwt
> code to be in path/include and path/lib.
Ok, I've tried it. As you mentioned, it goes out and looks for
/usr/include/qwt which in my system is the wrong one, so I modified
bat.pro to point to /usr/include/qwt-qt4. With that done however, bat
still doesn't compile:
g++ -o bat obj/main.o obj/bat_conf.o obj/mainwin.o obj/qstd.o
obj/authenticate.o obj/console.o obj/prerestore.o obj/restore.o
obj/brestore.o obj/label.o obj/relabel.o obj/mount.o obj/run.o
obj/runcmd.o obj/estimate.o obj/prune.o obj/select.o obj/pages.o
obj/medialist.o obj/mediaedit.o obj/joblist.o obj/clients.o
obj/storage.o obj/fileset.o obj/joblog.o obj/jobs.o obj/restoretree.o
obj/jobplot.o obj/help.o obj/moc_mainwin.o obj/moc_console.o
obj/moc_restore.o obj/moc_label.o obj/moc_relabel.o obj/moc_mount.o
obj/moc_run.o obj/moc_select.o obj/moc_medialist.o obj/moc_mediaedit.o
obj/moc_joblist.o obj/moc_clients.o obj/moc_storage.o obj/moc_fileset.o
obj/moc_joblog.o obj/moc_jobs.o obj/moc_restoretree.o obj/moc_jobplot.o
obj/moc_help.o obj/qrc_main.o -L/usr/lib -L../lib -lbac -lssl
- -lcrypto -L/usr/lib -lqwt -lQtGui -lQtCore -lpthread
obj/jobplot.o: In function `JobPlot::byteCheckChanged(int)':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:534:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `JobPlot::fileCheckChanged(int)':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:519:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `JobPlot::setSymbolType(int, int)':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:501:
undefined reference to `QwtPlotCurve::setSymbol(QwtSymbol const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:505:
undefined reference to `QwtPlotCurve::setSymbol(QwtSymbol const&)'
obj/jobplot.o: In function `JobPlot::setPlotType(QString)':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:433:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:434:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:439:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:440:
undefined reference to
`QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:446:
undefined reference to `QwtPlotCurve::setStyle(QwtPlotCurve::CurveStyle)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:447:
undefined reference to `QwtPlotCurve::setStyle(QwtPlotCurve::CurveStyle)'
obj/jobplot.o: In function `JobPlot::addCurve()':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:356:
undefined reference to `QwtLegend::QwtLegend(QWidget*)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:356:
undefined reference to `QwtPlot::insertLegend(QwtLegend*,
QwtPlot::LegendPosition, double)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:366:
undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:367:
undefined reference to `QwtPlotCurve::setPen(QPen const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:368:
undefined reference to `QwtPlotCurve::setCurveType(QwtPlotCurve::CurveType)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:369:
undefined reference to `QwtPlotItem::setYAxis(int)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:371:
undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:372:
undefined reference to `QwtPlotCurve::setPen(QPen const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:373:
undefined reference to `QwtPlotCurve::setCurveType(QwtPlotCurve::CurveType)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:374:
undefined reference to `QwtPlotItem::setYAxis(int)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:379:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:380:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:397:
undefined reference to `QwtPlotCurve::setData(double const*, double
const*, int)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:398:
undefined reference to `QwtPlotCurve::setData(double const*, double
const*, int)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:412:
undefined reference to `QwtPlotMarker::QwtPlotMarker()'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:413:
undefined reference to `QwtText::QwtText(QString const&,
QwtText::TextFormat)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:413:
undefined reference to `QwtPlotMarker::setLabel(QwtText const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:414:
undefined reference to
`QwtPlotMarker::setLabelAlignment(QFlags<Qt::AlignmentFlag>)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:415:
undefined reference to
`QwtPlotMarker::setLineStyle(QwtPlotMarker::LineStyle)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:418:
undefined reference to `QwtPlotMarker::setLinePen(QPen const&)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:419:
undefined reference to `QwtPlotMarker::setXValue(double)'
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:420:
undefined reference to `QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `JobPlot::setupUserInterface()':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/jobgraphs/jobplot.cpp:335:
undefined reference to `QwtPlot::QwtPlot(QWidget*)'
obj/jobplot.o: In function `QwtPlotItem::detach()':
/usr/include/qwt-qt4/qwt_plot_item.h:66: undefined reference to
`QwtPlotItem::attach(QwtPlot*)'
obj/jobplot.o: In function `DateTimeScaleDraw::label(double) const':
/home/steltek/fromcvs/bacula/bacula/src/qt-console/./jobgraphs/jobplot.h:94:
undefined reference to `QwtText::QwtText(QString const&,
QwtText::TextFormat)'
obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for
DateTimeScaleDraw]+0x10): undefined reference to
`QwtAbstractScaleDraw::draw(QPainter*, QPalette const&) const'
obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for
DateTimeScaleDraw]+0x18): undefined reference to
`QwtScaleDraw::extent(QPen const&, QFont const&) const'
collect2: ld returned 1 exit status
make[1]: *** [bat] Error 1
make[1]: Leaving directory
`/home/steltek/fromcvs/bacula/bacula/src/qt-console'
As far as I can see, the libs are here:
/usr/lib/libqwt-qt4.so
/usr/lib/libqwt-qt4.so.5
/usr/lib/libqwt-qt4.so.5.0
/usr/lib/libqwt-qt4.so.5.0.0
/usr/lib/libqwt.a
/usr/lib/libqwt.so
/usr/lib/libqwt.so.4
/usr/lib/libqwt.so.4.2
/usr/lib/libqwt.so.4.2.0
/usr/lib/qt3/plugins/designer/libqwtplugin.so
/usr/lib/qt4/plugins/designer/libqwt_designer_plugin.so
Greetings,
Michel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
iD8DBQFGmThJ2Vs+MkscAyURAvFrAKDk62RjEAS6mddEXbBsBeXQkujvpwCghzmP
miv/1YEr5nYROourUqQIoSY=
=YqJc
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel