Message-Id: <199905181015.MAA00850@vertigo.micropole.com> From: DA SILVA Patrique To: "'djgpp AT delorie DOT com'" Subject: Re: problem with c++ libraries Date: Tue, 18 May 1999 12:07:16 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.1960.3) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id GAA21893 Reply-To: djgpp AT delorie DOT com did you compile tour progam like this ? gcc -o hello.exe hello.cpp -lgpp ZAMP a écrit dans le message <177DCE1F46 AT gyarab DOT cz>... > Dear friends ! > > I am applying too you for help with following probem. > During compilation a simple program with coompiler "gcc.exe" (ver. > 2.1) > > #include > > void main() > { > cout << "Hello world !\n"; > } > > I get an error message: > > c:/djgpp/tmp\cccyq51k(.text+0x19):hello.cpp: undefined reference to > 'cout' > c:/djgpp/tmp\cccyq51k(.text+0x19):hello.cpp: undefined reference to > 'ostream::op > erator<<(char const *)' > > I would appreciate your advice how to solve this problem. Please > contact > me as soon as possible at polacek DOT 98 AT gyarab DOT cz > With best regards > > Ondrej Polacek >