Return-Path: Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: (qmail 1654 invoked from network); 5 Dec 2010 21:01:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Dec 2010 21:01:36 -0000 Received: (qmail 57951 invoked by uid 500); 5 Dec 2010 21:01:36 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 57876 invoked by uid 500); 5 Dec 2010 21:01:35 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 57865 invoked by uid 99); 5 Dec 2010 21:01:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Dec 2010 21:01:35 +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; Sun, 05 Dec 2010 21:01:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB5L1BWS010285 for ; Sun, 5 Dec 2010 21:01:11 GMT Message-ID: <4177493.119521291582871525.JavaMail.jira@thor> Date: Sun, 5 Dec 2010 16:01:11 -0500 (EST) From: "Winfried (JIRA)" To: c-dev@axis.apache.org Subject: [jira] Created: (AXIS2C-1510) compile error on OS X when building samples 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 compile error on OS X when building samples ------------------------------------------- Key: AXIS2C-1510 URL: https://issues.apache.org/jira/browse/AXIS2C-1510 Project: Axis2-C Issue Type: Bug Components: platforms/unix Affects Versions: 1.7.0 Environment: OS X 10.6.2 Reporter: Winfried Priority: Minor I was very pleased to find that Axis2/c 1.7.0RC2 builds correctly on OS X 10.6. However when building the samples directory I got the following error: Making all in echo gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/axis2c/include/axis2-1.7.0 -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror -Wno-implicit-function-declaration -g -D_GNU_SOURCE -MT echo.o -MD -MP -MF .deps/echo.Tpo -c -o echo.o echo.c In file included from /usr/local/axis2c/include/axis2-1.7.0/platforms/unix/axutil_unix.h:126, from /usr/local/axis2c/include/axis2-1.7.0/platforms/axutil_platform_auto_sense.h:53, from /usr/local/axis2c/include/axis2-1.7.0/axutil_dll_desc.h:31, from /usr/local/axis2c/include/axis2-1.7.0/axutil_class_loader.h:31, from /usr/local/axis2c/include/axis2-1.7.0/axis2_util.h:24, from echo.c:21: /usr/include/unistd.h:495: error: conflicting types for 'swab' /usr/include/string.h:137: error: previous declaration of 'swab' was here In file included from /usr/local/axis2c/include/axis2-1.7.0/platforms/unix/axutil_unix.h:126, from /usr/local/axis2c/include/axis2-1.7.0/platforms/axutil_platform_auto_sense.h:53, from /usr/local/axis2c/include/axis2-1.7.0/axutil_dll_desc.h:31, from /usr/local/axis2c/include/axis2-1.7.0/axutil_class_loader.h:31, from /usr/local/axis2c/include/axis2-1.7.0/axis2_util.h:24, from echo.c:21: /usr/include/unistd.h:570: error: conflicting types for 'setkey' /usr/include/stdlib.h:235: error: previous declaration of 'setkey' was here /usr/include/unistd.h:590: error: conflicting types for 'getsubopt' /usr/include/stdlib.h:206: error: previous declaration of 'getsubopt' was here make[3]: *** [echo.o] Error 1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org