From: doodootron AT robotic DOT poopie (Doktor Technologicus) Newsgroups: comp.os.msdos.djgpp Subject: Newbie iostream problem (I read the FAQ, I swear) Organization: Lab of Madness Message-ID: <3dab6a3d.12537127@netnews.attbi.com> X-Newsreader: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 43 NNTP-Posting-Host: 12.228.115.236 X-Complaints-To: abuse AT attbi DOT com X-Trace: rwcrnsc52.ops.asp.att.net 1034644725 12.228.115.236 (Tue, 15 Oct 2002 01:18:45 GMT) NNTP-Posting-Date: Tue, 15 Oct 2002 01:18:45 GMT Date: Tue, 15 Oct 2002 01:18:45 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This (test.cpp): int main() { return 0; } compiles and links just fine. But this (test.cpp again): #include int main() { return 0; } fails on linking with: Creating: test.exe Error: test.o: In function '__Static_initialization_and_destruction_0': c:/djgpp/lang/cxx/3.2/iostream(62) Error: undefined reference to 'std::ios_base::Init::Init[in-charge]()' c:/djgpp/lang/cxx/3.2/iostream(62) Error: undefined reference to 'std::ios_base::Init::~Init[in-charge]()' Error: test.0(.eh_frame+0x11):test.cpp: undefined reference to '___gxx_personality_v0' Error: collect2: ld returned 1 exit status There were some errors What the heck is going on here? It's over a week and I can't fix this. everything downloaded/installed according to delorie's Zip Picker. Pakke.exe complains it can't find a configuration file. Running winXP DJGPP variable set correctly djgpp rhIDE 1.4.9 rhIDE window crashes whenever it is exited as well.