www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/21/06:55:41

From: "Mordo" <MORDO AT yarden DOT yarden DOT ac DOT il>
Organization: Emek-Hayarden Regional College
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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
---------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019