Al,<br><br>This worked like a charm.&nbsp; You were right, I was using the gcc instead of g++.&nbsp; Once I used g++ it just started to work.<br><br>Thanks<br>Carlus<br><br><p><DEFANGED_div><DEFANGED_span class="gmail_quote">On 9/9/06, <b class="gmail_sendername">
Al Tobey</b> &lt;<a href="mailto:tobert@gmail.com">tobert@gmail.com</a>&gt; wrote:</DEFANGED_span><blockquote class="gmail_quote" DEFANGED_style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 9/9/06, Carlus Henry &lt;
<a href="mailto:carlushenry@gmail.com">carlushenry@gmail.com</a>&gt; wrote:<br>&gt; Hey everyone...<br>&gt;<br>&gt; I just completed installing Mandriva 2005 LE.&nbsp;&nbsp;I know that it is an earlier<br>&gt; distribution but I was desperate and it was the only distribution of linux
<br>&gt; that I had availble at the time.&nbsp;&nbsp;So far so good.&nbsp;&nbsp;I am very pleased,<br>&gt; however I am struggling a bit with developing C and C++ programs.<br>&gt;<br>&gt; I am a Software Developer with 6 years experience looking to expand my
<br>&gt; programming language portfolio...if you will.&nbsp;&nbsp;I am using the following as<br>&gt; my tutorial and beginning program:<br>&gt;<br>&gt; <a href="http://www.cplusplus.com/doc/tutorial/program_structure.html">http://www.cplusplus.com/doc/tutorial/program_structure.html
</a><br>&gt;<br>&gt; As you can see from this link it is just a simple Hello World program.<br>&gt; However, when I try to compile it using gcc-3.4.3, I get the error attached.<br>&gt;&nbsp;&nbsp;If anyone has any experience developing C++ and has a clue on the problem
<br>&gt; that I am currently facing and how to resolve it, that would be greatly<br>&gt; appreciated.<br><br>Perhaps try:<br><br>g++ -lstdc++ foo.cpp<br><br>The -lstdc++ shouldn't be necessary with g++, but weird things happen.
<br><br>Maybe you were calling gcc instead of g++?&nbsp;&nbsp; I think they're basically<br>interchangeable but g++ implies a few C++ options like linking to the<br>C++ standard library.<br><br>-Al Tobey<br><br>&gt; Thanks<br>&gt; Carlus
<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; grlug mailing list<br>&gt; <a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>&gt; <a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug">
http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>&gt;<br>&gt;<br>&gt;<br>_______________________________________________<br>grlug mailing list<br><a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br><a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug">
http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br></blockquote></p><DEFANGED_div><br>