delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/21/04:07:54

Date: Sat, 21 Jul 2001 11:04:02 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Cheryl Strautman" <cstrautman AT home DOT com>
Message-Id: <8011-Sat21Jul2001110401+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <000901c11176$bb597620$92e97018@ca.nortel.com>
(cstrautman AT home DOT com)
Subject: Re: Undefined reference errors for curses functions
References: <000901c11176$bb597620$92e97018 AT ca DOT nortel DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Cheryl Strautman" <cstrautman AT home DOT com>
> Date: Fri, 20 Jul 2001 19:50:16 -0400
> 
> C:\Chris\Test>    gpp coltst.cxx -v

That's your problem, right there: you need to put -lcurses at the end
of the link command.  The linker doesn't scan the curses library
unless told to do so.

- Raw text -


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