harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Thorne (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6596) [classlib][portlib] Compile of portlib/src/main/native/port/unix/hysock.c on z/OS fails with undeclared identifier IPV6_ADD_MEMBERSHIP
Date Thu, 22 Jul 2010 15:27:50 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12891218#action_12891218
] 

Colin Thorne commented on HARMONY-6596:
---------------------------------------

This problem occurs because of the #defines for add and drop membership in classlib\modules\portlib\src\main\native\include\unix\hysock.h

On Z/OS the define should be the same as FREEBSD and MACOS:
#define OS_IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
#define OS_IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP

I will attach a patch.

> [classlib][portlib] Compile of portlib/src/main/native/port/unix/hysock.c on z/OS fails
with undeclared identifier IPV6_ADD_MEMBERSHIP
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-6596
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6596
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M14
>         Environment: z/OS
>            Reporter: Colin Thorne
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message