- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems compiling Gsoap in HP-UX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 05:57 AM
тАО07-28-2009 05:57 AM
Problems compiling Gsoap in HP-UX 11.00
make all-recursive
make[1]: Entering directory `/opt/ktopngen/gsoap/gsoap-2.7'
Making all in gsoap
make[2]: Entering directory `/opt/ktopngen/gsoap/gsoap-2.7/gsoap'
source='stdsoap2_cpp.cpp' object='libgsoap___a-stdsoap2_cpp.o' libtool=no \
depfile='.deps/libgsoap___a-stdsoap2_cpp.Po' tmpdepfile='.deps/libgsoap_
__a-stdsoap2_cpp.TPo' \
depmode=none /bin/sh ../depcomp \
aCC -DHAVE_CONFIG_H -I. -I. -I.. -DHP_UX -g -c -o libgsoap___a-stds
oap2_cpp.o `test -f 'stdsoap2_cpp.cpp' || echo './'`stdsoap2_cpp.cpp
Error (future) 600: "stdsoap2.h", line 1547 # Type specifier is omitted; "int"
is no longer assumed.
extern std::ostream &operator<<(std::ostream&, const struct soap
^^^^^^
Error 20: "stdsoap2.h", line 1547 # ';' expected before '::'.
extern std::ostream &operator<<(std::ostream&, const struct soap_dom_eleme
^^
Error 19: "stdsoap2.h", line 1547 # Unexpected 'std'.
extern std::ostream &operator<<(std::ostream&, const struct soap_dom_elemen
^^^
Error (future) 600: "stdsoap2.h", line 1548 # Type specifier is omitted; "int"
is no longer assumed.
extern std::istream &operator>>(std::istream&, struct soap_dom_e
Error 20: "stdsoap2.h", line 1548 # ';' expected before '::'.
extern std::istream &operator>>(std::istream&, struct soap_dom_element&);
^^
Error 19: "stdsoap2.h", line 1548 # Unexpected 'std'.
extern std::istream &operator>>(std::istream&, struct soap_dom_element&);
^^^
Error 19: "stdsoap2.h", line 1652 # Unexpected 'std'.
std::ostream *os;
^^^
Error 19: "stdsoap2.h", line 1653 # Unexpected 'std'.
std::istream *is;
^^^
Error 19: "stdsoap2.h", line 2165 # Unexpected 'std'.
SOAP_FMAC1 void SOAP_FMAC2 soap_stream_fault(struct soap*, std::ostream&);
^^^
Error 24: "stdsoap2_cpp.cpp", line 515 # 'class' expected instead of 'std'.
{ soap->os->write(s, (std::streamsize)n);
^^^
Error 537: "stdsoap2_cpp.cpp", line 515 # Cannot create a 'streamsize' object;
class streamsize has only been seen as an incomplete declaration.
{ soap->os->write(s, (std::streamsize)n);
^
Warning 749: "stdsoap2_cpp.cpp", line 576 # The cast from 'sockaddr_in *' to
'sockaddr *' is performed as a 'reinterpret_cast'. This operation is
non-portable and potentially unsafe.
sendto(soap->socket, s, (SOAP_WINSOCKINT)n, soap->socket_flags, (struct sock
addr*)&s
^^^^^^^^^^^^
^^^^^^
Error 24: "stdsoap2_cpp.cpp", line 885 # 'class' expected instead of 'std'.
return soap->is->read(s, (std::streamsize)n).gcount();
^^^
Error 537: "stdsoap2_cpp.cpp", line 885 # Cannot create a 'streamsize' object;
class streamsize has only been seen as an incomplete declaration.
return soap->is->read(s, (std::streamsize)n).gcount();
^
Warning 749: "stdsoap2_cpp.cpp", line 958 # The cast from 'sockaddr_in *' to
'sockaddr *' is performed as a 'reinterpret_cast'. This operation is
non-portable and potentially unsafe.
cvfrom(soap->socket, s, (SOAP_WINSOCKINT)n, soap->socket_flags, (struct sock
addr*)&s
^^^^^^^^^^^^
^^^^^^
Warning 749: "stdsoap2_cpp.cpp", line 3892 # The cast from 'sockaddr_in *' to
'sockaddr *' is performed as a 'reinterpret_cast'. This operation is
non-portable and potentially unsafe.
if (connect(fd, (struct sockaddr*)&soap->peer, sizeof(soap->peer)))
^^^^^^^^^^^^^^^^^^
Warning 749: "stdsoap2_cpp.cpp", line 4386 # The cast from 'sockaddr_in *' to
'sockaddr *' is performed as a 'reinterpret_cast'. This operation is
non-portable and potentially unsafe.
if (bind(soap->master, (struct sockaddr*)&soap->peer, (int)soap->peerlen)
Warning 749: "stdsoap2_cpp.cpp", line 4575 # The cast from 'sockaddr_in *' to
'sockaddr *' is performed as a 'reinterpret_cast'. This operation is
non-portable and potentially unsafe.
soap->socket = soap->faccept(soap, soap->master, (struct sockaddr*)&s
^^^^^^^^^^^^^^^^^^
Error 19: "stdsoap2_cpp.cpp", line 14970 # Unexpected 'std'.
soap_stream_fault(struct soap *soap, std::ostream& os)
^^^
Error 699: "stdsoap2_cpp.cpp", line 14970 # Error limit reached; halting
compilation.
soap_stream_fault(struct soap *soap, std::ostream& os)
^^^
make[2]: *** [libgsoap___a-stdsoap2_cpp.o] Error 2
make[2]: Leaving directory `/opt/ktopngen/gsoap/gsoap-2.7/gsoap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/ktopngen/gsoap/gsoap-2.7'
make: *** [all] Error 2
- Tags:
- gsoap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 08:54 AM
тАО07-28-2009 08:54 AM
Re: Problems compiling Gsoap in HP-UX 11.00
- Tags:
- -AA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 08:55 AM
тАО07-28-2009 08:55 AM
Re: Problems compiling Gsoap in HP-UX 11.00
What is the command to do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 09:13 AM
тАО07-28-2009 09:13 AM
Re: Problems compiling Gsoap in HP-UX 11.00
As I said, just add the -AA option to your compile and link command lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 09:26 AM
тАО07-28-2009 09:26 AM
Re: Problems compiling Gsoap in HP-UX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 09:42 AM
тАО07-28-2009 09:42 AM
Re: Problems compiling Gsoap in HP-UX 11.00
If you are happy with the answers you have gotten, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 09:52 AM
тАО07-28-2009 09:52 AM
Re: Problems compiling Gsoap in HP-UX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-28-2009 12:58 PM
тАО07-28-2009 12:58 PM
Re: Problems compiling Gsoap in HP-UX 11.00
http://forums.itrc.hp.com/service/forums/helptips.do?#41