[cmake-developers] [CMake 0015028]: CMake build error on QNX

Mantis Bug Tracker mantis at public.kitware.com
Thu Jul 17 06:23:47 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15028 
====================================================================== 
Reported By:                Bob E.
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15028
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2014-07-17 06:23 EDT
Last Modified:              2014-07-17 06:23 EDT
====================================================================== 
Summary:                    CMake build error on QNX
Description: 
cmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:3682: error: 'SA_RESTART' was
not declared in this scope
cc: /usr/qnx650/host/qnx6/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus
error 1
make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o] Error 1


Steps to Reproduce: 
Make Cmake from sources.

Additional Information: 
QNX not support SA_RESTART signal:

qnx6\usr\include\signal.h
/* #define  SA_RESTART      0x0040 (not supported yet) */    /* Restart the
kernel call on signal return */

In ProcessUNIX.c this error was resolved earlier.
Patch correct it in SystemInformation.cxx

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-07-17 06:23 Bob E.         New Issue                                    
2014-07-17 06:23 Bob E.         File Added: SystemInformation.cxx.QNX.path      
             
======================================================================



More information about the cmake-developers mailing list