← Back to team overview

yade-users team mailing list archive

Help for another compilation error on Fedora Core 3, gcc 3.4.4

 

Hi,
Because the FC4 does not accept the nvidia driver, I have to change to FC3 and
with gcc 3.4, however, I got the error in ptime.hpp, here is the error
message:
//============================================================================
=
g++ -c -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I/usr/lib/qt-3.3/include -o Omega.o Omega.cpp
In file included from
/usr/include/boost/date_time/posix_time/posix_time.hpp:14,
                 from Omega.hpp:30,
                 from Omega.cpp:24:
/usr/include/boost/date_time/posix_time/ptime.hpp: In constructor
`boost::posix_time::ptime::ptime(boost::date_time::special_values)':
/usr/include/boost/date_time/posix_time/ptime.hpp:50: error: no matching
function for call to `boost::date_time::base_time<boost::posix_time::ptime,
boost::posix_time::posix_time_system>::base_time(const
boost::date_time::special_values&)'
/usr/include/boost/date_time/time.hpp:49: note: candidates are:
boost::date_time::base_time<boost::posix_time::ptime,
boost::posix_time::posix_time_system>::base_time(const
boost::date_time::base_time<boost::posix_time::ptime,
boost::posix_time::posix_time_system>&)
/usr/include/boost/date_time/time.hpp:63: note:
boost::date_time::base_time<T, time_system>::base_time(const typename
time_system::time_rep_type&) [with T = boost::posix_time::ptime, time_system =
boost::posix_time::posix_time_system]/usr/include/boost/date_time/time.hpp:60:
note:                 boost::date_time::base_time<T,
time_system>::base_time(const typename time_system::date_type&, const typename
time_system::time_duration_type&, boost::date_time::dst_flags) [with T =
boost::posix_time::ptime, time_system = boost::posix_time::posix_time_system]
/usr/include/boost/date_time/date_names_put.hpp: At global scope:
/usr/include/boost/date_time/date_names_put.hpp:143: warning: unused parameter
'oitr'
/usr/include/boost/date_time/date_names_put.hpp:143: warning: unused parameter
'wd'
/usr/include/boost/date_time/date_names_put.hpp:140: warning: unused parameter
'oitr'
/usr/include/boost/date_time/date_names_put.hpp:140: warning: unused parameter
'wd'
make[3]: *** [Omega.o] Error 1
make[3]: Leaving directory
`/cf/downloads/yade-all-0.9.0.911/yade-core/projects/kdevelop/yade'
make[2]: *** [sub-yade] Error 2
make[2]: Leaving directory
`/cf/downloads/yade-all-0.9.0.911/yade-core/projects/kdevelop'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cf/downloads/yade-all-0.9.0.911/yade-core'
make: *** [compile_install] Error 2
//============================================================================
===
Do you have any suggestions?

/////////////////////////////////////////////////////////////////////
Chen Feng

Graduate Student
Department of Civil and Environmental Engineering
University of Tennessee, Knoxville
(865) 974-2608 (1st floor lab)
//////////////////////////////////////////////////////////////////////

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



Follow ups