Subject: Monday 21.8 current sources fail to build (port hpcarm)
To: None <current-users@netbsd.org>
From: None <JiroutP@rferl.org>
List: current-users
Date: 08/21/2006 11:18:01
This is a multipart message in MIME format.
--=_alternative 00331905C12571D1_=
Content-Type: text/plain; charset="US-ASCII"
Hi,
using build.sh script to build a kernel
$ ./build.sh -m hpcarp -T /usr/current/src/hpcarmtools tools
kernel=JORNADA720
the build process stops on this
In file included from /usr/current/src/sys/kern/subr_kmem.c:40:
/usr/current/src/sys/sys/callback.h:39: error: field 'ch_lock' has
incomplete type
*** Failed target: subr_kmem.o
*** Failed command: echo '# ' "compile JORNADA720/subr_kmem.o"; echo
/usr/current/src/hpcarmtools/bin/arm--netbsdelf-gcc -ffreestanding
-fno-zero-initialized-in-bss -O2 -Wcomment -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing
-Dhpcarm -Darm32 -I. -I/usr/current/src/sys/../common/include
-I/usr/current/src/sys/arch -I/usr/current/src/sys -nostdinc -DLKM
-DCONSPEED="19200" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-c /usr/current/src/sys/kern/subr_kmem.c;
/usr/current/src/hpcarmtools/bin/arm--netbsdelf-gcc -ffreestanding
-fno-zero-initialized-in-bss -O2 -Wcomment -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings
-Wno-sign-compare -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing
-Dhpcarm -Darm32 -I. -I/usr
/current/src/sys/../common/include -I/usr/current/src/sys/arch
-I/usr/current/src/sys -nostdinc -DLKM -DCONSPEED="19200" -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-c /usr/current/src/sys/kern/subr_kmem.c
*** Error code 1
Stop.
nbmake: stopped in /usr/current/src/sys/arch/hpcarm/compile/obj/JORNADA720
ERROR: Failed to make all in
/usr/current/src/sys/arch/hpcarm/compile/obj/JORNADA720
*** BUILD ABORTED ***
Pavel
--=_alternative 00331905C12571D1_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi, </font>
<br>
<br><font size=2 face="sans-serif">using build.sh script to build
a kernel </font>
<br><font size=2 face="sans-serif">$ ./build.sh -m hpcarp -T /usr/current/src/hpcarmtools
tools kernel=JORNADA720 </font>
<br>
<br><font size=2 face="sans-serif">the build process stops on this </font>
<br>
<br><font size=2 face="sans-serif">In file included from /usr/current/src/sys/kern/subr_kmem.c:40:</font>
<br><font size=2 face="sans-serif">/usr/current/src/sys/sys/callback.h:39:
error: field 'ch_lock' has incomplete type</font>
<br>
<br><font size=2 face="sans-serif">*** Failed target: subr_kmem.o</font>
<br><font size=2 face="sans-serif">*** Failed command: echo '# ' "compile
JORNADA720/subr_kmem.o"; echo /usr/current/src/hpcarmtools/bin/arm--netbsdelf-gcc
-ffreestanding -fno-zero-initialized-in-bss -O2 -Wcomment -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -fno-strict-aliasing -Dhpcarm -Darm32
-I. -I/usr/current/src/sys/../common/include -I/usr/current/src/sys/arch
-I/usr/current/src/sys -nostdinc -DLKM -DCONSPEED="19200" -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-c /usr/current/src/sys/kern/subr_kmem.c; /usr/current/src/hpcarmtools/bin/arm--netbsdelf-gcc
-ffreestanding -fno-zero-initialized-in-bss -O2 -Wcomment -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -fno-strict-aliasing -Dhpcarm -Darm32
-I. -I/usr</font>
<br><font size=2 face="sans-serif">/current/src/sys/../common/include -I/usr/current/src/sys/arch
-I/usr/current/src/sys -nostdinc -DLKM -DCONSPEED="19200" -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-c /usr/current/src/sys/kern/subr_kmem.c</font>
<br><font size=2 face="sans-serif">*** Error code 1</font>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">nbmake: stopped in /usr/current/src/sys/arch/hpcarm/compile/obj/JORNADA720</font>
<br>
<br><font size=2 face="sans-serif">ERROR: Failed to make all in /usr/current/src/sys/arch/hpcarm/compile/obj/JORNADA720</font>
<br><font size=2 face="sans-serif">*** BUILD ABORTED ***</font>
<br>
<br><font size=2 face="sans-serif">Pavel </font>
<br>
<br>
--=_alternative 00331905C12571D1_=--