Subject: Re: make build error
To: None <clarence@pc64.cs.cuhk.hk>
From: the Riz <riz@boogers.sf.ca.us>
List: current-users
Date: 05/26/1996 09:52:56
You wrote:

> Hello,

> I had an error when I make build for source tree 960525 from ftp.netbsd.org

> ======= Error =======
> /usr/src/usr.bin/vi/build/../common/options.c: In function `opts_init':
> /usr/src/usr.bin/vi/build/../common/options.c:342: `_PATH_MSGCAT' undeclared (first use this function)
> /usr/src/usr.bin/vi/build/../common/options.c:342: (Each undeclared identifier is reported only once
> /usr/src/usr.bin/vi/build/../common/options.c:342: for each function it appears in.)
> *** Error code 1

> Stop.
> ======= Error =======

> Any idea ? Please help.  Thanks.

I just ran into this myself.  I had to change line 32 of
/usr/src/usr.bin/vi/common/options.c from
#include "pathnames.h"
to
#include "../build/pathnames.h"

and it built fine after that.

+j

> cheers

> clarence
> clarence@cs.cuhk.hk

-- 
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz