Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.2
-
Component/s: Extensions
-
Labels:None
-
Environment:HP-UX B.11.11
-
Patch Submitted:Yes
Description
When trying to compile ng makefile on HP-UX, the following error appears:
Building ng client. To build a Windows binary, type 'make ng.exe'
gcc -Wall -pedantic -s -O3 -o ng src/c/ng.c
src/c/ng.c: In function `recvToFD':
src/c/ng.c:235: error: `MSG_WAITALL' undeclared (first use in this function)
src/c/ng.c:235: error: (Each undeclared identifier is reported only once
src/c/ng.c:235: error: for each function it appears in.)
src/c/ng.c: In function `processExit':
src/c/ng.c:271: error: `MSG_WAITALL' undeclared (first use in this function)
-
-
- Error exit code 1
-
Stop.
The workaround for this is to add the following lines to src/c/ng.c:
#ifndef MSG_WAITALL
#define MSG_WAITALL 0x40 /* wait for full request or error */
#endif
Fixed in r8995.