Operating System - HP-UX
1753719 Members
5236 Online
108799 Solutions
New Discussion юеВ

Error during install gsoap in HP-UX

 
Sanjay0074
New Member

Error during install gsoap in HP-UX

Hi,
I am facing the Following errors during installation of gsoap in HP-UX 11.11, any help in this matter would be highly appreciated





** The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.13
** Copyright (C) 2000-2009, Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The gSOAP compiler is released under one of the following three licenses:
** GPL, the gSOAP public license, or the commercial license by Genivia Inc.

Saving wsdlStub.h annotated copy of the input definitions
Saving wsdlH.h serializers
Saving wsdlC.cpp serializers
Saving sd.nsmap namespace mapping table

Compilation successful

make all-am
source='wsdl2h.cpp' object='wsdl2h-wsdl2h.o' libtool=no \
depfile='.deps/wsdl2h-wsdl2h.Po' tmpdepfile='.deps/wsdl2h-wsdl2h.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-wsdl2h.o `test -f wsdl2h.cpp || echo './'`wsdl2h.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
source='wsdl.cpp' object='wsdl2h-wsdl.o' libtool=no \
depfile='.deps/wsdl2h-wsdl.Po' tmpdepfile='.deps/wsdl2h-wsdl.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-wsdl.o `test -f wsdl.cpp || echo './'`wsdl.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
Warning 829: "wsdl.cpp", line 96 # Implicit conversion of string literal to 'char *' is deprecated.
targetNamespace = "";
^^^^^^^^^^^^^^^
Warning 829: "wsdl.cpp", line 355 # Implicit conversion of string literal to 'char *' is deprecated.
targetNamespace = "";
^^^^^^^^^^^^^^^
Warning 829: "wsdl.cpp", line 984 # Implicit conversion of string literal to 'char *' is deprecated.
(*import).namespace_ = "";
^^^^^^^^^^^^^^^^^^
source='schema.cpp' object='wsdl2h-schema.o' libtool=no \
depfile='.deps/wsdl2h-schema.Po' tmpdepfile='.deps/wsdl2h-schema.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-schema.o `test -f schema.cpp || echo './'`schema.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
Warning 829: "schema.cpp", line 261 # Implicit conversion of string literal to 'char *' is deprecated.
targetNamespace = "";
^^^^^^^^^^^^^^^
source='types.cpp' object='wsdl2h-types.o' libtool=no \
depfile='.deps/wsdl2h-types.Po' tmpdepfile='.deps/wsdl2h-types.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-types.o `test -f types.cpp || echo './'`types.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
Warning 829: "types.cpp", line 1826 # Implicit conversion of string literal to 'char *' is deprecated.
prefix = "_";
^^^^^^
Warning 829: "types.cpp", line 2031 # Implicit conversion of string literal to 'char *' is deprecated.
prefix = "_";
^^^^^^
source='service.cpp' object='wsdl2h-service.o' libtool=no \
depfile='.deps/wsdl2h-service.Po' tmpdepfile='.deps/wsdl2h-service.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-service.o `test -f service.cpp || echo './'`service.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
source='soap.cpp' object='wsdl2h-soap.o' libtool=no \
depfile='.deps/wsdl2h-soap.Po' tmpdepfile='.deps/wsdl2h-soap.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-soap.o `test -f soap.cpp || echo './'`soap.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
source='mime.cpp' object='wsdl2h-mime.o' libtool=no \
depfile='.deps/wsdl2h-mime.Po' tmpdepfile='.deps/wsdl2h-mime.TPo' \
depmode=none /bin/sh ../../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gsoap -DWITH_OPENSSL -DWITH_GZIP -L -DWSDL_IMPORT_PATH="\"/usr/local/share/gsoap/WS\"" -g -AA -c -o wsdl2h-mime.o `test -f mime.cpp || echo './'`mime.cpp
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
aCC -g -AA -I../../gsoap -L. -o wsdl2h wsdl2h-wsdl2h.o wsdl2h-wsdl.o wsdl2h-schema.o wsdl2h-types.o wsdl2h-service.o wsdl2h-soap.o wsdl2h-mime.o wsdlC.cpp ../../gsoap/libgsoapssl++.a -lssl -lcrypto -lz
Warning 829: "wsdlStub.h", line 235 # Implicit conversion of string literal to 'char *' is deprecated.
xs__any() : namespace_("##any"), processContents((enum xs__processContents)0), minOccur
^^^^^^^
Warning 829: "wsdlStub.h", line 351 # Implicit conversion of string literal to 'char *' is deprecated.
xs__anyAttribute() : namespace_("##any"), processContents((enum xs__processContents)0) { }
^^^^^^^
Warning 829: "wsdlC.cpp", line 8006 # Implicit conversion of string literal to 'char *' is deprecated.
this->wsdl__definitions::targetNamespace = "";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 829: "wsdlC.cpp", line 9737 # Implicit conversion of string literal to 'char *' is deprecated.
this->xs__anyAttribute::namespace_ = "##any";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 829: "wsdlC.cpp", line 10054 # Implicit conversion of string literal to 'char *' is deprecated.
this->xs__any::namespace_ = "##any";
^^^^^^^^^^^^^^^^^^^^^^^^^
Warning 829: "wsdlC.cpp", line 12573 # Implicit conversion of string literal to 'char *' is deprecated.
this->xs__schema::targetNamespace = "";
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/ccs/bin/ld: Can't find library: "z"
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
6 REPLIES 6
Nido
Trusted Contributor

Re: Error during install gsoap in HP-UX

Hello Sanjay,

Install and use latest stable gcc version , specify compiler in configure file.

Or you may take a look here also:
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.2.3/


Let me know the updates.

Cheers!!
" Let Villagers Be Happy!! "
Sanjay0074
New Member

Re: Error during install gsoap in HP-UX

Hi,
i am using aCC compiler not gcc.

Thanks,
Sanjay
Nido
Trusted Contributor

Re: Error during install gsoap in HP-UX

>>>>>aCC -g -AA -I../../gsoap -L. -o wsdl2h wsdl2h-wsdl2h.o wsdl2h-wsdl.o wsdl2h-schema.o wsdl2h-types.o wsdl2h-service.o wsdl2h-soap.o wsdl2h-mime.o wsdlC.cpp ../../gsoap/libgsoapssl++.a -lssl -lcrypto -lz


I saw the messages and suggested you to go for gcc ;-)

and also suggested you to specify gcc as your compiler in configure file.

Cheers!!
" Let Villagers Be Happy!! "
Dennis Handly
Acclaimed Contributor

Re: Error during install gsoap in HP-UX

>I am using aCC compiler not gcc.
>ld: Can't find library: "z"

You should use +W829 so you can suppress that warning to you can see the forest.
Your particular problem is that you need to install libz:
http://hpux.connect.org.uk/hppd/hpux/Misc/zlib-1.2.3/
William Overstreet
New Member

Re: Error during install gsoap in HP-UX

install the depot off your install disk for gtk2.6, GTK 2.6.8.00.01, it has the zlib files in there.

add LDFLAGS="-L/opt/gtk2.6/lib/" to your ./configure arguments and try compiling again.


./configure --prefix=/opt/gsoap/ CC="aCC -AA" CXX="aCC -AA" LDFLAGS="-L/opt/gtk2.6/lib/"

I ran across errors trying to put -AA in CFLAGS and CXXFLAGS, that is why I stuck them in with CC and CXX
Dennis Handly
Acclaimed Contributor

Re: Error during install gsoap in HP-UX

>William: I ran across errors trying to put -AA in CFLAGS and CXXFLAGS, that is why I stuck them in with CC and CXX

-AA is an aCC option and it should work with CXXFLAGS.

You should not be doing this either: CC="aCC -AA"