www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/22/20:37:45

From: beppu AT rigel DOT oac DOT uci DOT edu (John Beppu)
Newsgroups: comp.os.msdos.djgpp
Subject: [Q] why would this error occur? undefined reference to terminate(void)
Date: 23 Feb 1997 00:41:56 GMT
Organization: University of California, Irvine
Lines: 26
Message-ID: <5eo3ok$5oq@news.service.uci.edu>
NNTP-Posting-Host: rigel.oac.uci.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


  I tried to use exception handling in C++ for the first time, and
  I'm wondering if this may have something to do with these errors.
  If someone could tell me how I could get rid of these errors,
  please reply.  Thanks



gcc -O2 -lgpp -lm -fhandle-exceptions -fomit-frame-pointer -fforce-mem -fforce-addr main.o subst.o -o main
main.cc(.text+0x3cb): undefined reference to `terminate(void)'
main.cc(.text+0x631): undefined reference to `terminate(void)'
subst.cc(.text+0xcb7): undefined reference to `terminate(void)'
subst.cc(.text+0x1701): undefined reference to `terminate(void)'
make.exe: *** [main] Error 1




  PS.

  Additional graditude goes out to the MIDAS soundsystem people,
  for their djgpp release.  

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

- Raw text -


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