Subject: libc without YP
To: None <tech-toolchain@netbsd.org>
From: Srinivasa Kanduru <ksraghavan@yahoo.com>
List: tech-toolchain
Date: 11/24/2003 10:36:08
Hi,

I was trying to build libc without YP dependency, but looks like there is some
dependency contradictory to what the libc/Makefile defines ..

In libc/Makefile

.if (${MKYP} != "no")
.include "${.CURDIR}/yp/Makefile.inc"
.endif

so the yp/*.c are not included , yet in  gen/getpwent.c there are some
references which are included only in the "#ifdef YP" code like

char *__ypdomain;
yp_match() /* defined in yp/yp_match.c

#define YPMAXRECORD 1024 /* This is in rpcsvc/yp_prot.h */ again included in
"#ifdef YP" code

Is there anyway that I can exclude it ?

Thanks,
Srini.

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/