Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2001 12:20:03 -0700 (PDT)
From:      Peter Pentchev <roam@orbitel.bg>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/28562: assym.s: No such file or directory
Message-ID:  <200107011920.f61JK3A82020@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/28562; it has been noted by GNATS.

From: Peter Pentchev <roam@orbitel.bg>
To: freebsd-gnats-submit@FreeBSD.org
Cc: FUJISHIMA Satsuki <sf@FreeBSD.org>
Subject: Re: i386/28562: assym.s: No such file or directory
Date: Sun, 1 Jul 2001 22:16:51 +0300

 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.

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




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