delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:347 |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!news.uoregon.edu!serv.hinet.net!nctuccca.edu.tw!netnews.ntu.edu.tw!fms2!andy |
From: | andy AT csie DOT ntu DOT edu DOT tw (Oz the Wizard) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: GCC and C++ --- undefined references |
Date: | 13 Jun 1995 08:05:40 GMT |
Organization: | National Taiwan University |
Lines: | 17 |
References: | <3rhfk1$akc AT rs10 DOT tcs DOT tulane DOT edu> |
Nntp-Posting-Host: | andy AT fms2 DOT csie DOT ntu DOT edu DOT tw |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
Tom Gerace (tom AT rs5 DOT tcs DOT tulane DOT edu) wrote: [Qutation is Deleted..] : The error messages are: : "undefined reference to 'cout'" : "undefined reference to 'ostream::operator<<(char const *)'" Do you forget to include the C++ library? Try this: gcc file.cpp -lgpp ^^^^^ <== Notice Here! -- Sorcerers have their magic wands; Witches have their familiars; Mystics have their golems; We have our personal computers.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |