Menu

#1271 Manual Build wsdlh2 does not work (Version 2.8.81)

v1.0 (example)
closed
None
5
2020-03-16
2020-01-30
No

To Version 2.8.80 I could build soapcpp2 und wsdl2 manully

  1. cd gsoap/src
  2. make -f MakefileManual soapcpp2
  3. cd gsoap/wsdl
  4. make -f MakefileManual secure
  5. make -f Makefile Manual

From Version 2.8.81 it is not possible.

I get following ErrorMessage:

In file included from ../stdsoap2.h:920:0,
from ../stdsoap2.cpp:65:
../stdsoap2.cpp:565:12: error: expected unqualified-id before 'int'
extern int h_errno;
^
../stdsoap2.cpp:565:12: error: expected ')' before 'int'
../stdsoap2.cpp:565:12: error: expected ')' before 'int'
../stdsoap2.cpp: In function 'int tcp_gethostbyname(soap, const char, hostent, in_addr)':
../stdsoap2.cpp:5110:85: error: cannot convert 'char' to 'hostent_data' for argument '3' to 'int gethostbyname_r(const char, hostent, hostent_data*)'
while ((r = gethostbyname_r(addr, hostent, tmpbuf, tmplen, &hostent, &soap->errnum)) < 0)

In attachment you can find the complete output of the buildprocess

1 Attachments

Discussion

  • Erich Schober

    Erich Schober - 2020-01-30

    Operating System is AIX 7.2

     
  • Erich Schober

    Erich Schober - 2020-01-30

    Gsoap 2.8.97: output of build process

     
  • Robert van Engelen

    The manual makefiles do not check for AIX, but stdsoap2.h checks only for AIX4.3 and AIX4.1. which are out-dated at this time.

    AIX is a pain due to non-POSIX compliance, so we need autoconf to do the job.

    If you try the following to see if we can get the manual build to work that would be nice:

    change stdsoap2.h around line 339 to:

    # elif defined(_AIX)
    

    then build soapcpp2 and wsdl2h with make -f MakefileManual in src and wsdl.

    If that does not work, please use ./configure && make to build.

     
  • Erich Schober

    Erich Schober - 2020-02-18

    Thank you very much for your support

     
  • Robert van Engelen

    • status: open --> closed
    • assigned_to: Robert van Engelen
     

Log in to post a comment.

Auth0 Logo