← Back to team overview

yade-dev team mailing list archive

[Bug 414868] Re: svn 1942 fails to compile

 

ok, adding a line #include <signal.h> fixed the problem. But I don't
know whether to commit it to svn or not :)

-- 
svn 1942 fails to compile
https://bugs.launchpad.net/bugs/414868
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
I got this error on a clean checkout of svn 1942:

py/yadeWrapper/yadeWrapper.cpp: In function `void termHandler(int)':
py/yadeWrapper/yadeWrapper.cpp:235: error: `SIGTERM' was not declared in this scope
py/yadeWrapper/yadeWrapper.cpp:235: error: `raise' was not declared in this scope
py/yadeWrapper/yadeWrapper.cpp: In member function `void pyOmega::exitNoBacktrace(int)':
py/yadeWrapper/yadeWrapper.cpp:464: error: `SIGSEGV' was not declared in this scope
py/yadeWrapper/yadeWrapper.cpp:464: error: `signal' was not declared in this scope

That's my config:

PREFIX = '/home/janek/tmp/ZZ/BIN'
optimize = True
exclude = 'none'
features = 'openGL,python'
jobs = 8
version = 'trunk-ZZ'
CPPPATH = ['/usr/include/wm3']
QTDIR = ['/usr/share/qt3', '/usr/lib/qt', '/usr/lib/qt3', '/usr/qt/3', '/usr/lib/qt-3.3']
CXX = 'colorgcc'
CXXFLAGS = []
SHCCFLAGS = ['-fPIC']
useMiniWm3 = False



Follow ups

References