stdscr definition missing ?

From: Aharon Schkolnik <aharon_at_health.gov.il>
Date: Sun, 29 Mar 1998 14:08:39 +0300

Hi.


I'm trying to build a package I downloaded from the net, and it dies
with the following:


gcc -DHAVE_CONFIG_H -g -O2 -I/usr/include/ncurses -I. -c select.c -o select.o
gcc -DHAVE_CONFIG_H -g -O2 -I/usr/include/ncurses -I. -c curses.c -o curses.o
curses.c: In function `pwcenter':
curses.c:48: `stdscr' undeclared (first use this function)
curses.c:48: (Each undeclared identifier is reported only once
curses.c:48: for each function it appears in.)
curses.c:49: warning: type mismatch in implicit declaration for built-in functi
n `strlen'
curses.c: In function `curses_hosts':
curses.c:90: `stdscr' undeclared (first use this function)
curses.c: In function `curses_redraw':
curses.c:113: `stdscr' undeclared (first use this function)
curses.c:121: `A_BOLD' undeclared (first use this function)
gmake: *** [curses.o] Error 1



I guess it's looking for a defition for stdscr, and I guess it thinks
it ought to be in ncurses.h.

Does digital unix 3.2c have a ncurses.h ?

Any other ideas ?


TIA.


-- 
  The day is short, and the work is great,     |   Aharon Schkolnik
  and the laborers are lazy, and the reward    |   Aharon_at_Health.Gov.IL
  is great, and the Master of the house is     |
  impatient. - Ethics Of The Fathers Ch. 2     |
Received on Sun Mar 29 1998 - 13:06:22 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT