Stéphane Zampelli wrote:
> Indeed I made a symbolic link to the library and goffice did compile.
> 
> However I get another error:

While building the qwt-qt4-x11 package, I presume?

> [...]
> bzip2 -dc /sw/src/qwt-5.2.0.tar.bz2 | /sw/bin/tar -xf -  --no-same-owner 
> --no-same-permissions
> [...]
> c++ -prebind -o ../../examples/bin/cpuplot obj/cpuplot.o obj/cpustat.o 
> obj/cpupiemarker.o obj/moc_cpuplot.o    -L/sw/lib/qt4-x11/lib 
> -L../../lib -lqwt -lQtGui -L/sw/lib/system-openssl/lib 
> -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib 
> -L/usr/X11R6/lib -L/sw/lib/qt4-x11/lib -lpng -lfreetype -lgobject-2.0 
> -lSM -lICE -lXrender -L/usr/X11/lib -lfontconfig -lXext -lX11 -lQtCore 
> -lz -lm -lgthread-2.0 -lglib-2.0 -lintl -liconv
> Undefined symbols:
>   "QwtLegend::find(QwtLegendItemManager const*) const", referenced from:
>       CpuPlot::showCurve(QwtPlotItem*, bool) in cpuplot.o
>   "QwtPlot::printCanvas(QPainter*, QRect const&, QRect const&, 
> QwtScaleMap const*, QwtPlotPrintFilter const&) const", referenced from:
>       vtable for CpuPlotin moc_cpuplot.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [../../examples/bin/cpuplot] Error 1
> make[1]: *** [sub-cpuplot-make_default] Error 2
> make: *** [sub-examples-make_default] Error 2
> ### execution of /var/tmp/tmp.1.KW73Dq failed, exit code 2
> 
> Any idea where those symbols are coming from?

Without knowing the package, just from their name, I would assume they 
are coming from libqwt, which just has been built. Do you perhaps have a 
previous version of qwt-qt4-x11-shlibs installed? If yes, does removing 
it before rebuilding qwt-qt4-x11 change this error? This would then be a 
bug in the package, because it puts the install directory 
-L/sw/lib/qt4-x11/lib before the build directory -L../../lib on the 
linker line.

-- 
Martin

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to