delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/24/10:02:28

Xref: news2.mv.net comp.os.msdos.djgpp:6353
From: Andy Eskilsson <flognat AT fukt DOT hk-r DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: link error in STL example code with djgpp 2.7.2
Date: 24 Jul 1996 12:59:37 +0200
Organization: Telelogic AB, Sweden
Lines: 21
Sender: x-aes AT glare
Message-ID: <kslog929ye.fsf@fukt.hk-r.se>
References: <4t36as$6o2 AT news DOT alaska DOT edu>
Reply-To: x-aes AT telelogic DOT se
NNTP-Posting-Host: glare.telelogic.se
Mime-Version: 1.0
CC: jonah AT melab DOT uafsoe DOT alaska DOT edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

/ jonah AT melab DOT uafsoe DOT alaska DOT edu (jonah lee) wrote:
|
| vec1.cc(.text+0xb9f): undefined reference to `operator new(unsigned long,
|  void *)'

Uh, oh, I recognize that1 *blush* you need '-lstdcx' on the command-line

so 
| gxx -v  ..\vec1.cpp
 
should look like:

gxx -v ..\vec1.cpp -lstdcx

	/Andy

-- 
  Hi I am an alien .sig, and at the   |  Unsolicited commercial email is 
 moment I am having sex to your mind, | subject to an archival fee of $400.
 by looking at your smile I can see   | See www.fukt.hk-r.se/~flognat/mail
        that you like it.             |          for more info.

- Raw text -


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