Return-Path: X-Original-To: apmail-axis-c-dev-archive@www.apache.org Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DF2FDF13 for ; Thu, 27 Dec 2012 09:04:15 +0000 (UTC) Received: (qmail 72379 invoked by uid 500); 27 Dec 2012 09:04:15 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 72204 invoked by uid 500); 27 Dec 2012 09:04:15 -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 72174 invoked by uid 99); 27 Dec 2012 09:04:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Dec 2012 09:04:14 +0000 Date: Thu, 27 Dec 2012 09:04:14 +0000 (UTC) From: "Nandika Jayawardana (JIRA)" To: c-dev@axis.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (AXIS2C-1524) Build failure when enabling curl support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2C-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539875#comment-13539875 ] Nandika Jayawardana edited comment on AXIS2C-1524 at 12/27/12 9:03 AM: ----------------------------------------------------------------------- adjusted and committed the patch to the current svn trunk. Thanks for the patch. was (Author: nandika): adjusted and commited the patch to the current svn trunk. Thanks for the patch. > Build failure when enabling curl support > ---------------------------------------- > > Key: AXIS2C-1524 > URL: https://issues.apache.org/jira/browse/AXIS2C-1524 > Project: Axis2-C > Issue Type: Bug > Components: transport/http > Affects Versions: Current (Nightly) > Environment: Debian Lenny, gcc 4.3.2. SVN trunk checkout rev 1056550 > Reporter: Bill Blough > Assignee: Nandika Jayawardana > Priority: Minor > Attachments: AXIS2C-1524_patch.diff > > > Building with --enable-libcurl fails with the following errors (warnings really, but -Werror is enabled): > http_sender.c:3183: error: 'axis2_http_sender_connection_map_create' defined but not used > http_sender.c:3288: error: 'axis2_http_sender_connection_map_get' defined but not used > Both functions are used in axis2_http_sender_send, which is only defined when not using libcurl. > adding #ifndef statements for those two functions produces one more "defined but not used" warning about axis2_http_sender_connection_map_free. > In addition to those issues, there is also > libcurl/axis2_libcurl.c:121: error: unused variable 'content_len' > which appears to be caused by code that exists but is commented out. > I have added the #ifndefs as necessary, and also commented out content_len. > Also, I have included the error buffer change from Robert Schweikert's patch for AXIS2C-1522. > At present, I get a clean compile with those changes. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org