<?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[gcc fehler]]></title><description><![CDATA[<p>wenn ich folgendes Programm kompilieren will erhalte ich unter suse8.2 mit gcc (GCC) 3.3 20030226 folgende fehlermeldung.</p>
<p>gcc hello.cpp<br />
*<br />
/tmp/ccIl0gyP.o(.text+0x19): In function <code>main': : undefined reference to</code>std::cout'<br />
/tmp/ccIl0gyP.o(.text+0x1e): In function <code>main': : undefined reference to</code>std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp; std::operator&lt;&lt; &lt;std::char_traits&lt;char&gt; &gt;(std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;, char const*)'<br />
*</p>
<p>das programm schaut wie folgt aus:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
int main()
        {
        std::cout &lt;&lt; &quot;Hello c-plusplus.net!\n&quot;;
        }
</code></pre>
<p>kann mir jemand von euch bitte sagen woran das liegt und wie ich diese fehler beseitigen kann.</p>
<p>danke<br />
xinu</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/55293/gcc-fehler</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 00:23:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/55293.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 15 Nov 2003 12:14:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to gcc fehler on Sat, 15 Nov 2003 12:14:49 GMT]]></title><description><![CDATA[<p>wenn ich folgendes Programm kompilieren will erhalte ich unter suse8.2 mit gcc (GCC) 3.3 20030226 folgende fehlermeldung.</p>
<p>gcc hello.cpp<br />
*<br />
/tmp/ccIl0gyP.o(.text+0x19): In function <code>main': : undefined reference to</code>std::cout'<br />
/tmp/ccIl0gyP.o(.text+0x1e): In function <code>main': : undefined reference to</code>std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp; std::operator&lt;&lt; &lt;std::char_traits&lt;char&gt; &gt;(std::basic_ostream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;, char const*)'<br />
*</p>
<p>das programm schaut wie folgt aus:</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;
int main()
        {
        std::cout &lt;&lt; &quot;Hello c-plusplus.net!\n&quot;;
        }
</code></pre>
<p>kann mir jemand von euch bitte sagen woran das liegt und wie ich diese fehler beseitigen kann.</p>
<p>danke<br />
xinu</p>
]]></description><link>https://www.c-plusplus.net/forum/post/394554</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/394554</guid><dc:creator><![CDATA[xinu]]></dc:creator><pubDate>Sat, 15 Nov 2003 12:14:49 GMT</pubDate></item><item><title><![CDATA[Reply to gcc fehler on Sat, 15 Nov 2003 12:24:51 GMT]]></title><description><![CDATA[<p>sorry, ich hab wohl in die falsche gruppe gepostet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/394560</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/394560</guid><dc:creator><![CDATA[xinu]]></dc:creator><pubDate>Sat, 15 Nov 2003 12:24:51 GMT</pubDate></item><item><title><![CDATA[Reply to gcc fehler on Sat, 15 Nov 2003 13:04:17 GMT]]></title><description><![CDATA[<p>kann man wohl sagen. Aber du musst mit g++ hello.cpp und nicht mit gcc hello.cpp kompilieren, ansonsten wird die c++-Standardbibliothek nicht dazugelinkt und du bekommst diesen Fehler.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/394595</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/394595</guid><dc:creator><![CDATA[Steven]]></dc:creator><pubDate>Sat, 15 Nov 2003 13:04:17 GMT</pubDate></item></channel></rss>