From: isc60467 AT leonis DOT nus DOT sg (Nameless) Newsgroups: comp.os.msdos.djgpp Subject: Compilation error, need help! Date: 3 Jun 1997 02:24:08 GMT Organization: No Man's Land Lines: 6 Message-ID: <5mvv88$adt@nuscc.nus.sg> NNTP-Posting-Host: isc60467 AT leonis DOT nus DOT sg To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I was trying to compile a program with djgpp, the mesa library and the Scitech Svga library when i received the following error: svga.a: could not read symbols: Memory exhausted Could anyone tell me what this error is for and how to correct it? ethod as a by-reference parameter so that this method could write info to it, in this way: i've got a class which defines one of its methods as this: void WriteYourInfo(ofstream &Dest) { Dest << "This is a test"; } And I call the method like this: ofstream fout("myFile"); . . . myObject.WriteYourInfo(fout); . . . fout.close() It works perfectly under MS-DOS, compiling with DJGPP. Under Linux the output goes to stdout instead of going to the file. Both versions of gcc are 2.7.2. What am I doing wrong? HELP!!! Thanks In Advance. Roberto. -- La neurona autora de este mensaje es propiedad de: +----------------------------------------+ | Roberto Henriquez Laurent | +----------------------------------------+ | shl24634 AT alumnos DOT inf-cr DOT uclm DOT es | +----------------------------------------+ ...y no se hace responsable de las opiniones vertidas por otras neuronas.