Claudia Neumann
2010-06-20 10:44:36 UTC
Hi all!
My system: Linux Debian Lenny, kernel 2.6.26, gcc 4.1.3, g++ 4.3.4
gsoap (2.7.17, downloaded from Sourceforge) doesn't compile all samples. It
hangs with:
make[6]: Entering directory `/usr/src/gsoap-2.7/gsoap/samples/factorytest'
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../gsoap -I../../../gsoap/plugin -DLINUX -g -O2 -MT
factorytest.o -MD -MP -MF .deps/factorytest.Tpo -c -o factorytest.o
factorytest.cpp
factorytest.cpp:52:22: error: iostream.h: Datei oder Verzeichnis nicht
gefunden
factorytest.cpp: In function ‘int main(int, char**)’:
factorytest.cpp:170: error: ‘cout’ was not declared in this scope
factorytest.cpp:170: error: ‘endl’ was not declared in this scope
I suppose cout and endl have to be declared. But I don't know how to do this
in C++.
Next I wanted to follow the example in
1.2 Quick Start: Developing a Web Service Client Application
and tried to compile calcclient with C.
***@Compac-deb:~/soap$ cc -o calcclient.c soapC.c soapClient.c -lgsoap
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
/usr/local/lib/libgsoap.a(libgsoap_a-stdsoap2.o): In function `soap_init':
/usr/src/gsoap-2.7/gsoap/stdsoap2.c:8053: undefined reference to `namespaces'
collect2: ld returned 1 exit status
What namespaces do I have to use and where should I change it?
Best regards
Claudia
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/gsoap/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/gsoap/join
(Yahoo! ID required)
<*> To change settings via email:
gsoap-digest-***@public.gmane.org
gsoap-fullfeatured-***@public.gmane.org
<*> To unsubscribe from this group, send an email to:
gsoap-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
My system: Linux Debian Lenny, kernel 2.6.26, gcc 4.1.3, g++ 4.3.4
gsoap (2.7.17, downloaded from Sourceforge) doesn't compile all samples. It
hangs with:
make[6]: Entering directory `/usr/src/gsoap-2.7/gsoap/samples/factorytest'
g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../gsoap -I../../../gsoap/plugin -DLINUX -g -O2 -MT
factorytest.o -MD -MP -MF .deps/factorytest.Tpo -c -o factorytest.o
factorytest.cpp
factorytest.cpp:52:22: error: iostream.h: Datei oder Verzeichnis nicht
gefunden
factorytest.cpp: In function ‘int main(int, char**)’:
factorytest.cpp:170: error: ‘cout’ was not declared in this scope
factorytest.cpp:170: error: ‘endl’ was not declared in this scope
I suppose cout and endl have to be declared. But I don't know how to do this
in C++.
Next I wanted to follow the example in
1.2 Quick Start: Developing a Web Service Client Application
and tried to compile calcclient with C.
***@Compac-deb:~/soap$ cc -o calcclient.c soapC.c soapClient.c -lgsoap
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crt1.o: In function
`_start':
(.text+0x18): undefined reference to `main'
/usr/local/lib/libgsoap.a(libgsoap_a-stdsoap2.o): In function `soap_init':
/usr/src/gsoap-2.7/gsoap/stdsoap2.c:8053: undefined reference to `namespaces'
collect2: ld returned 1 exit status
What namespaces do I have to use and where should I change it?
Best regards
Claudia
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/gsoap/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/gsoap/join
(Yahoo! ID required)
<*> To change settings via email:
gsoap-digest-***@public.gmane.org
gsoap-fullfeatured-***@public.gmane.org
<*> To unsubscribe from this group, send an email to:
gsoap-unsubscribe-***@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/