Compilation error: ccache.c: In function 'register_signal_handler': ccache.c:405: error: 'SA_RESTART' undeclared (first use in this function) ccache.c:405: error: (Each undeclared identifier is reported only once ccache.c:405: error: for each function it appears in.) make: *** [ccache.o] Error 1 make: *** Waiting for unfinished jobs.... Proposed solution (ccache.c:405): #ifndef __QNXNTO__ act.sa_flags = SA_RESTART; #endif or #ifdef SA_RESTART act.sa_flags = SA_RESTART; #endif
Forgot to mention, it's really unsupported in QNX 6.5.0, not defined somewhere else or something: An exerpt from signal.h: --- cut --- /* #define SA_RESTART 0x0040 (not supported yet) */ /* Restart the kernel call on signal return */ --- cut ---
Thanks, fixed in 9bfc21b24ef4e5657c9e1b94854ac0d77f0039f1.