Hi,

I get the following error message when compiling a program with calls to
cout, cin, endl:
daniel lidstr�m@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: [EMAIL PROTECTED]
http://www.ite.mh.se/~danli97/



--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to