From: "Mordo" Organization: Emek-Hayarden Regional College To: Eli Zaretskii Date: Thu, 21 Nov 1996 13:37:51 +0100 Subject: Re: DJGPP and STL CC: djgpp AT delorie DOT com Message-ID: <6679B06033@yarden.yarden.ac.il> > > On Thu, 21 Nov 1996, Mordo Ezagouri wrote: > > > I get a linking error: > > vector.cc(.text+0xa0f): undefined reference to 'operator new(unsigned > > long, void *)' > > Use gxx instead of gcc when compiling C++ programs. It instructs the > linker to search C++ class libraries. Note that this is all explained > both in the readme.1st file and in the FAQ list (both available in v2 > directory from the same place you got DJGPP). > First of all thanks for your response but: I read the doc before I decided to send my question and the error occured when I use gxx. With gcc there are more error messages. I think the problem is vector needs opeartor new(unsigned long, void *) to allocate memory and it's not defined. Bye! Mordo --------------------------------------------------------- Ezagouri Mordo LAN Administrator Jordan Academic Valley College. Zemach. Israel Postal Code: 15132 Phone: 972-06-773756 Fax: 972-06-773757 Email: mordo AT yarden DOT yarden DOT ac DOT il --------------------------------------------------------- Visit our Web http://www.yarden.ac.il And the First Astronomy School on Web (in Hebrew): http://www.yarden.ac.il/blossoms.html ---------------------------------------------------------