You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Jeff Ng <je...@lmco.com> on 2013/03/23 01:49:21 UTC

Re: Fail to compiling axis2c on Solaris 10 64-bit

Ariel Gamrasni <Ar...@...> writes:

> 
> Hi all,
> 
> I have just successfully managed to compile axis2c on Solaris 9 sparc in
> 32-bit using the Sun compiler (Sun C 5.8) with some manual modifications
> to some makefiles and source codes.
> 
> Now I'm trying to do the same on Solaris 10 sparc in 64-bit using the
> next Sun compiler version (Sun C 5.9) and I'm stuck.
> 
> /opt/SUNWspro/prod/bin/cc -DHAVE_CONFIG_H -I. -I../../../../../..
> ...
> -DAXIS2_SVR_MULTI_THREADED -c mod_axis2.c  -KPIC -DPIC -o
> .libs/mod_axis2.o
> "/usr/include/sys/vnode.h", line 578: syntax error before or at: uio_t
> ...
> "/usr/include/netinet/in.h", line 977: incomplete struct/union/enum
> sockaddr_storage: gr_group
> "mod_axis2.c", line 260: warning: implicit function declaration:
> strcasecmp
> cc: acomp failed for mod_axis2.c
> *** Error code 1
> make: Fatal error: Command failed for target `mod_axis2.lo'
> *** Error code 1
> Ariel.

Ariel,

Did you ever resolve this issue?  I am stuck at the exact same spot you 
describe here and cannot find the solution.  I'm trying to build axis2-c 1.6.0 
on Solaris 10 using Sun C 5.9 SunOS_sparc.

Thanks,
  Jeff


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


Re: Fail to compiling axis2c on Solaris 10 64-bit

Posted by Nandika Jayawardana <ja...@gmail.com>.
Usually, all platform specific functions are defined in the header files
provided in the axis2c/trunk/util/include/platforms directory and included
in axis2_platform_auto_sense.h. So any platform specific definitions should
go there. If you find any functions, definitions, missing, you can define
them in the platforms sections and make it work.

Regards
Nandika

On Sat, Mar 23, 2013 at 6:19 AM, Jeff Ng <je...@lmco.com> wrote:

> Ariel Gamrasni <Ar...@...> writes:
>
> >
> > Hi all,
> >
> > I have just successfully managed to compile axis2c on Solaris 9 sparc in
> > 32-bit using the Sun compiler (Sun C 5.8) with some manual modifications
> > to some makefiles and source codes.
> >
> > Now I'm trying to do the same on Solaris 10 sparc in 64-bit using the
> > next Sun compiler version (Sun C 5.9) and I'm stuck.
> >
> > /opt/SUNWspro/prod/bin/cc -DHAVE_CONFIG_H -I. -I../../../../../..
> > ...
> > -DAXIS2_SVR_MULTI_THREADED -c mod_axis2.c  -KPIC -DPIC -o
> > .libs/mod_axis2.o
> > "/usr/include/sys/vnode.h", line 578: syntax error before or at: uio_t
> > ...
> > "/usr/include/netinet/in.h", line 977: incomplete struct/union/enum
> > sockaddr_storage: gr_group
> > "mod_axis2.c", line 260: warning: implicit function declaration:
> > strcasecmp
> > cc: acomp failed for mod_axis2.c
> > *** Error code 1
> > make: Fatal error: Command failed for target `mod_axis2.lo'
> > *** Error code 1
> > Ariel.
>
> Ariel,
>
> Did you ever resolve this issue?  I am stuck at the exact same spot you
> describe here and cannot find the solution.  I'm trying to build axis2-c
> 1.6.0
> on Solaris 10 using Sun C 5.9 SunOS_sparc.
>
> Thanks,
>   Jeff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>
>