axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Mantaut (JIRA)" <>
Subject [jira] [Updated] (AXIS2C-1587) axis2c 1.6.0 doesn't compile on Solaris11 (easy fix)
Date Mon, 13 May 2013 18:25:17 GMT


Alex Mantaut updated AXIS2C-1587:

    Attachment: axis2c_solaris.patch

The issue was fixed in trunk in r812450...

Anyways if you need to compile 1.6 branch in solaris you can safely remove the usleep() define...

Attached patch takes care of that...

Can someone close the issue?
> axis2c 1.6.0 doesn't compile on Solaris11 (easy fix)
> ----------------------------------------------------
>                 Key: AXIS2C-1587
>                 URL:
>             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
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message