Mail Archives: djgpp/2002/03/21/02:51:30
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
To: | djgpp AT delorie DOT com
|
Date: | Thu, 21 Mar 2002 01:45:05 -0600
|
From: | "Jason R Kuntz" <cantela AT lycos DOT com>
|
Message-ID: | <BBEGFJLPEBJDMBAA@mailcity.com>
|
Mime-Version: | 1.0
|
X-Sent-Mail: | on
|
X-Expiredinmiddle: | true
|
X-Mailer: | MailCity Service
|
X-Priority: | 3
|
Subject: | Re: Re: can't include iostream.h!
|
X-Sender-Ip: | 216.221.112.53
|
Organization: | Lycos Mail (http://mail.lycos.com:80)
|
Reply-To: | djgpp AT delorie DOT com
|
--
ok, here it is...6 lines of C++ followed by my compiler messages
#include <iostream.h>
int main()
{
return 0;
}
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
2,000,000,000 Web Pages--you only need 1. Save time with My Lycos.
http://my.lycos.com
- Raw text -