* Re: completions with users (-u) and NIS+
@ 1996-07-05 6:28 Sven Wischnowsky
0 siblings, 0 replies; only message in thread
From: Sven Wischnowsky @ 1996-07-05 6:28 UTC (permalink / raw)
To: zsh-workers
Vincent Lefevre wrote:
>
> > Try to add -DHAVE_NIS_PLUS to DEFS in Src/Makefile, remove zle_tricky.o and
> > recompile.
>
> I get the following errors:
>
> Ok make
> gcc -c -I.. -I. -I. -DHAVE_CONFIG_H -DHAVE_NIS_PLUS -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_tricky.c
> zle_tricky.c:1567: conflicting types for `match_username'
> zle_tricky.c:1552: previous declaration of `match_username'
> make: *** [zle_tricky.o] Error 1
> zsh: exit 2 make
>
> If I replace line 1549 by:
> #if defined(HAVE_NIS) && !defined(HAVE_NIS_PLUS)
> there's no error any longer, but it does not change anything.
>
There are some more checks for HAVE_NIS. I would try it with changing
the define HAVENIS in config.h (in the main directory) to define
HAVE_NIS_PLUS. Alternatively you can just add define HAVE_NIS_PLUS and
undef HAVE_NIS (!) in zle_tricky.c.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-07-05 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-05 6:28 completions with users (-u) and NIS+ Sven Wischnowsky
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).