Xref: news-dnh.mv.net comp.os.msdos.djgpp:2687 Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!Germany.EU.net!news.dfn.de!news.ruhr-uni-bochum.de!news.rwth-aachen.de!kaa!softbrek From: softbrek AT kaa DOT informatik DOT rwth-aachen DOT de (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: Need help with configuring DJGPP for C++ Date: 16 Oct 1995 16:29:13 GMT Organization: RWTH -Aachen / Rechnerbetrieb Informatik Lines: 19 References: <45nm07$n6m AT status DOT gen DOT nz> <45qb01$dn7 AT mark DOT ucdavis DOT edu> Nntp-Posting-Host: kaa.informatik.rwth-aachen.de To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Patrick Hayes writes: >sarge AT iconz DOT co DOT nz (Edward Sargisson) wrote: >>alexc AT pop DOT winterlan DOT com (Alex Chun) wrote: >> >>>I've installed DJGPP and I can compile C programs, but when I try to compile >>>C++ programs I get the following errors: >>>test.cc(.text+0x14): undefined reference to `cout' >>>test.cc(.text+0x19): undefined reference to `ostream::operator<<(char const *)' >>add -lgpp to your command line. >I came up with the same problem and I tried that and it still doesn't >work. I have all the files that Alex has. Did you put the -lgpp to the *end* of the command line? If not, try it. (And, BTW, RTFM! esp. eli's FAQ) Hans-Bernhard Broeker (Aachen, Germany)