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 Senaka Fernando <se...@wso2.com> on 2008/01/20 21:01:24 UTC

Compiling source on HP-UX11.11v2

Hi devs,
Please look at the build errors on a HP-UX system, while building samples.
Are we missing something here? Refer JIRA [1] for more information.

[1] https://issues.apache.org/jira/browse/AXIS2C-924

Regards,
Senaka


>         source='echo.c' object='echo.o' libtool=no \
>         DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
>         aCC -Ae -DHAVE_CONFIG_H -I. -I. -I../..
> -I/tmp/avb/include/axis2-1.1   -I. -I/export/force/extern/9_8/
> include/sys -I/usr -I/usr/include -I/usr/local/include  -AA -mt -w +p
> -Wl,+n -D_KERNEL_THREADS -D_HPUX_SOURCE
> -D_RWSTD_MULTI_THREAD -DRW_MULTI_THREAD -D_THREAD_SAFE -DTELEXEL_MUTEX
> -DPTHREAD_SAFE -D_POSIX_C_SOURCE=199506
> L -D_TMPROTOTYPES -DXWF_USE_RW -D_REENTRANT -DGEN_USE_RW_REGEX
> -DNO_STD_ALLOCATOR -DNOIPC -D_VIS_STD +inst_imp
> licit_include -D_SYS_TIMES_INCLUDED +DA2.0  -I/usr/local/include/libxml2
> -c echo.c
> aCC: warning 967: Option -AA or -AP does not apply to ANSI C
> compilation, ignored.
> Error 42: "/usr/include/stdlib.h", line 282 # ANSI C requires same
> function declarations to have compatible
>     types. Previous function declaration was "int getopt(int,char *const
> *,const char *)"
>     ["/usr/include/stdio.h", line 520].
>            extern int getopt(int, char * const [], const char *);
>                       ^^^^^^
> Error 42: "/usr/include/strings.h", line 59 # ANSI C requires same
> function declarations to have compatible
>     types. Previous function declaration was "int strcasecmp(const char
> *,const char *)"
>     ["/usr/include/string.h", line 305].
>            extern int strcasecmp(const char *, const char *);
>                       ^^^^^^^^^^
> Error 42: "/usr/include/strings.h", line 60 # ANSI C requires same
> function declarations to have compatible
>     types. Previous function declaration was "int strncasecmp(const char
> *,const char *,unsigned long)"
>     ["/usr/include/string.h", line 306].
>            extern int strncasecmp(const char *, const char *, size_t);
>                       ^^^^^^^^^^^
> Error 112: "/tmp/avb/include/axis2-1.1/platforms/unix/axutil_unix.h",
> line 115 # Include file <getopt.h> not
>     found.
>     #include <getopt.h>
>              ^^^^^^^^^^
> Error 42: "/usr/include/sys/unistd.h", line 197 # ANSI C requires same
> function declarations to have
>     compatible types. Previous function declaration was "int
> getopt(int,char *const *,const char *)"
>     ["/usr/include/stdio.h", line 520].
>          extern int getopt __((int, char * const [], const char *));/*
> was <stdio.h>
>                     ^^^^^^
> Error 42: "/usr/include/sys/unistd.h", line 225 # ANSI C requires same
> function declarations to have
>     compatible types. Previous function declaration was "int
> rename(const char *,const char *)"
>     ["/usr/include/stdio.h", line 226].
>             extern int rename __((const char *, const char *));     /*
> now in <stdio.h> */
>                        ^^^^^^
> *** Error exit code 2
>
> Stop.
>



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