Subject: Re: Help with ED_UNASSIGNED
To: Peter A. Eisch <peisch@cw.net>
From: Jaromír Dolecek <dolecek@ics.muni.cz>
List: current-users
Date: 01/23/2001 09:20:08
Peter A. Eisch wrote:
> 
> Let's suppose I'm set to src/lib/libedit and want to 'make' I get lots of
> stuff that wants some definition for ED_UNASSIGNED.

Is this under NetBSD with NetBSD make ?
ED_UNASSIGNED should be defined in fcns.h, which is generated
during build.

Jaromir

> shunt# make
> cc -O  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-uninitialized -Werror   -I. -I/usr/src/lib/libedit -I.
> -I/usr/src/lib/libedit   -c editline.c
> In file included from editline.c:4:
> chared.c: In function `ch_init':
> chared.c:465: `ED_UNASSIGNED' undeclared (first use in this function)
> chared.c:465: (Each undeclared identifier is reported only once
> chared.c:465: for each function it appears in.)
> chared.c: In function `ch_reset':
> chared.c:501: `ED_UNASSIGNED' undeclared (first use in this function)
> cc1: warnings being treated as errors
> chared.c: In function `c_gets':
> chared.c:584: warning: implicit declaration of function `ed_end_of_file'
> 
> 
> What didn't I do right?
> 
> 
> Thanks,
> 
> Peter
> 
> 
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@