Hello,
I've succesfully created a standalone multithreaded server, and now
i'm in the process of creating the client.
I'll have several different soap servers, and the client will access
all of them, so i need to be able to do soap requests to many of them.
I managed to create a client in pseudo-C that can access a single
server, but i've had troubles with several servers (symbol
collisions).
My language of choice is C++, so now i'm trying to use C++ namespaces.
This time it looks like I don't get symbol collisions, but even for
single-server code, i can't get it to link correctly.
This is the output (currently running under archlinux):
$ g++ client.cpp stdsoap2.cpp HelloProxy.cpp HelloC.cpp CalcProxy.cpp
CalcC.cpp -lgsoap++ -lgsoapck++ -lgsoapssl++
/tmp/ccZvegDi.o: In function `soap_init':
stdsoap2.cpp:(.text+0x2dc0): undefined reference to `namespaces'
/tmp/ccZvegDi.o: In function `soap_set_error':
stdsoap2.cpp:(.text+0x381a): undefined reference to `soap_faultcode'
stdsoap2.cpp:(.text+0x3832): undefined reference to `soap_faultsubcode'
stdsoap2.cpp:(.text+0x3844): undefined reference to `soap_faultstring'
stdsoap2.cpp:(.text+0x3866): undefined reference to `soap_faultdetail'
/tmp/ccZvegDi.o: In function `soap_set_fault':

Do i have to link to gsoap libs in any special way, or am i missing something?
Thanks in advance for any help!



-- 
Saludos,
     Bruno González

_______________________________________________
Msn/Jabber: stenyak AT gmail.com
ICQ: 153709484
http://www.stenyak.com

Reply via email to