Subject: Re: Build error (Re: CVS commit: src) (fwd)
To: None <>
From: Bill Studenmund <skippy@macro.Stanford.EDU>
List: current-users
Date: 10/26/1998 12:44:16
I sent this messge to Skeelo, but decided to send it to the list so others
won't get bitten by this problem.

> depend ===> gnu/usr.bin/gcc
> depend ===> gnu/usr.bin/gcc/common
> yacc  -d -b bi-parser bi-parser.y
> mv bi-parser.c
> mv bi-parser.h
> cc  -I/usr/sup/current/src/gnu/usr.bin/gcc/common -I/usr/sup/current/src/gnu/usr.bin/gcc/common/../arch  -I/usr/sup/current/src/gnu/usr.bin/gcc/common/../arch/m68k -I/usr/sup/current/src/gnu/usr.bin/gcc/common -nostdinc -idirafter /current/usr/include   -
> o bi-arity bi-arity.lo bi-parser.lo bi-lexer.lo bi-reverse.lo obstack.lo
> cc: bi-arity.lo: No such file or directory
> cc: bi-parser.lo: No such file or directory
> cc: bi-lexer.lo: No such file or directory
> cc: bi-reverse.lo: No such file or directory
> cc: obstack.lo: No such file or directory
> cc: No input files

Try doing a make -m /src/share/mk for your build.

To test things out, cd directly to gcc/common and try "make depend -m

This patch takes advantage of changes to the make system made just before
it was committed, namely rules on how to make .lo files.

Added for current-users: I've tested the make -m solution on my system.
With old make files, I get Skeelo's error. With adding the -m, all works

I'm puzzled as Skeelo doesn't seem to be using a DESTDIR (AFAICT from the
post), and one of the first things make build does is install new make
files. ??

Take care,