delorie.com/archives/browse.cgi | search |
Disclose-Recipients: | prohibited |
Date: | Tue, 2 May 1995 15:40:27 EST |
From: | "Steve Salter (519) 452-4447" <SALTERS AT AM DOT FANSHAWEC DOT ON DOT CA> |
Subject: | Re: c++ probs |
To: | DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>, |
"hshaw AT mars DOT calstatela DOT edu" <hshaw AT mars DOT calstatela DOT edu> | |
Autoforwarded: | false |
Importance: | normal |
Ua-Content-Id: | 119513E81A00 |
Hop-Count: | 0 |
> reit.cc(.text+0x5e):undefined reference to `cout` > `ostream::operator<<(char const *) > `endl(ostream &)` > > Then it start to repeat...the follow peice of code produces this... > Did you link with -lgpl or -liostream so that cout would get linked in? For example: gcc -O2 -o reit reit.cc -lgpl Steve Salter Programmer, Fanshawe College salters AT admin DOT fanshawec DOT on DOT ca London, Ontario, Canada
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |