Subject: Re: Can't make includes with recent current
To: None <>
From: Paul Newhouse <>
List: current-users
Date: 07/07/2001 13:47:12
On Sat, 07 Jul 2001 10:12:03 PDT Chuck Silvers asked:
> hi,
> did you update /usr/bin/make and /usr/share/mk?

Hi Chuck,

Yes,  make, yacc, lex, xlint, libc (wo/rpc).. seems like there were one or two
This can't make X thing hurts my head though, I don't understand what:

   .ifnmake getrpcgen
   XRPCGEN != (cd ${.CURDIR} && ${MAKE} -B ${MAKEFLAGS} getrpcgen)

       @set -- X `type ${RPCGEN}` && shift `expr $$# - 1` && echo "$$1"

   rpcb_prot.h:: rpcb_prot.x ${XRPCGEN}
       ${RPCGEN} -C -h ${.CURDIR}/rpcb_prot.x -o ${.TARGET}

the set is supposed to do!?  I'm pretty sure it's the X in,  "@set -- X",
that's being complained
about.  It doesn't look like ${RPCGEN} is set to anything so $$# is 1 and less
1 is 0, then
it echos "X".  I can't figure out what ${RPCGEN} is supposed to be.  It looks
like it should be:

    RPCGEN?=       rpcgen
from  /usr/share/mk/, but if I echo that right before the set it's
nothing.  I tried your 
make -k ... several times and now it stops with:

   make: don't know how to make /usr/lib/crtbeginS.o

I'm trying to build this running a kernel from:

   NetBSD pimin 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (PIMIN) #4: \
     Sun Dec 10 19:49:34 PST 2000

User land is older than that, and a.out not ELF.  I chroot into an environment
with binaries  that
were  seeded  from current about a week ago.


> On Fri, Jul 06, 2001 at 11:18:15PM -0700, Paul Newhouse wrote:
> > I must have to build something first?
> >
> > includes ===> include/rpc
> > make: don't know how to make X. Stop
> > *** Error code 2
> >
> > Where did I go wrong?
> >
> > TIA,
> > Paul