<?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[Compiler-Fehler: undefined reference to]]></title><description><![CDATA[<p>Hallo,<br />
hier erst mal die Funktion in der das Problem auftritt:</p>
<pre><code class="language-cpp">void* TestStepNode::getTestStepParamDataAtPos(int pos)
{
	list&lt;TestStepParamNode*&gt;::iterator test_step_param_it(test_step_params-&gt;begin());
	if(pos &lt; 0)
		pos = 0;
	// iterator auf Position setzen
	for(int i=0; i &lt; pos; i++)
		test_step_param_it++;
	return (*test_step_param_it)-&gt;getData();
}
</code></pre>
<p>Bei dem 'return' bekomme ich folgenden Compiler-Fehler:</p>
<blockquote>
<p>undefined reference to `TestStepParamNode::getData()'</p>
</blockquote>
<p>Kann mir da jemand nen Tipp geben, was da falsch ist??<br />
Grüßle Oli</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/200332/compiler-fehler-undefined-reference-to</link><generator>RSS for Node</generator><lastBuildDate>Sun, 04 Oct 2026 19:18:06 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/200332.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Dec 2007 14:36:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compiler-Fehler: undefined reference to on Thu, 13 Dec 2007 14:36:40 GMT]]></title><description><![CDATA[<p>Hallo,<br />
hier erst mal die Funktion in der das Problem auftritt:</p>
<pre><code class="language-cpp">void* TestStepNode::getTestStepParamDataAtPos(int pos)
{
	list&lt;TestStepParamNode*&gt;::iterator test_step_param_it(test_step_params-&gt;begin());
	if(pos &lt; 0)
		pos = 0;
	// iterator auf Position setzen
	for(int i=0; i &lt; pos; i++)
		test_step_param_it++;
	return (*test_step_param_it)-&gt;getData();
}
</code></pre>
<p>Bei dem 'return' bekomme ich folgenden Compiler-Fehler:</p>
<blockquote>
<p>undefined reference to `TestStepParamNode::getData()'</p>
</blockquote>
<p>Kann mir da jemand nen Tipp geben, was da falsch ist??<br />
Grüßle Oli</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1419981</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1419981</guid><dc:creator><![CDATA[sambalmueslie]]></dc:creator><pubDate>Thu, 13 Dec 2007 14:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to Compiler-Fehler: undefined reference to on Thu, 13 Dec 2007 14:50:20 GMT]]></title><description><![CDATA[<p>Du hast vergessen, die Methode getData() zu defininieren (oder die Quelldatei der TestStepParamNo0de nicht mit an den Compiler/Linker übergeben).</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1419990</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1419990</guid><dc:creator><![CDATA[CStoll]]></dc:creator><pubDate>Thu, 13 Dec 2007 14:50:20 GMT</pubDate></item><item><title><![CDATA[Reply to Compiler-Fehler: undefined reference to on Thu, 13 Dec 2007 14:56:19 GMT]]></title><description><![CDATA[<p>CStoll schrieb:</p>
<blockquote>
<p>Du hast vergessen, die Methode getData() zu defininieren (oder die Quelldatei der TestStepParamNo0de nicht mit an den Compiler/Linker übergeben).</p>
</blockquote>
<p>Ups, da hab ich doch die implementierung der Funktion vergessen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> .<br />
Stand leider nur in der Header-Datei, der Klasse.<br />
Thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1419999</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1419999</guid><dc:creator><![CDATA[sambalmueslie]]></dc:creator><pubDate>Thu, 13 Dec 2007 14:56:19 GMT</pubDate></item><item><title><![CDATA[Reply to Compiler-Fehler: undefined reference to on Thu, 13 Dec 2007 15:00:04 GMT]]></title><description><![CDATA[<p>Außerdem war das kein Compiler-Error, sondern ein Link-Error.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1420005</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1420005</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Thu, 13 Dec 2007 15:00:04 GMT</pubDate></item></channel></rss>