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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>I get the following when trying to build the
following very simple C++ test:</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>// begin program</FONT></DIV>
<DIV><FONT color=#000000 size=2>#include <iostream></FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>using namespace std;</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>int main(int argc, char** argv)
{<BR> cout << "Hello
World!!!\n" << endl;<BR>
return 0;<BR>}</FONT></DIV>
<DIV><FONT color=#000000 size=2>// end program<BR></FONT></DIV>
<DIV><FONT color=#000000 size=2>c++ foobar.cc -o
foobar<BR>/usr/lib/libstdc++.so: undefined reference to `filebuf virtual
table'<BR>/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual
table'</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>Are there any parts of world that are going to have a hard
time building under egcs because of this?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Tom Veldhouse</FONT></DIV>
<DIV><FONT size=2><A
href="mailto:veldy@visi.com">veldy@visi.com</A></FONT></DIV></BODY></HTML>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003001be7f68$23cce730$236319ac>
