INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

gsoap server program compile error on fedora12

gsoap server program compile error on fedora12

(OP)
I installed gsoap on fedora12.
# yum -y install gsoap gsoap-devel gcc-c++
I want to create a gsoap server program.
$ wsdl2h -o quote.h http://www.xignite.com/xGlobalQuotes.asmx?WSDL
$ soapcpp2 -I/usr/share/gsoap/import:/usr/share/gsoap quote.h
Please help to fix the compile errors:
$ g++ -Wno-deprecated -I/usr/share/gsoap/import:/usr/share/gsoap -L/
home/tcma/gsoap-2.7/gsoap -o soapServer.o soapServer.cpp -lgsoap++
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
/tmp/ccAVt2N0.o: In function
`soap_serve___ns2__GetGlobalDelayedQuote(soap*)':
soapServer.cpp:(.text+0x32f): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_default(soap*)'
soapServer.cpp:(.text+0x341): undefined reference to
`soap_default___ns2__GetGlobalDelayedQuote(soap*,
__ns2__GetGlobalDelayedQuote*)'
soapServer.cpp:(.text+0x36d): undefined reference to
`soap_get___ns2__GetGlobalDelayedQuote(soap*,
__ns2__GetGlobalDelayedQuote*, char const*, char const*)'
soapServer.cpp:(.text+0x3e8): undefined reference to
`__ns2__GetGlobalDelayedQuote(soap*, _ns1__GetGlobalDelayedQuote*,
_ns1__GetGlobalDelayedQuoteResponse*)'
soapServer.cpp:(.text+0x417): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0x429): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0x476): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x4ab): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_put(soap*, char const*,
char const*) const'
soapServer.cpp:(.text+0x533): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x568): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_put(soap*, char const*,
char const*) const'
/tmp/ccAVt2N0.o: In function
`soap_serve___ns2__GetGlobalDelayedQuotes(soap*)':
soapServer.cpp:(.text+0x617): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_default(soap*)'
soapServer.cpp:(.text+0x629): undefined reference to
`soap_default___ns2__GetGlobalDelayedQuotes(soap*,
__ns2__GetGlobalDelayedQuotes*)'
soapServer.cpp:(.text+0x655): undefined reference to
`soap_get___ns2__GetGlobalDelayedQuotes(soap*,
__ns2__GetGlobalDelayedQuotes*, char const*, char const*)'
soapServer.cpp:(.text+0x6d0): undefined reference to
`__ns2__GetGlobalDelayedQuotes(soap*, _ns1__GetGlobalDelayedQuotes*,
_ns1__GetGlobalDelayedQuotesResponse*)'
soapServer.cpp:(.text+0x6ff): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0x711): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0x75e): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x793): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_put(soap*, char const*,
char const*) const'
soapServer.cpp:(.text+0x81b): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x850): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_put(soap*, char const*,
char const*) const'
/tmp/ccAVt2N0.o: In function `soap_serve___ns2__GetGlobalTick(soap*)':
soapServer.cpp:(.text+0x8ff): undefined reference to
`_ns1__GetGlobalTickResponse::soap_default(soap*)'
soapServer.cpp:(.text+0x911): undefined reference to
`soap_default___ns2__GetGlobalTick(soap*, __ns2__GetGlobalTick*)'
soapServer.cpp:(.text+0x93d): undefined reference to
`soap_get___ns2__GetGlobalTick(soap*, __ns2__GetGlobalTick*, char
const*, char const*)'
soapServer.cpp:(.text+0x9b8): undefined reference to
`__ns2__GetGlobalTick(soap*, _ns1__GetGlobalTick*,
_ns1__GetGlobalTickResponse*)'
soapServer.cpp:(.text+0x9e7): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0x9f9): undefined reference to
`_ns1__GetGlobalTickResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0xa46): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0xa7b): undefined reference to
`_ns1__GetGlobalTickResponse::soap_put(soap*, char const*, char
const*) const'
soapServer.cpp:(.text+0xb03): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0xb38): undefined reference to
`_ns1__GetGlobalTickResponse::soap_put(soap*, char const*, char
const*) const'
/tmp/ccAVt2N0.o: In function
`soap_serve___ns2__GetGlobalTicks(soap*)':
soapServer.cpp:(.text+0xbe7): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_default(soap*)'
soapServer.cpp:(.text+0xbf9): undefined reference to
`soap_default___ns2__GetGlobalTicks(soap*, __ns2__GetGlobalTicks*)'
soapServer.cpp:(.text+0xc25): undefined reference to
`soap_get___ns2__GetGlobalTicks(soap*, __ns2__GetGlobalTicks*, char
const*, char const*)'
soapServer.cpp:(.text+0xca0): undefined reference to
`__ns2__GetGlobalTicks(soap*, _ns1__GetGlobalTicks*,
_ns1__GetGlobalTicksResponse*)'
soapServer.cpp:(.text+0xccf): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0xce1): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0xd2e): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0xd63): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_put(soap*, char const*, char
const*) const'
soapServer.cpp:(.text+0xdeb): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0xe20): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_put(soap*, char const*, char
const*) const'
/tmp/ccAVt2N0.o: In function
`soap_serve___ns3__GetGlobalDelayedQuote(soap*)':
soapServer.cpp:(.text+0xecf): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_default(soap*)'
soapServer.cpp:(.text+0xee1): undefined reference to
`soap_default___ns3__GetGlobalDelayedQuote(soap*,
__ns3__GetGlobalDelayedQuote*)'
soapServer.cpp:(.text+0xf0d): undefined reference to
`soap_get___ns3__GetGlobalDelayedQuote(soap*,
__ns3__GetGlobalDelayedQuote*, char const*, char const*)'
soapServer.cpp:(.text+0xf88): undefined reference to
`__ns3__GetGlobalDelayedQuote(soap*, _ns1__GetGlobalDelayedQuote*,
_ns1__GetGlobalDelayedQuoteResponse*)'
soapServer.cpp:(.text+0xfb7): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0xfc9): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0x1016): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x104b): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_put(soap*, char const*,
char const*) const'
soapServer.cpp:(.text+0x10d3): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x1108): undefined reference to
`_ns1__GetGlobalDelayedQuoteResponse::soap_put(soap*, char const*,
char const*) const'
/tmp/ccAVt2N0.o: In function
`soap_serve___ns3__GetGlobalDelayedQuotes(soap*)':
soapServer.cpp:(.text+0x11b7): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_default(soap*)'
soapServer.cpp:(.text+0x11c9): undefined reference to
`soap_default___ns3__GetGlobalDelayedQuotes(soap*,
__ns3__GetGlobalDelayedQuotes*)'
soapServer.cpp:(.text+0x11f5): undefined reference to
`soap_get___ns3__GetGlobalDelayedQuotes(soap*,
__ns3__GetGlobalDelayedQuotes*, char const*, char const*)'
soapServer.cpp:(.text+0x1270): undefined reference to
`__ns3__GetGlobalDelayedQuotes(soap*, _ns1__GetGlobalDelayedQuotes*,
_ns1__GetGlobalDelayedQuotesResponse*)'
soapServer.cpp:(.text+0x129f): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0x12b1): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0x12fe): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x1333): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_put(soap*, char const*,
char const*) const'
soapServer.cpp:(.text+0x13bb): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x13f0): undefined reference to
`_ns1__GetGlobalDelayedQuotesResponse::soap_put(soap*, char const*,
char const*) const'
/tmp/ccAVt2N0.o: In function `soap_serve___ns3__GetGlobalTick(soap*)':
soapServer.cpp:(.text+0x149f): undefined reference to
`_ns1__GetGlobalTickResponse::soap_default(soap*)'
soapServer.cpp:(.text+0x14b1): undefined reference to
`soap_default___ns3__GetGlobalTick(soap*, __ns3__GetGlobalTick*)'
soapServer.cpp:(.text+0x14dd): undefined reference to
`soap_get___ns3__GetGlobalTick(soap*, __ns3__GetGlobalTick*, char
const*, char const*)'
soapServer.cpp:(.text+0x1558): undefined reference to
`__ns3__GetGlobalTick(soap*, _ns1__GetGlobalTick*,
_ns1__GetGlobalTickResponse*)'
soapServer.cpp:(.text+0x1587): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0x1599): undefined reference to
`_ns1__GetGlobalTickResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0x15e6): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x161b): undefined reference to
`_ns1__GetGlobalTickResponse::soap_put(soap*, char const*, char
const*) const'
soapServer.cpp:(.text+0x16a3): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x16d8): undefined reference to
`_ns1__GetGlobalTickResponse::soap_put(soap*, char const*, char
const*) const'
/tmp/ccAVt2N0.o: In function
`soap_serve___ns3__GetGlobalTicks(soap*)':
soapServer.cpp:(.text+0x1787): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_default(soap*)'
soapServer.cpp:(.text+0x1799): undefined reference to
`soap_default___ns3__GetGlobalTicks(soap*, __ns3__GetGlobalTicks*)'
soapServer.cpp:(.text+0x17c5): undefined reference to
`soap_get___ns3__GetGlobalTicks(soap*, __ns3__GetGlobalTicks*, char
const*, char const*)'
soapServer.cpp:(.text+0x1840): undefined reference to
`__ns3__GetGlobalTicks(soap*, _ns1__GetGlobalTicks*,
_ns1__GetGlobalTicksResponse*)'
soapServer.cpp:(.text+0x186f): undefined reference to
`soap_serializeheader'
soapServer.cpp:(.text+0x1881): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_serialize(soap*) const'
soapServer.cpp:(.text+0x18ce): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x1903): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_put(soap*, char const*, char
const*) const'
soapServer.cpp:(.text+0x198b): undefined reference to `soap_putheader'
soapServer.cpp:(.text+0x19c0): undefined reference to
`_ns1__GetGlobalTicksResponse::soap_put(soap*, char const*, char
const*) const'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalDelayedQuoteResponse::_ns1__GetGlobalDelayedQuoteResponse() ':
soapServer.cpp:
(.text._ZN35_ns1__GetGlobalDelayedQuoteResponseC2Ev[_ZN35_ns1__GetGlobalDel ayedQuoteResponseC5Ev]
+0x8): undefined reference to `vtable for
_ns1__GetGlobalDelayedQuoteResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalDelayedQuoteResponse::~_ns1__GetGlobalDelayedQuoteResponse( )':
soapServer.cpp:
(.text._ZN35_ns1__GetGlobalDelayedQuoteResponseD2Ev[_ZN35_ns1__GetGlobalDel ayedQuoteResponseD5Ev]
+0xb): undefined reference to `vtable for
_ns1__GetGlobalDelayedQuoteResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalDelayedQuotesResponse::_ns1__GetGlobalDelayedQuotesResponse ()':
soapServer.cpp:
(.text._ZN36_ns1__GetGlobalDelayedQuotesResponseC2Ev[_ZN36_ns1__GetGlobalDe layedQuotesResponseC5Ev]
+0x8): undefined reference to `vtable for
_ns1__GetGlobalDelayedQuotesResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalDelayedQuotesResponse::~_ns1__GetGlobalDelayedQuotesRespons e()':
soapServer.cpp:
(.text._ZN36_ns1__GetGlobalDelayedQuotesResponseD2Ev[_ZN36_ns1__GetGlobalDe layedQuotesResponseD5Ev]
+0xb): undefined reference to `vtable for
_ns1__GetGlobalDelayedQuotesResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalTickResponse::_ns1__GetGlobalTickResponse()':
soapServer.cpp:
(.text._ZN27_ns1__GetGlobalTickResponseC2Ev[_ZN27_ns1__GetGlobalTickRespons eC5Ev]
+0x8): undefined reference to `vtable for _ns1__GetGlobalTickResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalTickResponse::~_ns1__GetGlobalTickResponse()':
soapServer.cpp:
(.text._ZN27_ns1__GetGlobalTickResponseD2Ev[_ZN27_ns1__GetGlobalTickRespons eD5Ev]
+0xb): undefined reference to `vtable for _ns1__GetGlobalTickResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalTicksResponse::_ns1__GetGlobalTicksResponse()':
soapServer.cpp:
(.text._ZN28_ns1__GetGlobalTicksResponseC2Ev[_ZN28_ns1__GetGlobalTicksRespo nseC5Ev]
+0x8): undefined reference to `vtable for
_ns1__GetGlobalTicksResponse'
/tmp/ccAVt2N0.o: In function
`_ns1__GetGlobalTicksResponse::~_ns1__GetGlobalTicksResponse()':
soapServer.cpp:
(.text._ZN28_ns1__GetGlobalTicksResponseD2Ev[_ZN28_ns1__GetGlobalTicksRespo nseD5Ev]
+0xb): undefined reference to `vtable for
_ns1__GetGlobalTicksResponse'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_init':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:6688: undefined reference
to `namespaces'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_set_error':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14920: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14922: undefined reference
to `soap_faultsubcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14923: undefined reference
to `soap_faultstring'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14925: undefined reference
to `soap_faultdetail'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_set_fault':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14511: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14512: undefined reference
to `soap_faultstring'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14603: undefined reference
to `soap_faultsubcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14608: undefined reference
to `soap_faultsubcode'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_sprint_fault':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15079: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15085: undefined reference
to `soap_faultstring'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15086: undefined reference
to `soap_faultdetail'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15084: undefined reference
to `soap_faultsubcode'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_print_fault':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15019: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15025: undefined reference
to `soap_faultstring'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15026: undefined reference
to `soap_faultdetail'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15024: undefined reference
to `soap_faultsubcode'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `http_response':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14426: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_recv_header':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:13784: undefined reference
to `soap_getheader'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_send_fault':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14749: undefined reference
to `soap_serializeheader'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14750: undefined reference
to `soap_serializefault'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14754: undefined reference
to `soap_putheader'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14756: undefined reference
to `soap_putfault'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14761: undefined reference
to `soap_putheader'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14761: undefined reference
to `soap_putfault'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_recv_fault':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14792: undefined reference
to `soap_getfault'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14797: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:14802: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/libgsoap++.a(libgsoap___a-stdsoap2_cpp.o):
In function `soap_stream_fault':
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15045: undefined reference
to `soap_faultcode'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15051: undefined reference
to `soap_faultstring'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15052: undefined reference
to `soap_faultdetail'
/home/akao/gsoap-2.7/gsoap/stdsoap2_cpp.cpp:15050: undefined reference
to `soap_faultsubcode'
collect2: ld returned 1 exit status

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close