Nailgun does not compile under HP-UX
------------------------------------

                 Key: JRUBY-2346
                 URL: http://jira.codehaus.org/browse/JRUBY-2346
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
         Environment: HP-UX B.11.11
            Reporter: Rustbear
            Priority: Minor
             Fix For: JRuby 1.1+


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to