Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 1999 08:28:06 -0500
From:      "Thomas T. Veldhouse" <veldy@visi.com>
To:        "FreeBSD-Current" <freebsd-current@FreeBSD.ORG>
Subject:   egcs c++ problems
Message-ID:  <003001be7f68$23cce730$236319ac@w142844.carlson.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_002D_01BE7F3E.3AD09280
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I get the following when trying to build the following very simple C++ =
test:

// begin program
#include <iostream>

using namespace std;

int main(int argc, char** argv) {
        cout << "Hello World!!!\n" << endl;
        return 0;
}
// end program

c++ foobar.cc -o foobar
/usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'

Are there any parts of world that are going to have a hard time building =
under egcs because of this?

Tom Veldhouse
veldy@visi.com

------=_NextPart_000_002D_01BE7F3E.3AD09280
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>I get the following when trying to =
build the=20
following very simple C++ test:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>// begin program</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>#include =
&lt;iostream&gt;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>using namespace std;</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>int main(int argc, char** argv)=20
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cout &lt;&lt; =
&quot;Hello=20
World!!!\n&quot; &lt;&lt; =
endl;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
return 0;<BR>}</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>// end program<BR></FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>c++ foobar.cc -o=20
foobar<BR>/usr/lib/libstdc++.so: undefined reference to `filebuf virtual =

table'<BR>/usr/lib/libstdc++.so: undefined reference to `stdiobuf =
virtual=20
table'</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Are there any parts of world that are going to have =
a hard=20
time building under egcs because of this?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Tom Veldhouse</FONT></DIV>
<DIV><FONT size=3D2><A=20
href=3D"mailto:veldy@visi.com">veldy@visi.com</A></FONT></DIV></BODY></HT=
ML>

------=_NextPart_000_002D_01BE7F3E.3AD09280--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003001be7f68$23cce730$236319ac>