On Fri, 4 Oct 2013 08:26:43 +0200
Matthias Apitz <[email protected]> wrote:

> El día Wednesday, October 02, 2013 a las 02:02:03PM +0200, Matthias Apitz
> escribió:
> 
> > 
> > Hello,
> > 
> > After the unsuccessfull attempts in May/June I though it's time to give
> > it a try again to build the port x11/kde4 in
> > 
> > $ uname -a
> > FreeBSD aurora.Sisis.de 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 r255948: Tue
> > Oct  1 09:00:53 CEST 2013
> > [email protected]:/usr/obj/usr/src/sys/GENERIC  i386
> > 
> 
> Hello,
> 
> Next stopper is in science/step:
> 
> # make install clean MAKE_JOBS_UNSAFE=yes USE_GCC=any
> ...
> ===>  Building for step-4.10.5_1
> [  1%] Built target doc-handbook
> [  1%] Built target stepcore_automoc
> [ 39%] Built target stepcore
> [ 39%] Built target step_automoc
> Linking CXX executable step
> CMakeFiles/step.dir/unitscalc.o: In function
> `UnitsCalc::parseNumber(QString const&, QString const&, double&)':
> unitscalc.cc:(.text+0x5a7): undefined reference to
> `Calculator::unlocalizeExpression(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, ParseOptions const&)
> const'
> unitscalc.cc:(.text+0x619): undefined reference to
> `Calculator::parse(MathStructure*, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, ParseOptions const&)'
> unitscalc.cc:(.text+0x6cf): undefined reference to
> `Calculator::getUnit(std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >)'
> unitscalc.cc:(.text+0x8d6): undefined reference to
> `CompositeUnit::CompositeUnit(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >, bool, bool, bool)'
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Any hints? Thanks
> 
>       matthias
> 

I can only guess here. The symbols not found are supposed to be in the
libqualculate library of the math/libqalculate port. I think I have them here
(e.g. the first symbol-not-found by your error message):

# nm /usr/local/lib/libqalculate.so | grep \
'Calculator.*parse.*MathStructure.*string.*ParseOptions'
[...]
00000000000c20c0 T
_ZN10Calculator5parseEP13MathStructureNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERK12ParseOptions

If you built libqualculate with a different compiler than the one building
step, maybe you should try rebuilding libqualculate with the same compiler.

This might also be related to libc++.

Alonso


_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to