compilation error: extra/floating_point_utilities_v3/boost/math

Asked by Luc Scholtès

Hi all,

Here is my distrib:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"

I got this error when trying to compile last git version, related to the extra: floating_point_utilities_v3/boost/math/signbit lib apparently:

[100%] Building CXX object CMakeFiles/pyModules.dir/pyModules.0.cpp.o
/usr/bin/c++ -DpyModules_EXPORTS -DYADE_PTR_CAST=static_pointer_cast -DYADE_CAST=static_cast -DYADE_OPENMP -DYADE_OPENGL -DYADE_VTK -DYADE_GTS -DYADE_CGAL -Wall -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fopenmp -s -DQGLVIEWER_FOUND -O3 -DNDEBUG -fPIC -I/usr/include/eigen3 -I/usr/include/python2.6 -I/usr/include/vtk-5.2 -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/tcl8.5 -I/usr/lib/jvm/default-java/include -I/usr/include/libxml2 -I/usr/include/freetype2 -I/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3 -I/home/invite/Bureau/LUC/YADE_git/trunk -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtAssistant -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -o CMakeFiles/pyModules.dir/pyModules.0.cpp.o -c /home/invite/Bureau/LUC/YADE_git/trunk/pyModules.0.cpp
In file included from /usr/include/c++/4.4/backward/strstream:47,
                 from /usr/include/vtk-5.2/vtkIOStream.h:112,
                 from /usr/include/vtk-5.2/vtkSystemIncludes.h:40,
                 from /usr/include/vtk-5.2/vtkIndent.h:24,
                 from /usr/include/vtk-5.2/vtkObjectBase.h:43,
                 from /usr/include/vtk-5.2/vtkObject.h:41,
                 from /usr/include/vtk-5.2/vtkLocator.h:53,
                 from /usr/include/vtk-5.2/vtkPointLocator.h:39,
                 from /home/invite/Bureau/LUC/YADE_git/trunk/py/_eudoxos.cpp:13,
                 from /home/invite/Bureau/LUC/YADE_git/trunk/pyModules.0.cpp:2:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
In file included from /home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/nonfinite_num_facets.hpp:15,
                 from /home/invite/Bureau/LUC/YADE_git/trunk/py/wrapper/yadeWrapper.cpp:53,
                 from /home/invite/Bureau/LUC/YADE_git/trunk/pyModules.0.cpp:5:
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp: In function ‘T boost::math::detail::copysign_impl(T, T) [with T = float]’:
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:54: instantiated from here
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:37: error: ‘init’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:40: error: ‘get_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:41: error: ‘sign’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:44: error: ‘get_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:45: error: ‘sign’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:47: error: ‘set_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = float]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp: In function ‘T boost::math::detail::copysign_impl(T, T) [with T = double]’:
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:59: instantiated from here
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:37: error: ‘init’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:40: error: ‘get_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:41: error: ‘sign’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:44: error: ‘get_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:45: error: ‘sign’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:47: error: ‘set_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp: In function ‘T boost::math::detail::copysign_impl(T, T) [with T = long double]’:
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:64: instantiated from here
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:37: error: ‘init’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:40: error: ‘get_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:41: error: ‘sign’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:44: error: ‘get_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:45: error: ‘sign’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:47: error: ‘set_bits’ is not a member of ‘boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:43: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
/home/invite/Bureau/LUC/YADE_git/trunk/extra/floating_point_utilities_v3/boost/math/signbit.hpp:39: error: no type named ‘bits’ in ‘struct boost::math::detail::copysign_impl(T, T) [with T = long double]::traits’
make[2]: *** [CMakeFiles/pyModules.dir/pyModules.0.cpp.o] Erreur 1
make[2]: quittant le répertoire « /home/invite/Bureau/LUC/YADE_git/trunk »
make[1]: *** [CMakeFiles/pyModules.dir/all] Erreur 2
make[1]: quittant le répertoire « /home/invite/Bureau/LUC/YADE_git/trunk »
make: *** [all] Erreur 2

Any hint please?

Luc

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bruno Chareyre (bruno-chareyre) said :
#1

What is you version of boost?
By the way, if you are in the process of installing a new computer, it would be wise to go straight to 12.04.

Revision history for this message
Luc Scholtès (luc) said :
#2

Thanks Bruno for suggestion but the computer I am installing is not mine and I don't want to generate any drawbacks...

boost version is 1.40 from what I can tell (synaptic)

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

Strange, it was a bug [1], which was fixed almost a year ago [2].
No idea, why it is here again.

> but the computer I am installing is not mine and I don't want to generate any ?
> drawbacks...

Maybe yade-daily can be a good alternative?

Anton

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653817
[2] https://github.com/yade/trunk/commit/bd56b114adad292808dd47489c05fb70520a682a#lib/serialization/ObjectIO.hpp

Can you help with this problem?

Provide an answer of your own, or ask Luc Scholtès for more information if necessary.

To post a message you must log in.