[kde-freebsd] [SVN Commit] area51/KDE/math/rocs

Schaich Alonso alonsoschaich at fastmail.fm
Tue Aug 13 19:06:49 UTC 2013


On Tue, 13 Aug 2013 13:09:02 -0300
Raphael Kubo da Costa <rakuco at FreeBSD.org> wrote:

> Alonso Schaich <alonsoschaich at fastmail.fm> writes:
> 
> > SVN commit 9421 by aschai:
> >
> > RocsCore/Modifiers/ValueModifier.cpp is written in what is clearly not C+
> > +. I tried patching it but clang wouldn't link, so force gcc instead.
> 
> Does the attached patch fix the issue for you?
> 

No, it still fails to link if built with clang:

# make MAKE_JOBS_UNSAFE=yes build
...
[ 76%] Built target rocs_assignvaluesplugin
[ 76%] Built target rocs_automoc
Linking CXX executable rocs
../lib/librocsvisualeditor.so.5.0.1: undefined reference to `void
ValueModifier::assignRandomIntegers<boost::shared_ptr<Data> >
(QList<boost::shared_ptr<Data> > const&, QString const&, int, int, int,
bool)' ../lib/librocsvisualeditor.so.5.0.1: undefined reference to `void
ValueModifier::enumerate<boost::shared_ptr<Data> >
(QList<boost::shared_ptr<Data> > const&, QString const&, int, QString const&,
bool)' ../lib/librocsvisualeditor.so.5.0.1: undefined reference to `void
ValueModifier::assignRandomReals<boost::shared_ptr<Data> >
(QList<boost::shared_ptr<Data> > const&, QString const&, double, double, int,
bool)' c++: error: linker command failed with exit code 1 (use -v to see
invocation) *** [App/rocs] Error code 1
...


More information about the kde-freebsd mailing list