svn 1942 fails to compile

Bug #414868 reported by Janek Kozicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yade
Fix Released
Undecided
Václav Šmilauer

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

Related branches

Revision history for this message
Janek Kozicki (cosurgi) wrote :

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

Revision history for this message
Anton Gladky (gladky-anton) wrote : Re: [Bug 414868] Re: svn 1942 fails to compile

BZR is OK for committing already.
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

2009/8/17 Janek Kozicki <email address hidden>

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

Revision history for this message
Václav Šmilauer (eudoxos) wrote :

For now, no commits, as I don't know where to commit either ;-) What g++ and headers do you have? I didn't have this with either 4.2, 4.3 and 4.4.

I will fix commit your fix at some point.

Thanks.

Changed in yade:
assignee: nobody → Václav Šmilauer (eudoxos)
status: New → In Progress
Revision history for this message
Václav Šmilauer (eudoxos) wrote :

We're contradicting each other ;-) but really don't commit now, we just discussed that with Anton.

Revision history for this message
Janek Kozicki (cosurgi) wrote :

debian squeeze.

gcc version 4.3.3 (Debian 4.3.3-14)
boost 1.38
libgcc1 1:4.4.0-5
libc6-dev 2.9-12 (file /usr/include/sys/signal.h )

I'm not sure what other headers :)

Revision history for this message
Anton Gladky (gladky-anton) wrote :

Sorry, that was my fault. I was thinking, that if my branch is in trunk, it
is possible to commit there :)
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy

2009/8/17 Janek Kozicki <email address hidden>

> debian squeeze.
>
> gcc version 4.3.3 (Debian 4.3.3-14)
> boost 1.38
> libgcc1 1:4.4.0-5
> libc6-dev 2.9-12 (file /usr/include/sys/signal.h )
>
> I'm not sure what other headers :)
>
> --
> svn 1942 fails to compile
> https://bugs.launchpad.net/bugs/414868
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: In Progress
>
> 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
>

Janek Kozicki (cosurgi)
Changed in yade:
status: In Progress → Fix Committed
Changed in yade:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Changed in yade:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.