[kde-freebsd] building KDE4 on CURRENT r255948 ports r328930 still fails

Matthias Apitz guru at unixarea.de
Fri Oct 4 07:58:34 UTC 2013


El día Friday, October 04, 2013 a las 09:39:02AM +0000, Schaich Alonso escribió:

> > # 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.

I have tried to build 'setp' with both, clang and gcc46; same error;

$ nm /usr/local/lib/libqalculate.so | grep
'Calculator.*parse.*MathStructure.*string.*ParseOptions'
00097310 T
_ZN10Calculator11parseNumberEP13MathStructureNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERK12ParseOptions
000933f0 T
_ZN10Calculator14parseOperatorsEP13MathStructureNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERK12ParseOptions
00082880 T
_ZN10Calculator16parseAddIdAppendEP12MathFunctionRK13MathStructureRKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEERK12ParseOptionsb
00086da0 T
_ZN10Calculator5parseEP13MathStructureNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEERK12ParseOptions

> 
> This might also be related to libc++.

For the moment I disabled 'step' in the build options of kdeedu4 to be
able to proceed.

Vy 73

	matthias
-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards


More information about the kde-freebsd mailing list