X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <000a01c4d61b$340c5120$ef2da653@johvi.vnet.ee> From: "Alexandr" To: Subject: HELP, plz ... Date: Mon, 29 Nov 2004 15:56:19 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C4D62B.F7306BE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-ViruNet-MailScanner-Information: Please contact the ISP for more information X-ViruNet-MailScanner: Found to be clean X-ViruNet-MailScanner-SpamScore: s X-MailScanner-From: alekst AT hot DOT ee Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C4D62B.F7306BE0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hi! Just dunno, where to write, hope it's quite good place. If not - SORRY. My problem is that i'm tired of errors running on my screen, when i'm = trying to compile the simpliest prog.=20 the prog is: #include int main () { cout << "test" << endl; return 0; } comp. string: gcc test.cpp -o test.exe -Wno-deprecated GCC output: c:/djgpp/tmp/cclMjPzh.o(.text+0x1a):test.cpp: undefined reference to = `std::basic _ostream >& std::endl >(std::basic_ostream >&)' c:/djgpp/tmp/cclMjPzh.o(.text+0x27):test.cpp: undefined reference to = `std::cout' c:/djgpp/tmp/cclMjPzh.o(.text+0x2c):test.cpp: undefined reference to = `std::basic _ostream >& std::operator<< = >(std::basic_ostream >&, char const*)' c:/djgpp/tmp/cclMjPzh.o(.text+0x35):test.cpp: undefined reference to = `std::basic _ostream = >::operator<<(std::basic_ostream >& (*)(std::basic_ostream >&))' c:/djgpp/tmp/cclMjPzh.o(.text+0x62):test.cpp: undefined reference to = `std::ios_b ase::Init::Init[in-charge]()' c:/djgpp/tmp/cclMjPzh.o(.text+0x81):test.cpp: undefined reference to = `std::ios_b ase::Init::~Init [in-charge]()' c:/djgpp/tmp/cclMjPzh.o(.eh_frame+0x11):test.cpp: undefined reference to = `___gxx _personality_v0' collect2: ld returned 1 exit status PLEASE HELP! I don't know what to do ... or, please tell me, where to get theese = files: v2/djdev202.zip v2gnu/bnu281b.zip v2gnu/gcc281b.zip = v2gnu/gpp281b.zip v2gnu/lgp2811b.zip v2gnu/mak377b.zip =20 Best wishes, Alex. ------=_NextPart_000_0007_01C4D62B.F7306BE0 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
Hi!
 
Just dunno, where to write, hope it's = quite good=20 place. If not - SORRY.
My problem is that i'm tired of errors = running on=20 my screen, when i'm trying to compile the simpliest prog.
 
the prog is:
 
#include <iostream.h>
int main = ()=20 {
cout << "test" << endl;
return = 0;
}
comp. string:
gcc test.cpp -o test.exe=20 -Wno-deprecated
 
GCC output:
c:/djgpp/tmp/cclMjPzh.o(.text+0x1a):test.cpp:=20 undefined reference to `std::basic
_ostream<char,=20 std::char_traits<char> >& std::endl<char,=20 std::char_traits<char>
>(std::basic_ostream<char,=20 std::char_traits<char>=20 >&)'
c:/djgpp/tmp/cclMjPzh.o(.text+0x27):test.cpp: undefined = reference=20 to `std::cout'
 
c:/djgpp/tmp/cclMjPzh.o(.text+0x2c):test.cpp:=20 undefined reference to `std::basic
_ostream<char,=20 std::char_traits<char> >& std::operator<<=20 <std::char_traits<char>
 >(std::basic_ostream<char= ,=20 std::char_traits<char> >&, char=20 const*)'
c:/djgpp/tmp/cclMjPzh.o(.text+0x35):test.cpp: undefined = reference to=20 `std::basic
_ostream<char, std::char_traits<char>=20 >::operator<<(std::basic_ostream<char,=20 std
::char_traits<char> >& = (*)(std::basic_ostream<char,=20 std::char_traits<char> >&))'
 
c:/djgpp/tmp/cclMjPzh.o(.text+0x62):test.cpp:=20 undefined reference to=20 `std::ios_b
ase::Init::Init[in-charge]()'
c:/djgpp/tmp/cclMjPzh.o(.= text+0x81):test.cpp:=20 undefined reference to `std::ios_b
ase::Init::~Init=20 [in-charge]()'
c:/djgpp/tmp/cclMjPzh.o(.eh_frame+0x11):test.cpp: = undefined=20 reference to `___gxx
_personality_v0'
collect2: ld returned 1 exit = status
PLEASE HELP!
I don't know what to do ... or, please = tell me,=20 where to get theese files:
v2/djdev202.zip       =20 v2gnu/bnu281b.zip     =20 v2gnu/gcc281b.zip     =20 v2gnu/gpp281b.zip     =20 v2gnu/lgp2811b.zip    =20 v2gnu/mak377b.zip    
 
Best=20 wishes,
Alex.
------=_NextPart_000_0007_01C4D62B.F7306BE0--