yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06893
Re: [Question #217584]: virtual memory exhausted: on using "make"
Question #217584 on Yade changed:
https://answers.launchpad.net/yade/+question/217584
eli posted a new comment:
Hi,
This has solved my problem,but there are some other questons.
[ 41%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveFrictionalContactLaw.cpp.o
[ 42%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/L3Geom.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
from /home/lxg/yade/build/yade/core/IGeom.hpp:11,
from /home/lxg/yade/build/yade/pkg/dem/L3Geom.hpp:3,
from /home/lxg/yade/pkg/dem/L3Geom.cpp:2:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/dem/L3Geom.cpp:350:53: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: 警告: 在‘enum Eigen::Transform<double, 3, 2>::<anonymous>’和‘enum Eigen::TransformTraits’间比较 [-Wenum-compare]
[ 42%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNSEngine.cpp.o
[ 43%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Ip2_FrictMat_FrictMat_CapillaryPhys.cpp.o
[ 43%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/Shop.cpp.o
[ 44%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/CohesiveFrictionalPM.cpp.o
[ 44%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/DomainLimiter.cpp.o
In file included from /usr/include/eigen3/Eigen/Geometry:42:0,
from /home/lxg/yade/build/yade/lib/base/Math.hpp:24,
from /home/lxg/yade/build/yade/lib/serialization/Serializable.hpp:37,
from /home/lxg/yade/build/yade/core/Engine.hpp:13,
from /home/lxg/yade/build/yade/core/GlobalEngine.hpp:11,
from /home/lxg/yade/build/yade/pkg/common/PeriodicEngines.hpp:5,
from /home/lxg/yade/build/yade/pkg/dem/DomainLimiter.hpp:2,
from /home/lxg/yade/pkg/dem/DomainLimiter.cpp:1:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h: In instantiation of ‘struct Eigen::internal::transform_traits<Eigen::Transform<double, 3, 2> >’:
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:415:3: required from ‘class Eigen::Transform<double, 3, 2>’
/home/lxg/yade/pkg/dem/DomainLimiter.cpp:254:58: required from here
/usr/include/eigen3/Eigen/src/Geometry/Transform.h:38:3: 警告: 在‘enum Eigen::Transform<double, 3, 2>::<anonymous>’和‘enum Eigen::TransformTraits’间比较 [-Wenum-compare]
[ 52%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCTDEngine.cpp.o
[ 53%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/ThreeDTriaxialEngine.cpp.o
[ 53%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/SpherePack.cpp.o
In file included from /usr/include/eigen3/Eigen/Core:266:0,
from /home/lxg/yade/build/yade/lib/base/Math.hpp:23,
from /home/lxg/yade/build/yade/pkg/dem/SpherePack.hpp:20,
from /home/lxg/yade/pkg/dem/SpherePack.cpp:3:
/usr/include/eigen3/Eigen/src/Core/MathFunctions.h: 在成员函数‘long int SpherePack::particleSD_2d(Vector2r, Vector2r, Real, bool, std::string, int, const std::vector<double>&, const std::vector<double>&, bool, int)’中:
/usr/include/eigen3/Eigen/src/Core/MathFunctions.h:305:14: 警告: 此函数中的‘dr.Eigen::DenseStorage<double, 3, 3, 1, 0>::m_data.Eigen::internal::plain_array<double, 3, 0, 0>::array[2u]’在使用前可能未初始化 [-Wuninitialized]
/home/lxg/yade/pkg/dem/SpherePack.cpp:412:16: 附注: ‘dr.Eigen::DenseStorage<double, 3, 3, 1, 0>::m_data.Eigen::internal::plain_array<double, 3, 0, 0>::array[2u]’在此声明
[ 58%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/KinemCNLEngine.cpp.o
[ 59%] Building CXX object CMakeFiles/plugins.dir/pkg/dem/VTKRecorder.cpp.o
In file included from /usr/include/c++/4.7/backward/strstream:52:0,
from /usr/local/include/vtk-5.10/vtkIOStream.h:108,
from /usr/local/include/vtk-5.10/vtkSystemIncludes.h:40,
from /usr/local/include/vtk-5.10/vtkIndent.h:24,
from /usr/local/include/vtk-5.10/vtkObjectBase.h:43,
from /usr/local/include/vtk-5.10/vtkObject.h:41,
from /usr/local/include/vtk-5.10/vtkCell.h:40,
from /usr/local/include/vtk-5.10/vtkQuad.h:25,
from /home/lxg/yade/pkg/dem/VTKRecorder.hpp:3,
from /home/lxg/yade/pkg/dem/VTKRecorder.cpp:3:
/usr/include/c++/4.7/backward/backward_warning.h:33:2: 警告: #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. [-Wcpp]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp: 在成员函数‘virtual void VTKRecorder::action()’中:
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:32: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:49: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:66: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:83: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:100: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:117: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:134: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:151: 警告: left operand of comma operator has no effect [-Wunused-value]
/home/lxg/yade/pkg/dem/VTKRecorder.cpp:356:168: 警告: left operand of comma operator has no effect [-Wunused-value]
[ 78%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ForceResetter.cpp.o
[ 78%] Building CXX object CMakeFiles/plugins.dir/pkg/common/ElastMat.cpp.o
[ 79%] Building CXX object CMakeFiles/plugins.dir/pkg/common/InsertionSortCollider.cpp.o
[ 80%] Building CXX object CMakeFiles/plugins.dir/pkg/common/Cylinder.cpp.o
c++: 编译器内部错误: 已杀死(程序 cc1plus)
请提交一份完整的错误报告,
如有可能请附上经预处理后的源文件。
具体步骤请参见 <file:///usr/share/doc/gcc-4.7/README.Bugs>。
make[2]: *** [CMakeFiles/plugins.dir/pkg/common/Cylinder.cpp.o] 错误 4
make[1]: *** [CMakeFiles/plugins.dir/all] 错误 2
make: *** [all] 错误 2
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.