delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | eplmst AT lu DOT erisoft DOT se (Martin Stromberg) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: can't include iostream.h! |
Date: | 21 Mar 2002 08:49:53 GMT |
Organization: | Ericsson Erisoft AB, Sweden |
Lines: | 24 |
Message-ID: | <a7c6rh$74a$2@antares.lu.erisoft.se> |
References: | <BBEGFJLPEBJDMBAA AT mailcity DOT com> |
NNTP-Posting-Host: | lws256.lu.erisoft.se |
X-Newsreader: | TIN [version 1.2 PL2] |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Jason R Kuntz (cantela AT lycos DOT com) wrote: : Creating: main.exe : Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.03/specs : Configured with: ../configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --disable-nls : Thread model: single : gcc version 3.0.3 : c:/djgpp/lib/gcc-lib/djgpp/3.03/collect2.exe -o main.exe : c:/djgpp/lib/crt0.o -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/3.03 : -Lc:/djgpp/bin -Lc:/djgpp/lib -Lc:/djgpp/lib/gcc-lib/djgpp/3.03/../../.. : main.o -lstdcxx -lgcc -lc -lgcc -Tdjgpp-x.djl : Error: main.o: In function `main': : main.cpp(6) Error: undefined reference to `std::ios_base::Init::Init()' : Error: main.cpp(.text+0x5d): undefined reference to `std::ios_base::Init::~Init()' : Error: main.o(.eh_frame+0x11):main.cpp: undefined reference to `__gxx_personality_v0' : Error: collect2: ld returned 1 exit status : There were some errors This is only the linking phase. We want to see the whole compilation (with -v). Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |