Article View: gnu.gcc.help
Article #42758g++ 2.7.0 linking problem?
From: Shilo Nielsen
Date: Wed, 18 Oct 1995 00:00
Date: Wed, 18 Oct 1995 00:00
27 lines
1082 bytes
1082 bytes
I just installed gcc, g++ 2.7.0 on SunOS 4.1.4, and compiling the simplest
program:
#include "/usr/local/lib/g++-include/iostream.h"
main()
{
cout << "Hello world" << endl;
return 0;
}
gives the following:
collect2: ld returned 2 exit status
ld: Undefined symbol
_vt.7filebuf
_atexit
_vt.8stdiobuf
Is there a library not installed properly? If so, where/what/why?
thanks,
shilo@mcd.intel.com
--
Shilo Nielsen shilo@mcd.intel.com "Some try to tell me, thoughts
Intel Corp. 916-356-6587 they cannot defend. Just what you
MCD systems admin want to be, you will be in the end"
Folsom, CA - TMB
Technical Details
Message-ID:
<shilo.814036758@galadriel>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3eab77ba2811d79b,start X-Google-Attributes: gid11318c,public From: shilo@galadriel.intel.com (Shilo Nielsen) Subject: g++ 2.7.0 linking problem? Date: 1995/10/18 Message-ID: <shilo.814036758@galadriel> X-Deja-AN: 117750907 organization: Intel Corporation keywords: undefined symbols newsgroups: gnu.gcc.help summary: undefined _vt.7filebuf lebuf