Subject: Re: build.sh failed (machine/loadfile_machdep.h: No such file or directory)
To: None <current-users@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 05/05/2005 14:18:17
On Thu, May 05, 2005 at 05:54:44PM +0700, Ian Zagorskih wrote:
> 
> $ uname -a
> NetBSD NBSD1 3.99.3 NetBSD 3.99.3 (NBSD1.conf) #0: Tue May  3 12:02:09 
> NOVST 2005  toor@NBSD1:/usr/src/sys/arch/i386/compile/NBSD1.conf i386
> 
> Sources updated from cvs 5 mins ago.
> 
> ---cut---
> ===> build.sh command: /usr/src/build.sh -mi386 -O/usr/build/obj/i386 
[snip]
> /usr/src/sys/lib/libsa/loadfile.h:74:34: machine/loadfile_machdep.h: No 
> such file or directory
> nbmkdep: compile failed.

Looks like fallout from the .BEGIN removal. `make dependall' needs a
`dependall' target.

With the appended diff the build goes further but fails to build in
sys/arch/i386/stand/boot/biosboot, sys/arch/i386/stand/dosboot and
sys/arch/i386/stand/netboot/3c509

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)

Index: Makefile.booters
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/Makefile.booters,v
retrieving revision 1.59
diff -u -2 -r1.59 Makefile.booters
--- Makefile.booters	1 May 2005 00:31:23 -0000	1.59
+++ Makefile.booters	5 May 2005 12:01:53 -0000
@@ -54,5 +54,5 @@
 .endif
 
-depend realall: machine x86 lib
+depend dependall realall: machine x86 lib
 CLEANFILES+= machine x86
 
Index: boot/Makefile.boot
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/boot/Makefile.boot,v
retrieving revision 1.19
diff -u -2 -r1.19 Makefile.boot
--- boot/Makefile.boot	1 May 2005 03:07:12 -0000	1.19
+++ boot/Makefile.boot	5 May 2005 12:01:53 -0000
@@ -85,5 +85,5 @@
 .endif
 
-depend realall: machine x86 lib
+depend dependall realall: machine x86 lib
 CLEANFILES+= machine x86
 
Index: bootxx/Makefile.bootxx
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/bootxx/Makefile.bootxx,v
retrieving revision 1.16
diff -u -2 -r1.16 Makefile.bootxx
--- bootxx/Makefile.bootxx	1 May 2005 03:07:12 -0000	1.16
+++ bootxx/Makefile.bootxx	5 May 2005 12:01:53 -0000
@@ -91,5 +91,5 @@
 .endif
 
-depend realall: machine x86 lib
+depend dependall realall: machine x86 lib
 CLEANFILES+= machine x86
 
Index: mbr/Makefile.mbr
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/mbr/Makefile.mbr,v
retrieving revision 1.6
diff -u -2 -r1.6 Makefile.mbr
--- mbr/Makefile.mbr	1 May 2005 02:41:08 -0000	1.6
+++ mbr/Makefile.mbr	5 May 2005 12:01:53 -0000
@@ -33,5 +33,5 @@
 .endif
 
-depend realall: machine x86
+depend dependall realall: machine x86
 CLEANFILES+= machine x86