On Fri, 08 Mar 2013 17:19:44 -0500 Derrick Dantavious Edwards <dantavious...@gmail.com> wrote:
> Hi, > It seems that kcalc is not compiling properly. Any ideas? > > FreeBSD 10.0-CURRENT #0 r247527: Fri Mar 1 00:38:04 EST 2013 > > Derrick > > ber.o -c /usr/ports/math/kcalc/work/kcalc-4.10.1/knumber/knumber.cpp > /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=26 - > DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL - > DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS - > D_REENTRANT -Dkdeinit_kcalc_EXPORTS -O2 -pipe -fno-strict-aliasing - > O2 -pipe -fno-strict-aliasing -DQT_NO_DEBUG -fPIC - > I/usr/ports/math/kcalc/work/kcalc-4.10.1/build - > I/usr/ports/math/kcalc/work/kcalc-4.10.1 - > I/usr/ports/math/kcalc/work/kcalc-4.10.1/knumber - > I/usr/local/kde4/include -I/usr/local/kde4/include/KDE - > I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns - > I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit - > I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest - > I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql - > I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript - > I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork - > I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp - > I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative - > I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support - > I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore - > I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default - > I/usr/local/include/qt4 -I/usr/local/include -D_LARGEFILE64_SOURCE -o > CMakeFiles/kdeinit_kcalc.dir/kdeinit_kcalc_automoc.o -c > /usr/ports/math/kcalc/work/kcalc-4.10.1/build/kdeinit_kcalc_automoc.cpp > [ 45%] Building CXX object > CMakeFiles/kdeinit_kcalc.dir/knumber/knumber_error.o > /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=26 - > DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL - > DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS - > D_REENTRANT -Dkdeinit_kcalc_EXPORTS -O2 -pipe -fno-strict-aliasing - > O2 -pipe -fno-strict-aliasing -DQT_NO_DEBUG -fPIC - > I/usr/ports/math/kcalc/work/kcalc-4.10.1/build - > I/usr/ports/math/kcalc/work/kcalc-4.10.1 - > I/usr/ports/math/kcalc/work/kcalc-4.10.1/knumber - > I/usr/local/kde4/include -I/usr/local/kde4/include/KDE - > I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns - > I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit - > I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest - > I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql - > I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript - > I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork - > I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp - > I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative - > I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support - > I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore - > I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default - > I/usr/local/include/qt4 -I/usr/local/include -D_LARGEFILE64_SOURCE -o > CMakeFiles/kdeinit_kcalc.dir/knumber/knumber_error.o -c > /usr/ports/math/kcalc/work/kcalc-4.10.1/knumber/knumber_error.cpp > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/math/kcalc/work/kcalc-4.10.1/build/CMakeFiles 12 > [ 48%] Building CXX object > CMakeFiles/kdeinit_kcalc.dir/knumber/knumber_float.o > /usr/bin/c++ -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=26 - > DKDE_DEPRECATED_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL - > DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS - > D_REENTRANT -Dkdeinit_kcalc_EXPORTS -O2 -pipe -fno-strict-aliasing - > O2 -pipe -fno-strict-aliasing -DQT_NO_DEBUG -fPIC - > I/usr/ports/math/kcalc/work/kcalc-4.10.1/build - > I/usr/ports/math/kcalc/work/kcalc-4.10.1 - > I/usr/ports/math/kcalc/work/kcalc-4.10.1/knumber - > I/usr/local/kde4/include -I/usr/local/kde4/include/KDE - > I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtXmlPatterns - > I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtWebKit - > I/usr/local/include/qt4/QtUiTools -I/usr/local/include/qt4/QtTest - > I/usr/local/include/qt4/QtSvg -I/usr/local/include/qt4/QtSql - > I/usr/local/include/qt4/QtScriptTools -I/usr/local/include/qt4/QtScript - > I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork - > I/usr/local/include/qt4/QtMultimedia -I/usr/local/include/qt4/QtHelp - > I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/QtDeclarative - > I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support - > I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore - > I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default - > I/usr/local/include/qt4 -I/usr/local/include -D_LARGEFILE64_SOURCE -o > CMakeFiles/kdeinit_kcalc.dir/knumber/knumber_float.o -c > /usr/ports/math/kcalc/work/kcalc-4.10.1/knumber/knumber_float.cpp > /usr/ports/math/kcalc/work/kcalc-4.10.1/knumber/knumber_float.cpp:898:31: > error: no member named 'exp10' in the global namespace > return execute_libc_func< ::exp10>(x); > ~~^ > 1 error generated. > *** [CMakeFiles/kdeinit_kcalc.dir/knumber/knumber_float.o] Error code 1 > 1 error > *** [CMakeFiles/kdeinit_kcalc.dir/all] Error code 2 > 3 warnings generated. > 1 error > *** [knumber/tests/CMakeFiles/knumbertest.dir/all] Error code 2 > 2 errors > *** [all] Error code 2 > 1 error > *** [do-build] Error code 1 > > Stop in /usr/ports/math/kcalc. > > ===>>> make failed for math/kcalc > ===>>> Aborting update > > ===>>> Update for math/kcalc failed > ===>>> Aborting update > > _______________________________________________ > kde-freebsd mailing list > kde-freebsd@kde.org > https://mail.kde.org/mailman/listinfo/kde-freebsd > See also http://freebsd.kde.org/ for latest information It fails because exp10 is a glibc thingy that FreeBSD's libc doesn't have. We might be able to workaround this by evaluating 10^x by hand or using a power of 2 or e and some properties of powers to workaround this. I'll try tomorrow ;) Alonso _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information