Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 1998 11:07:15 +0200
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@freefall.cdrom.com, kuku@gilberto.physik.RWTH-Aachen.DE
Subject:   Re: help! - nodes.h where is it?
Message-ID:  <19980528110715.50696@gil.physik.rwth-aachen.de>
In-Reply-To: <199805280812.SAA27314@godzilla.zeta.org.au>; from Bruce Evans on Thu, May 28, 1998 at 06:12:15PM %2B1000
References:  <199805280812.SAA27314@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 28, 1998 at 06:12:15PM +1000, Bruce Evans wrote:
> >I cannot build -current world because something seems to be
> >screwed in my src tree and I cannot figure out.
> >...
> >I looked into cd.c and there is nodes.h included but I can't
> >find it anywhere in the system. Is it produced by some step in the make
> >phase?
> 
> nodes.h is build from notdetypes and nodes.c.pat by mknodes.
> 
> It looks like your src/share/mk/bsd.prog.mk is broken.

make mk doesn't work anymore, btw.

OK, I overwrote all my /usr/share/mk files with the
new ones,
went into /usr/src/bin/sh
# make clean
rm -f mkinit mkinit.o mknodes mknodes.o  mksyntax mksyntax.o builtins.c init.c nodes.c syntax.c builtins.h nodes.h syntax.h token.h y.tab.h sh alias.o arith.o arith_lex.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o output.o parser.o printf.o redir.o show.o trap.o var.o builtins.o init.o nodes.o syntax.o sh.1.gz sh.1.cat.gz arith_lex.c arith.c y.tab.c y.tab.h
# make
cc -O2 -m486 -pipe -DSHELL -I. -I/a/src/bin/sh   -c /a/src/bin/sh/alias.c
yacc -d /a/src/bin/sh/arith.y
cp y.tab.c arith.c
cc -O2 -m486 -pipe -DSHELL -I. -I/a/src/bin/sh   -c arith.c
lex -t -8 /a/src/bin/sh/arith_lex.l > arith_lex.c
cc -O2 -m486 -pipe -DSHELL -I. -I/a/src/bin/sh   -c arith_lex.c
cc -O2 -m486 -pipe -DSHELL -I. -I/a/src/bin/sh   -c /a/src/bin/sh/cd.c
/a/src/bin/sh/cd.c:58: nodes.h: No such file or directory
*** Error code 1

Stop.

FWIW, /usr/src/bin/sh is a link to /a/src/bin/sh.

> 
> Bruce

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980528110715.50696>