www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/08/06:15:45

Date: Sun, 8 Nov 1998 13:15:48 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: silver_paths AT my-dejanews DOT com
cc: djgpp AT delorie DOT com
Subject: Re: curses.h not working
In-Reply-To: <722td8$64b$1@nnrp1.dejanews.com>
Message-ID: <Pine.SUN.3.91.981108131343.12632I-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sun, 8 Nov 1998 silver_paths AT my-dejanews DOT com wrote:

> firework.c(42) Error: undefined reference to 'initscr'
> firework.c(43) Error: undefined reference to 'stdscr'
> firework.c(44) Error: undefined reference to '_cursvar'

My first guess would be that you didn't add -lcurso to the link command 
line, and thus the linker doesn't even look into the curses library.

If this doesn't help, post the entire command line you used to compile 
and link your program.

- Raw text -


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