yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #03649
Re: Compilation error
Thanks Vaclav.
I am using gcc version 4.1. I'm using the latest revision from bazaar (2099).
chiab@engs-018383:~/yadeNew/Branch7$ scons version=b7 PREFIX=/home/chiab/yadeNew/YADEb7 optimize=1 features=gts,vtk,opengl,openmp,log4cxx brief=0
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `b7' (bzr2099), installed files will be suffixed with `-b7'.
All intermediary files will be in `/home/chiab/yadeNew/build-b7'.
Checking whether c++ compiler "g++" works...(cached) yes
Finding libstdc++ library... (cached) /usr/lib/gcc/x86_64-linux-gnu/4.3.3/libstdc++.so
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system-mt... (cached) no
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system... (cached) no
Checking for boost::thread::thread() in C++ library boost_thread-mt... (cached) yes
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... (cached) yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... (cached) yes
Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... (cached) yes
Checking for boost::regex("") in C++ library boost_regex-mt... (cached) yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in C++ library boost_serialization-mt... (cached) yes
Checking for boost::program_options::options_description o in C++ library boost_program_options-mt... (cached) yes
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for sqlite3_close(0L) in C++ library sqlite3... (cached) yes
Checking for Python development files... (cached) yes
/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated
from sets import Set
Checking for python module `IPython' ...(cached) yes
Checking for boost::python::scope() in C++ library boost_python-mt... (cached) yes
Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
Checking for glutGetModifiers() in C++ library glut... (cached) yes
Checking for qt-mt in /usr/share/qt3... (cached) yes
Checking for vtkInstantiator::New() in C++ library vtkCommon... (cached) yes
Checking for gts_object_class() in C++ library gts... (cached) yes
Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o /home/chiab/yadeNew/build-b7/core/core.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/core/core.cpp
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/GLViewer.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/GLViewer.cpp
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/QtFileGenerator.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/QtFileGenerator.cpp
In file included from /home/chiab/yadeNew/build-b7/core/core.cpp:23:
/usr/include/boost/date_time/gregorian_calendar.ipp: In function 'std::string boost::posix_time::to_iso_string(boost::posix_time::ptime)':
/usr/include/boost/date_time/gregorian_calendar.ipp:122: note: 'year.boost::gregorian::greg_year::<anonymous>.boost::CV::constrained_value<boost::CV::simple_exception_policy<short unsigned int, 1400u, 10000u, boost::gregorian::bad_year> >::value_' was declared here
/usr/include/boost/date_time/gregorian_calendar.ipp:122: note: 'year.boost::gregorian::greg_year::<anonymous>.boost::CV::constrained_value<boost::CV::simple_exception_policy<short unsigned int, 1400u, 10000u, boost::gregorian::bad_year> >::value_' was declared here
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/QtGUI.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/QtGUI.cpp
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/QtGUIPreferences.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/QtGUIPreferences.cpp
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/SimulationController.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/SimulationController.cpp
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/YadeQtMainWindow.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/YadeQtMainWindow.cpp
In file included from gui/qt3/YadeQtMainWindow.cpp:23:
/usr/share/qt3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/share/qt3/include/qimage.h:61: warning: suggest parentheses around && within ||
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/moc_GLViewer.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 /home/chiab/yadeNew/build-b7/gui/qt3/moc_GLViewer.cc
g++ -o /home/chiab/yadeNew/build-b7/lib/serialization-qt/QtGUIGenerator.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include lib/serialization-qt/QtGUIGenerator.cpp
g++ -o /home/chiab/yadeNew/build-b7/lib/serialization-qt/moc_QtGUIGenerator.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/lib/serialization-qt/moc_QtGUIGenerator.cc
g++ -o /home/chiab/yadeNew/build-b7/plugins0.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins0.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins1.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins1.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins2.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins2.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins3.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins3.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins4.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins4.cpp
In file included from /usr/include/c++/4.3/backward/strstream:51,
from /usr/include/vtk-5.0/vtkIOStream.h:36,
from /usr/include/vtk-5.0/vtkSystemIncludes.h:40,
from /usr/include/vtk-5.0/vtkIndent.h:24,
from /usr/include/vtk-5.0/vtkObjectBase.h:43,
from /usr/include/vtk-5.0/vtkObject.h:41,
from /usr/include/vtk-5.0/vtkCellArray.h:35,
from /home/chiab/yadeNew/Branch7/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:2,
from /home/chiab/yadeNew/build-b7/plugins4.cpp:4:
/usr/include/c++/4.3/backward/backward_warning.h:33: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.
g++ -o /home/chiab/yadeNew/build-b7/plugins5.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins5.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins6.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins6.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins7.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins7.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins8.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins8.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins9.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins9.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins10.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins10.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins11.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins11.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins12.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins12.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins13.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins13.cpp
g++ -o /home/chiab/yadeNew/build-b7/plugins14.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/chiab/yadeNew/build-b7/plugins14.cpp
g++ -o /home/chiab/yadeNew/build-b7/gui/qt3/SnapshotEngine.os -c -pipe -Wall -O3 -fopenmp -O3 -march=native -fPIC -DMINIWM3 -DYADE_GTS -DYADE_LOG4CXX -DYADE_OPENGL -DYADE_OPENMP -DYADE_VTK -DSUFFIX=\"-b7\" -DPREFIX=\"/home/chiab/yadeNew/YADEb7\" -DYADE_OPENMP -DYADE_CAST=static_cast -DYADE_PTR_CAST=static_pointer_cast -DNDEBUG -I/usr/include/eigen -I/usr/include/vtk-5.0 -I/home/chiab/yadeNew/build-b7/include/yade-b7 -Iinclude/yade-b7 -I/home/chiab/yadeNew/build-b7/include/yade-b7/yade/lib-miniWm3 -Iinclude/yade-b7/yade/lib-miniWm3 -I/usr/include/python2.6 -I/usr/share/qt3/include -I/usr/share/qt3/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/chiab/yadeNew/build-b7/gui/qt3 -Igui/qt3 gui/qt3/SnapshotEngine.cpp
In file included from /home/chiab/yadeNew/build-b7/plugins14.cpp:5:
/home/chiab/yadeNew/Branch7/pkg/common/Engine/GlobalEngine/ResetRandomPosition.cpp: In member function 'virtual void ResetRandomPosition::action()':
/home/chiab/yadeNew/Branch7/pkg/common/Engine/GlobalEngine/ResetRandomPosition.cpp:73: warning: 'is_overlap' may be used uninitialized in this function
gcc -o /home/chiab/yadeNew/build-b7/py/_gts.so -Wl,-rpath=\$ORIGIN/../extra -Wl,-rpath=\$ORIGIN/../gui -Wl,-rpath=\$ORIGIN/../lib -Wl,-rpath=\$ORIGIN/../py -Wl,-rpath=\$ORIGIN/../plugins -Wl,-rpath=\$ORIGIN/../../extra -Wl,-rpath=\$ORIGIN/../../gui -Wl,-rpath=\$ORIGIN/../../lib -Wl,-rpath=\$ORIGIN/../../py -Wl,-rpath=\$ORIGIN/../../plugins -Wl,-rpath=\$ORIGIN/../lib/yade-b7/lib -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 -pthread -Wl,--export-dynamic -rdynamic -z origin -shared -rdynamic /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/cleanup.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/edge.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/face.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/object.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/point.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/pygts.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/segment.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/surface.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/triangle.os /home/chiab/yadeNew/build-b7/py/3rd-party/pygts-0.3.1/vertex.os -L/usr/share/qt3/lib -L/usr/share/qt3/lib -L/home/chiab/yadeNew/YADEb7/lib/yade-b7/extra -L/home/chiab/yadeNew/YADEb7/lib/yade-b7/gui -L/home/chiab/yadeNew/YADEb7/lib/yade-b7/lib -L/home/chiab/yadeNew/YADEb7/lib/yade-b7/py -L/home/chiab/yadeNew/YADEb7/lib/yade-b7/plugins -lpthread -lboost_thread-mt -lboost_date_time-mt -lboost_filesystem-mt -lboost_iostreams-mt -lboost_regex-mt -lboost_serialization-mt -lboost_program_options-mt -lsqlite3 -lpthread -ldl -lutil -lboost_python-mt -lglut -lqt-mt -lqt-mt -lvtkCommon -lvtkHybrid -lgts -lm -lgthread-2.0 -lrt -lgmodule-2.0 -lglib-2.0 -lgts -llog4cxx -lminiWm3 -lgomp
/usr/bin/ld: cannot find -lgomp
collect2: ld returned 1 exit status
scons: *** [/home/chiab/yadeNew/build-b7/py/_gts.so] Error 1
scons: building terminated because of errors.
Yours,
Boon
> From: eudoxos@xxxxxxxx
> To: yade-dev@xxxxxxxxxxxxxxxxxxx
> Date: Wed, 24 Mar 2010 17:00:50 +0100
> Subject: Re: [Yade-dev] Compilation error
>
> > What is -lgomp?
> gomp library, GNU runtime for OpenMP... What is your compiler version?
> Can you attach full build log, with brief=0?
> > latest release:
> Do you mean 0.20-2?? That is ages old.
>
> v
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help : https://help.launchpad.net/ListHelp
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
References