stdsoap2.cpp missing?

Bug #902307 reported by aded
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gsoap (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

stdsoap2.cpp is required to create client/server libraries (see gsoap doc, 19.36.1).

1) Description: Ubuntu 11.10
2) gsoap 2.8.3-1ubuntu1

best regards,
aded

Revision history for this message
Julian Taylor (jtaylor) wrote :

the package includes libgsoap.a and libgsoap++.a which according to the documentation are the compiled versions of these files.
If this is not sufficient I recommend filing a bug in debian where this package is maintained.

Revision history for this message
Julian Taylor (jtaylor) wrote :
Revision history for this message
Mattias Ellert (mattias-ellert-fysast) wrote :

The package contains all files installed by "make install" in upstream's build script (except for a few that were removed for license reasons). Upstream's build script does not install the stdsoap2.c and stdsoap2.cpp source files.

The package includes the gsoap library compiled from the source for both C and C++, each in three different flavours. Make sure to use the compiler flags from pkg-config for the flavour of the library you use when compiling code that includes stdsoap2.h header. This way you use the same compiler options as the library you link to, even though they all use the same header file. Not using the right flags will cause problems.

$ pkg-config --cflags gsoap
-DWITH_IPV6 -DWITH_DOM
$ pkg-config --cflags gsoapck
-DWITH_IPV6 -DWITH_COOKIES -DWITH_DOM
$ pkg-config --cflags gsoapssl
-DWITH_IPV6 -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP

Revision history for this message
aded (alessandro-dedonno) wrote :

Julian and Mattias,

thanks for your answers. We need a "WITH_NONAMESPACES" flag to compile (from doc: "Note: when you forget to use -DWITH_NONAMESPACES you will get an unresolved link error for the global namespaces table").
Anyway we can also read: "You can define a dummy table to avoid having to recompile stdsoap2.cpp", so this isn't a bug.

Thanks again,
aded

Changed in gsoap (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.