← Back to team overview

yade-users team mailing list archive

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

 

Thanks for the reply, actually I already updated the boost to 1.33 before I 
install yade, anyway I used the 'yum update' and updated the kernel to 
2.6.12-1.1378_FC3, the problem went away, it seems to me every small step in 
the linux you have to pay a lot and endure those strange errors:)

>===== Original Message From Olivier Galizzi <olivier.galizzi@xxxxxxx> =====
>Feng, Chen wrote:
>
>>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:6
0:
>>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
>>
>>
>Hi,
>
>It is strange that your graphic drivers doesn't work under FC4 because
>I'm using FC4 with those driver and it is working perfectly ??
>Just be careful that you have those lines in the first lines of file
>/usr/include/GL/gl.h
>
>#ifndef APIENTRY
>#define APIENTRY
>#endif
>
>#ifndef GLAPIENTRY
>#define GLAPIENTRY
>#endif
>
>Those two define should be there otherwise it is not possible to compile
>GL stuff.
>
>Your problem with FC3 comes, I think, from the fact that you have not
>installed boost version 1.32 or more. (see
>http://yade.berlios.de/index.php?m=400 for required library to compile
>and run yade)
>I think FC3 comes with boost 1.31 by default. Try "yum update boost" and
>"yum update boost-devel" or download rpm from official fedora website :
>http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/
>if your yum is not configured well.
>
>I hope this will help.
>
>Olivier
>_______________________________________________
>Yade-users mailing list
>Yade-users@xxxxxxxxxxxxxxxx
>http://lists.berlios.de/mailman/listinfo/yade-users

/////////////////////////////////////////////////////////////////////
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