www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/23/00:06:59

From: beppu AT rigel DOT oac DOT uci DOT edu (John Beppu)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] why would this error occur? undefined reference to terminate(void)
Date: 23 Feb 1997 04:21:16 GMT
Organization: University of California, Irvine
Lines: 16
Message-ID: <5eogjs$cav@news.service.uci.edu>
References: <Pine DOT GSO DOT 3 DOT 95 DOT 970222215845 DOT 15521A-100000 AT hops DOT cs DOT jhu DOT edu>
NNTP-Posting-Host: rigel.oac.uci.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <Pine DOT GSO DOT 3 DOT 95 DOT 970222215845 DOT 15521A-100000 AT hops DOT cs DOT jhu DOT edu>,
Michael Phelps  <morphine AT hops DOT cs DOT jhu DOT edu> wrote:

>Try linking in the libraries at the end of the command line:
>	gcc -O2 -fhandle-exceptions -fomit-frame-pointer -fforce-addr
>		main.o subst.o -o main -lgpp -lm
>
>The order (and existance!) of libraries for linking is usually the reason
>for underfined reference errors. 
>
  That did it.  thankyouthankyouthankyouthankyouthankyouthankyouthankyou
  thankyouthankyouthankyouthankyouthankyouthankyouthankyouthankyou... etc.


-- 
  beppu AT uci DOT edu .............................................................

- Raw text -


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