jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • JRuby
  • JRUBY-2346

Nailgun does not compile under HP-UX

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Charles Oliver Nutter added a comment - 04/Feb/09 4:30 AM

Fixed in r8995.

Show
Charles Oliver Nutter added a comment - 04/Feb/09 4:30 AM Fixed in r8995.
Hide
Permalink
Marty Lamb added a comment - 14/Mar/10 3:56 PM

This is now fixed in the nailgun trunk at https://nailgun.svn.sourceforge.net/svnroot/nailgun/trunk/nailgun

Thanks for the fix!

Show
Marty Lamb added a comment - 14/Mar/10 3:56 PM This is now fixed in the nailgun trunk at https://nailgun.svn.sourceforge.net/svnroot/nailgun/trunk/nailgun Thanks for the fix!

People

  • Assignee:
    Charles Oliver Nutter
    Reporter:
    Jake Benilov
Vote (0)
Watch (1)

Dates

  • Created:
    31/Mar/08 7:40 AM
    Updated:
    14/Mar/10 3:56 PM
    Resolved:
    04/Feb/09 4:30 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.