List Info

Thread: Problem to build hpcarm-netbsd-current




Problem to build hpcarm-netbsd-current
country flaguser name
Germany
2007-10-05 07:32:51
Hi,
i want to build netbsd-current-4.99.32 for my jornada720,
but i get the
following error:

#    create  vnd/.depend
rm -f .depend
CC=/usr/hpcarm/tools/bin/arm--netbsdelf-gcc
/usr/hpcarm/tools/bin/nbmkdep -d -f .depend -s .o
lkminit_vnd.d
real-vnd.d
#   compile  vnd/lkminit_vnd.o
/usr/hpcarm/tools/bin/arm--netbsdelf-gcc -O2 -ffreestanding

-fno-strict-aliasing -Wno-pointer-sign -Wall
-Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional 
-Werror   -I/usr/src/common/include -nostdinc -I.
-I/usr/src/sys/lkm/dev/vnd -isystem /usr/src/sys -isystem
/usr/src/sys/arch -isystem /usr/src/sys/../common/include
-D_KERNEL
-D_LKM  -c    /usr/src/sys/lkm/dev/vnd/lkminit_vnd.c
In file included from ./arm/cpu.h:85,
                 from ./machine/cpu.h:3,
                 from ./arm/arm32/param.h:39,
                 from ./machine/param.h:45,
                 from /usr/src/sys/sys/param.h:145,
                 from
/usr/src/sys/lkm/dev/vnd/lkminit_vnd.c:34:
./machine/intr.h:81: error: expected identifier or '('
before 'do'
./machine/intr.h:81: error: expected identifier or '('
before 'while'
In file included from ./arm/cpu.h:85,
                 from ./machine/cpu.h:3,
                 from ./arm/arm32/param.h:39,
                 from ./machine/param.h:45,
                 from /usr/src/sys/sys/param.h:145,
                 from
/usr/src/sys/lkm/dev/vnd/lkminit_vnd.c:34:
./machine/intr.h:82:21: error: macro "setsoftnet"
passed 1 arguments,
but takes just 0

*** Failed target:  lkminit_vnd.o
*** Failed command: /usr/hpcarm/tools/bin/arm--netbsdelf-gcc
-O2
-ffreestanding -fno-strict-aliasing -Wno-pointer-sign -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Werror
-I/usr/src/common/include
-nostdinc -I. -I/usr/src/sys/lkm/dev/vnd -isystem
/usr/src/sys -isystem
/usr/src/sys/arch -isystem /usr/src/sys/../common/include
-D_KERNEL
-D_LKM -c /usr/src/sys/lkm/dev/vnd/lkminit_vnd.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm/dev/vnd

*** Failed target:  dependall
*** Failed command: cd /usr/src/sys/lkm/dev/vnd;
/usr/hpcarm/tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm/dev/vnd

*** Failed target:  dependall-vnd
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/lkm/dev/";
real="/usr/src/sys/lkm/dev" ;; *)
this="sys/lkm/dev/$/";
real="/usr/src/sys/lkm/dev/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $)}"; cd
"$" && /usr/hpcarm/tools/bin/nbmake
_THISDIR_="$" "$"
$; }; _makedirtarget vnd dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm/dev

*** Failed target:  dependall-dev
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/lkm/"; real="/usr/src/sys/lkm"
;; *) this="sys/lkm/$/";
real="/usr/src/sys/lkm/$" ;; esac;
show=${this:-.}; echo "$
===> ${show%/}${1:+ (with: $)}"; cd
"$" &&
/usr/hpcarm/tools/bin/nbmake _THISDIR_="$"
"$" $; };
_makedirtarget dev dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys/lkm

*** Failed target:  dependall-lkm
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="sys/"; real="/usr/src/sys" ;; *)
this="sys/$/";
real="/usr/src/sys/$" ;; esac;
show=${this:-.}; echo "$
===> ${show%/}${1:+ (with: $)}"; cd
"$" &&
/usr/hpcarm/tools/bin/nbmake _THISDIR_="$"
"$" $; };
_makedirtarget lkm dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sys

*** Failed target:  dependall-sys
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $)}"; cd
"$" && /usr/hpcarm/tools/bin/nbmake
_THISDIR_="$" "$"
$; }; _makedirtarget sys dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  do-build
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $)}"; cd
"$" && /usr/hpcarm/tools/bin/nbmake
_THISDIR_="$" "$"
$; }; _makedirtarget . dependall BUILD_tools=no
BUILD_lib=no
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $)}"; cd
"$" && /usr/hpcarm/tools/bin/nbmake
_THISDIR_="$" "$"
$; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1";
shift; target="$1";
shift; case "$" in /*)
this="$/"; real="$" ;; .)
this="";
real="/usr/src" ;; *) this="$/";
real="/usr/src/$" ;; esac;
show=${this:-.}; echo "$ ===> ${show%/}${1:+
(with: $)}"; cd
"$" && /usr/hpcarm/tools/bin/nbmake
_THISDIR_="$" "$"
$; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***
rootxen3:/usr/src$

I build it under netbsd-4.99.22-i386 with the command:

rootxen3:/usr/src$ ./build.sh -x -m hpcarm -T
/usr/hpcarm/tools -O
/usr/hpcarm/obj -U -D /usr/hpcarm/build tools
kernel=JORNADA720 distribution

Can everyone help me?

Regards,
    Jens



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )