delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/20/01:33:15

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: V2 update installation problem
Date: 19 Sep 2000 22:23:30 -0700
Organization: InterWorld Communications
Lines: 34
Sender: nate AT mercury DOT st DOT hmc DOT edu
Message-ID: <83pulzbprh.fsf@mercury.st.hmc.edu>
References: <39C20302 DOT 5679E3AB AT bayou DOT uh DOT edu>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 969427410 98666 134.173.57.219 (20 Sep 2000 05:23:30 GMT)
X-Complaints-To: usenet AT news DOT interworld DOT net
NNTP-Posting-Date: Wed, 20 Sep 2000 05:23:30 +0000 (UTC)
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"!?" <lwp04147 AT bayou DOT uh DOT edu> writes:

> I have had version 2 since it came out, and a few months ago, I
> decided to download the whole package again and update.
[snip]

> C:\DJGPP\tests>makeall
> Bad command or file name
> make.exe: Nothing to be done for `all'.
> gcc -o check.exe check.o slist.o objs.o
> check.o: In function `main':
> check.cc:291: undefined reference to `__throw'
> check.cc:313: undefined reference to `__throw'
> check.cc:355: undefined reference to `__throw'
> check.cc(.text+0x1461): undefined reference to `__throw'
> check.cc(.text+0x1466): undefined reference to `__throw'
> check.cc(.text+0x1516): undefined reference to `terminate(void)'
> objs.o: In function `Object::Object(char *)':
> objs.cc:15: undefined reference to `__throw'
> objs.cc(.text+0xc6): undefined reference to `__throw'
> objs.cc(.text+0xd1): undefined reference to `__throw'
> objs.cc(.text+0x117): undefined reference to `terminate(void)'
> collect2: ld returned 1 exit status
> make.exe: *** [check.exe] Error 1
> C:\DJGPP\tests>

Your makefile is broken.  C++ files should be linked using `gpp' (or
`g++' on Unix).  There may be some other problems as well but this
appears to be the showstopper.

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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