From commits-return-63247-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Thu Jul 22 15:35:46 2010 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 35371 invoked from network); 22 Jul 2010 15:35:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jul 2010 15:35:45 -0000 Received: (qmail 7317 invoked by uid 500); 22 Jul 2010 15:35:45 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 7201 invoked by uid 500); 22 Jul 2010 15:35:45 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 7194 invoked by uid 99); 22 Jul 2010 15:35:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jul 2010 15:35:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jul 2010 15:35:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6MFRocj029573 for ; Thu, 22 Jul 2010 15:27:50 GMT Message-ID: <7840926.520581279812470312.JavaMail.jira@thor> Date: Thu, 22 Jul 2010 11:27:50 -0400 (EDT) From: "Colin Thorne (JIRA)" To: commits@harmony.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 In-Reply-To: <11412833.520491279812193029.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.