<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem mit Library von Axis(C++)]]></title><description><![CDATA[<p>Hallo, ich versuche gerade mit C++ auf den Webservice von Google zu zugreifen.<br />
Ich habe mir mit Hilfe des wsdl2ws Tools einen Stub erstellen lassen, doch ich kriege ihn nicht kompiliert!</p>
<pre><code>DirectoryCategory_Array.o(.text+0xd):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0x3b):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0x9f):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0xf5):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x167):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0x1bd):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x25b):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x285):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x323):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'

DirectoryCategory_Array.o(.text+0x34d):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x3eb):DirectoryCategory_Array.cpp: more undefined references to `axiscpp::Axis_Array::~Axis_Array()' follow
DirectoryCategory_Array.o(.text+0x53f):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::get(int&amp;, axiscpp::XSDTYPETag&amp;) const'
DirectoryCategory_Array.o(.text+0x711):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::clear()'
GoogleSearchPort.o(.text+0x1b):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'

GoogleSearchPort.o(.text+0x45):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
GoogleSearchPort.o(.text+0xa7):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
GoogleSearchPort.o(.text+0xcd):GoogleSearchPort.cpp: undefined reference to `axiscpp::Call::setEndpointURI(char const*)'
GoogleSearchPort.o(.text+0xf0):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::~Stub()'
GoogleSearchPort.o(.text+0x173):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
GoogleSearchPort.o(.text+0x199):GoogleSearchPort.cpp: undefined reference to `axiscpp::Call::setEndpointURI(char const*)'
GoogleSearchPort.o(.text+0x1bc):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::~Stub()'
...
</code></pre>
<p>Solche Fehler bekommt man doch immer wenn man die Library nicht richtig eingebunden hat oder ?<br />
Ich benutze Dev-Cpp und habe die Libary bzw. den Ordner in dem sie ist auch angegeben, einmal im Projekt und einmal Allgemein.</p>
<p>Ich habe auch schon versucht das ganze über die console zu compilieren</p>
<pre><code>g++ *.cpp -I&quot;D:\pfad\include&quot; -L&quot;D:\pfad\lib\axis\axis_client.lib&quot;
bzw.
g++ *.cpp -I&quot;D:\pfad\include&quot; -L&quot;D:\pfad\lib\axis\&quot;
</code></pre>
<p>aber da kommt der selbe Fehler. Wenn ich die Library nicht mit angebe, kommt auch der selbe Fehler.</p>
<p>Liegt es daran das ich die Library falsch eingebunden habe ?<br />
Oder könnte es auch noch andere Fehler geben ?<br />
Wie geht man bei solchen problemen am besten vor ?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/167168/problem-mit-library-von-axis-c</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 19:05:47 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/167168.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Dec 2006 12:59:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Thu, 07 Dec 2006 12:59:44 GMT]]></title><description><![CDATA[<p>Hallo, ich versuche gerade mit C++ auf den Webservice von Google zu zugreifen.<br />
Ich habe mir mit Hilfe des wsdl2ws Tools einen Stub erstellen lassen, doch ich kriege ihn nicht kompiliert!</p>
<pre><code>DirectoryCategory_Array.o(.text+0xd):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0x3b):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0x9f):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0xf5):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x167):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::Axis_Array()'
DirectoryCategory_Array.o(.text+0x1bd):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x25b):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x285):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x323):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'

DirectoryCategory_Array.o(.text+0x34d):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::~Axis_Array()'
DirectoryCategory_Array.o(.text+0x3eb):DirectoryCategory_Array.cpp: more undefined references to `axiscpp::Axis_Array::~Axis_Array()' follow
DirectoryCategory_Array.o(.text+0x53f):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::get(int&amp;, axiscpp::XSDTYPETag&amp;) const'
DirectoryCategory_Array.o(.text+0x711):DirectoryCategory_Array.cpp: undefined reference to `axiscpp::Axis_Array::clear()'
GoogleSearchPort.o(.text+0x1b):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'

GoogleSearchPort.o(.text+0x45):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
GoogleSearchPort.o(.text+0xa7):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
GoogleSearchPort.o(.text+0xcd):GoogleSearchPort.cpp: undefined reference to `axiscpp::Call::setEndpointURI(char const*)'
GoogleSearchPort.o(.text+0xf0):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::~Stub()'
GoogleSearchPort.o(.text+0x173):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::Stub(char const*, axiscpp::AXIS_PROTOCOL_TYPE)'
GoogleSearchPort.o(.text+0x199):GoogleSearchPort.cpp: undefined reference to `axiscpp::Call::setEndpointURI(char const*)'
GoogleSearchPort.o(.text+0x1bc):GoogleSearchPort.cpp: undefined reference to `axiscpp::Stub::~Stub()'
...
</code></pre>
<p>Solche Fehler bekommt man doch immer wenn man die Library nicht richtig eingebunden hat oder ?<br />
Ich benutze Dev-Cpp und habe die Libary bzw. den Ordner in dem sie ist auch angegeben, einmal im Projekt und einmal Allgemein.</p>
<p>Ich habe auch schon versucht das ganze über die console zu compilieren</p>
<pre><code>g++ *.cpp -I&quot;D:\pfad\include&quot; -L&quot;D:\pfad\lib\axis\axis_client.lib&quot;
bzw.
g++ *.cpp -I&quot;D:\pfad\include&quot; -L&quot;D:\pfad\lib\axis\&quot;
</code></pre>
<p>aber da kommt der selbe Fehler. Wenn ich die Library nicht mit angebe, kommt auch der selbe Fehler.</p>
<p>Liegt es daran das ich die Library falsch eingebunden habe ?<br />
Oder könnte es auch noch andere Fehler geben ?<br />
Wie geht man bei solchen problemen am besten vor ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188319</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188319</guid><dc:creator><![CDATA[Mortal2006]]></dc:creator><pubDate>Thu, 07 Dec 2006 12:59:44 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Thu, 07 Dec 2006 13:02:12 GMT]]></title><description><![CDATA[<p>Ich vermute mal, du hast dort die falsche LIB angegeben (oder die falsche Version der LIB). Schau mal in der Axis-Doku nach, in welcher Library die angegebenen Funktionen tatsächlich untergebracht sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188321</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188321</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 07 Dec 2006 13:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Thu, 07 Dec 2006 13:58:23 GMT]]></title><description><![CDATA[<p>Naja, es gibt nur 2 Libs, einmal die Axis_Client.lib und die Axis_Server.lib...<br />
Ich habe mir inzwischen das ganze nochmal von wo anders gesaugt, komme aber zum selben Ergebnis.<br />
Ich habe mir auch mal den Source geholt, aber den krieg ich nicht gebuildet <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188374</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188374</guid><dc:creator><![CDATA[Mortal2006]]></dc:creator><pubDate>Thu, 07 Dec 2006 13:58:23 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Thu, 07 Dec 2006 14:03:09 GMT]]></title><description><![CDATA[<p>Meinste das du die richtigen Libs hast? Haben GNU-Compiler-Libs nicht die Endung .a???</p>
<p>.LIB sieht mir verdächtig nach MSVC-Libs aus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188377</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188377</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Thu, 07 Dec 2006 14:03:09 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Thu, 07 Dec 2006 14:02:59 GMT]]></title><description><![CDATA[<p>Hast du mal die Axis_Server.lib probiert? Ansonsten kann es noch sein, daß die Libs nicht G++ kompatibel sind.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188378</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188378</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 07 Dec 2006 14:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Thu, 07 Dec 2006 14:19:44 GMT]]></title><description><![CDATA[<p>Oha, das wusste ich garnicht ... Dann liegt es wohl daran das die Libs nicht mit meinem Compiler kompatibel sind <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /><br />
Ich habe jetzt gerade in der build.xml gelesen, das unter Windows wohl ein MSVC Compiler benötigt wird ...<br />
Gibt es nicht irgendwie noch nen anderen compiler der mit .libs umgehen kann ?<br />
Irgend eine möglichkeit muss es doch geben das auch ohnen nen Microsoft compiler zu machen oder ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188388</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188388</guid><dc:creator><![CDATA[Mortal2006]]></dc:creator><pubDate>Thu, 07 Dec 2006 14:19:44 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Fri, 08 Dec 2006 07:21:43 GMT]]></title><description><![CDATA[<p>Wenn die zur Verfügung stehen, solltest du die mal die Axis_Server.cpp bzw. Axis_Client.cpp suchen und die durch deinen Compiler jagen. Andernfalls müsstest du mal bei den Autoren nachfragen, woher du die Bibliotheken für GCC bekommen kannst.</p>
<p>(PS: LIB ist nicht gleich LIB - selbst wenn andere Compiler (bzw. Linker) auch mit .lib Dateien arbeiten, ist es nicht sicher, daß sie mit MS-LIBs zurechtkommen)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188728</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188728</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Fri, 08 Dec 2006 07:21:43 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit Library von Axis(C++) on Fri, 08 Dec 2006 08:12:26 GMT]]></title><description><![CDATA[<p>Ok, gut zu wissen für die Zukunft <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /><br />
Hab mir erstmal Visual Studio 2005 Express besorgt, damit hats dann auch tatsächlich funktioniert.</p>
<p>Danke für eure Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1188755</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1188755</guid><dc:creator><![CDATA[Mortal2006]]></dc:creator><pubDate>Fri, 08 Dec 2006 08:12:26 GMT</pubDate></item></channel></rss>