Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 11 Nov 2000 12:47:05 +0100 (MET) From: Daniel Lidstrom X-Sender: danli97 AT happy To: cygwin AT sources DOT redhat DOT com Subject: Problem using cout&cin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id HAA03598 Hi, I get the following error message when compiling a program with calls to cout, cin, endl: daniel lidström AT DANIELS_MONSTER ~/opengl $ gcc -o test test.cc /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x24):test.cc: unde fined reference to `cout' /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x29):test.cc: unde fined reference to `ostream::operator<<(char const *)' /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x38):test.cc: unde fined reference to `cin' /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x3d):test.cc: unde fined reference to `istream::operator>>(int &)' /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x5c):test.cc: unde fined reference to `endl(ostream &)' /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x68):test.cc: unde fined reference to `cout' /cygdrive/c/DOCUME~1/DANIEL~1/LOCALS~1/Temp/ccrBuSQY.o(.text+0x6d):test.cc: unde fined reference to `ostream::operator<<(int)' collect2: ld returned 1 exit status I did look in the faq but couldn't find help. I also searched the mail archive. What is missing? ------------------------------ Daniel Lidstrom *8) e-mail: danli97 AT ite DOT mh DOT se http://www.ite.mh.se/~danli97/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com