Message-ID: <3439A62A.C41462FD@provider.com.br> Date: Tue, 07 Oct 1997 00:02:02 -0300 From: Antonio Dias MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: C++ compiler error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Hi, I installed all the necessary files for C++ compilation under DJGPP and all environment variables are correctly set. Now I'm trying to compile a single hello.cc and I'm getting the following error messages: d:/djgpp/tmp\ccdaaaaa(.text+0x1a):hello.cc: undefined reference to `endl(ostream &)' d:/djgpp/tmp\ccdaaaaa(.text+0x24):hello.cc: undefined reference to `cout' d:/djgpp/tmp\ccdaaaaa(.text+0x29):hello.cc: undefined reference to `ostream::ope rator<<(char const *)' d:/djgpp/tmp\ccdaaaaa(.text+0x34):hello.cc: undefined reference to `ostream::ope rator<<(ostream &(*)(ostream &))' The hello.cc program is typed as follows: //////////////////////////////// // // hello.cc // #include int main () { cout << "Hello world!" << endl ; } Does anyone can help-me? TIA, Antonio Dias