On Mon, Dec 01, 2008 at 05:46:00AM +0530, L.V.Gandhi wrote: > > UpgradeMessage.cpp: In member function �void > UpgradeMessage::copyFiles()�: > > UpgradeMessage.cpp:447: error: �system� was not declared in this > scope > > UpgradeMessage.cpp:454: error: �system� was not declared in this > scope > > UpgradeMessage.cpp:466: error: �system� was not declared in this > scope > > UpgradeMessage.cpp:472: error: �system� was not declared in this > scope > > UpgradeMessage.cpp:484: error: �system� was not declared in this > scope > > UpgradeMessage.cpp:496: error: �system� was not declared in this > scope > > make[1]: *** [UpgradeMessage.o] Error 1 > > > > I searched google for �system� was not declared in this scope. But > I > > couldn't get any link. > > Try adding #include <cstdlib> in the top of the file, along with the > other #include lines. > > Thanks. > Do you refer to configure file?
Sorry for not being clear. I meant, add it to the UpgradeMessage.cpp file, along with the other includes in that file (ensure that you don't place it between some preprocessor directives which evaluate to false). Then, just running make again should build the file, maybe giving you more files which miss some headers... there's no elegant way to sort this issue out; either use an old compiler or add the missing headers in each source file (or figure out a smart and neat included file to put these headers where all of them pick it up)... Hope this helps. Kumar -- Kumar Appaiah -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]