| Summary: | assym.s: No such file or directory | ||
|---|---|---|---|
| Product: | Base System | Reporter: | kaz <kaz> |
| Component: | i386 | Assignee: | FUJISHIMA Satsuki <sf> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | kaz |
| Priority: | Normal | ||
| Version: | 4.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
kaz
2001-07-01 04:00:12 UTC
At Sun, 1 Jul 2001 11:55:32 +0900 (JST), kaz@kobe1995.net wrote: > Can't make my kernel. Costomize my kernel configuratoin file > "KOBE" as below. And "config KOBE","cd ../../compile/KOBE", > "make -DNO_MODULES depend all",then failed as Do not run depend and all on one make. assym.s is made during make depend. # make depend cc -c -O -pipe -march=i686 -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c sh ../../kern/genassym.sh genassym.o > assym.s The proper way is: make -DNO_MODULES depend && make -DNO_MODULES all -- FUJISHIMA Satsuki On Sun, Jul 01, 2001 at 11:40:04AM -0700, FUJISHIMA Satsuki wrote:
> The following reply was made to PR i386/28562; it has been noted by GNATS.
>
> From: FUJISHIMA Satsuki <sf@FreeBSD.org>
> To: kaz@kobe1995.net
> Cc: FreeBSD-gnats-submit@freebsd.org
> Subject: Re: i386/28562: assym.s: No such file or directory
> Date: Mon, 02 Jul 2001 03:36:36 +0900
>
> At Sun, 1 Jul 2001 11:55:32 +0900 (JST),
> kaz@kobe1995.net wrote:
> > Can't make my kernel. Costomize my kernel configuratoin file
> > "KOBE" as below. And "config KOBE","cd ../../compile/KOBE",
> > "make -DNO_MODULES depend all",then failed as
>
> Do not run depend and all on one make.
> assym.s is made during make depend.
>
> # make depend
> cc -c -O -pipe -march=i686 -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 ../../i386/i386/genassym.c
> sh ../../kern/genassym.sh genassym.o > assym.s
>
> The proper way is:
> make -DNO_MODULES depend && make -DNO_MODULES all
That's correct. To expand a bit more:
The 'depend' target creates the dependency tree for source files -
which source file should be compiled under what conditions.
It creates a file, usually named '.depend', and a couple of other
files. The '.depend' file is read by make(1) at the very start,
and is NOT reread when make(1) moves on to the next target specified
on the command line. Thus, any changes to the '.depend' file made
in the first target, cannot possibly take effect in the second -
which is where make(1) finds out that something depends on assym.s,
and that it has not recorded any dependency information for that file.
In short, yes, the 'depend' target should be invoked separately from
anything else. You can run 'make all install reinstall', or however
many more targets you want to queue up, but the 'make depend' should
be run before that.
G'luck,
Peter
--
I am the thought you are now thinking.
State Changed From-To: open->feedback Do you think still this is sw-bug? Responsible Changed From-To: freebsd-bugs->sf I'll followup. State Changed From-To: feedback->closed Originator agreed that this is pilot error. |