axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Blough (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AXIS2C-1587) axis2c 1.6.0 doesn't compile on Solaris11 (easy fix)
Date Sat, 17 Aug 2019 17:57:00 GMT

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

Bill Blough closed AXIS2C-1587.
-------------------------------
    Resolution: Fixed

Verified that patch was applied.

> axis2c 1.6.0 doesn't compile on Solaris11 (easy fix)
> ----------------------------------------------------
>
>                 Key: AXIS2C-1587
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1587
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0
>         Environment: Solaris 11 with gcc
>            Reporter: Coder J Monkey
>            Priority: Major
>         Attachments: axis2c_solaris.patch
>
>
> I was unable to compile on Solaris 11 out of the box because of this define in
> util/include/platforms/unix/axutil_unix.h:
> extern int usleep (__useconds_t __useconds);
> __useconds_t is a non-POSIX define and doesn't work on all platforms.
> I added:
> #ifdef useconds_t
> extern int usleep (useconds_t __useconds);
> #endif
> As a guard around this definition, and everything compiled just fine, but that's possibly
the wrong
> guard. Since I don't know the history of why this was added it's hard to say why it should
be there.
> Once I fixed this is compiled perfectly.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message