axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhay Bhave (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2C-924) Compiling source on HP-UX11.11v2
Date Sun, 20 Jan 2008 19:52:34 GMT

    [ https://issues.apache.org/jira/browse/AXIS2C-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560859#action_12560859
] 

Abhay Bhave commented on AXIS2C-924:
------------------------------------

Here is a make check output.
I had to change all the sample Makefiles to remove "-ansi -Wall" (gcc
options unknown to aCC).
Make check server is good.
Make and make install of server is good.
Make check fails in client and user_guide.
See the output below.

According to my source code getopt.h is used in
./util/include/platforms/unix/axutil_unix.h
The getopt.h should be conditionally included.

Thanks
Abhay

No suffix list.
        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.


> Compiling source on HP-UX11.11v2
> --------------------------------
>
>                 Key: AXIS2C-924
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-924
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.2.0
>         Environment: HP-UX 11.11v2 - aC++ compiler.
>            Reporter: Abhay Bhave
>         Attachments: diff.txt
>
>
> I think I am able to configure and make (make & make install) the source after lot
of struggle.
> I am using LIBXML2.  I don't have Apache installed to test WSDL2C tool.
> The sample services did not compile and didn't get installed.
> The axis2c_http_server is created in AXIS2C_HOME/bin but it can not be started. It complains
with error 34.
> The sample code complains about getopt.h, strcasecomp etc.
> Has any one successfully installed and tested the samples on HP-UX 11.11 or HP-UX11.23v1
(Itanium)?
> How to get over the getopt.h and strcasecomp issue?
> Is it possible to get the WSDL2C tool without Apache being installed?
> Thanks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message