You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Bill Blough (Jira)" <ji...@apache.org> on 2020/04/07 17:09:00 UTC

[jira] [Updated] (AXIS2C-1524) Build failure when enabling curl support

     [ https://issues.apache.org/jira/browse/AXIS2C-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Blough updated AXIS2C-1524:
--------------------------------
    Fix Version/s: 1.7.0

> 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: Korale Gamaralalage Nandika Chandrasiri Jayawardana
>            Priority: Minor
>             Fix For: 1.7.0
>
>         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 was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org