www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/20/06:42:56

From: 121233 AT student DOT fbk DOT eur DOT nl (Walter H. van Holst)
Newsgroups: comp.os.msdos.djgpp
Subject: Help on linker errors
Date: Fri, 20 Dec 1996 10:42:10 GMT
Organization: Faculteit Bedrijfskunde, Erasmus University Rotterdam
Lines: 18
Message-ID: <121233.27.32BA6D82@student.fbk.eur.nl>
NNTP-Posting-Host: g3-34-holst-2.pc-lab.fbk.eur.nl
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all, 

 I am fairly new to C++ and DJGPP, so this might be a stupid question, but I 
couldn't find it in the FAQ. I have some code which compiles fine, but the 
linker produces errors like:

Error: prcsor.o: In function `construct(Purchases_Period_O *, 
Purchases_Period_O const &)`: prcsor.cc(123 Error: undefined reference to `
operator new(unsigned long, void *)`

I am using the latest version of both DJGPP and RHIDE, and I do not have a 
clue what's going wrong. I never use a operator with the name 'new'.

          
          _           | If Unix  isn't inferior to Windows  then why does the
Groeten, ' )          | marketplace consistently chose Windows over Unix? Are
          / ,/  /     | you a socialist who believes the marketplace does not
         (_/(_/ alter | make optimal choices?               -- Scott Nudds --

- Raw text -


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