Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6596

[classlib][portlib] Compile of portlib/src/main/native/port/unix/hysock.c on z/OS fails with undeclared identifier IPV6_ADD_MEMBERSHIP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0M14
    • 5.0M15
    • Classlib
    • None
    • z/OS

    Description

      Compile of hysock.c is failing with the following:

      [exec] ERROR CCN3045 /sandbox/classlib/modules/portlib/src/main/native/port/unix/hysock.c:477 Undeclared identifier IPV6_ADD_MEMBERSHIP.
      [exec] ERROR CCN3045 /sandbox/classlib/modules/portlib/src/main/native/port/unix/hysock.c:479 Undeclared identifier IPV6_DROP_MEMBERSHIP.
      [exec] WARNING CCN3280/sandbox/classlib/modules/portlib/src/main/native/port/unix/hysock.c:1474 Function argument assignment between types "char*" and "const char*" is not allowed.
      [exec] WARNING CCN3280 /sandbox/classlib/modules/portlib/src/main/native/port/unix/hysock.c:2233 Function argument assignment between types "char*" and "const char*" is not allowed.
      [exec] CCN0793(I) Compilation failed for file ./hysock.c. Object file not created.
      [exec] FSUM3065 The COMPILE step ended with return code 12.

      Attachments

        1. bug6596.patch
          0.6 kB
          Colin Thorne

        Activity

          People

            regis_xu Regis Xu
            cjthorne Colin Thorne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: