← Back to team overview

yade-users team mailing list archive

compiling on fedora core 4 with gcc4.0.1

 

Hello,

yade for fine for me on my gentoo system and now I
want to install also on a fedora core 4 system with
gcc 4.0.1 and boost 1.32.

With svn sources I get these compilation errors:

g++ -c -pipe -Wall -W -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
-mtune=pentium4 -fasynchronous-unwind-tables
-D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I.
-I../../../../../../YADE/include
-I/usr/lib/qt-3.3/include -o SimulationLoop.o
SimulationLoop.cpp
../../../../../../YADE/include/yade/yade-lib-wm3-math/Math.ipp:
In static member function 'static RealType
Math<RealType>::aTan2(RealType, RealType)`:
../../../../../../YADE/include/yade/yade-lib-wm3-math/Math.ipp:53:
error: 'std::__is_integer<double>::<anonymous enum>`
is/uses anonymous type
../../../../../../YADE/include/yade/yade-lib-wm3-math/Math.ipp:53:
error:   trying to instantiate `template<class T>
struct boost::is_integral'
../../../../../../YADE/include/yade/yade-lib-wm3-math/Math.ipp:53:
error: `std::__is_integer<double>::<anonymous enum>'
is/uses anonymous type
../../../../../../YADE/include/yade/yade-lib-wm3-math/Math.ipp:53:
error:   trying to instantiate `template<class T>
struct boost::is_integral'

I tried to upgrade to boost 1.33 from fedora-testing
but this did not make a difference, eg. I get the same
errors. The kernel is 2.6.13-1.1526_FC4smp.

Any ideas ?

Andreas
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users