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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/lkm/dev/"; real="/usr/src/sys/lkm/dev" ;; *)
this="sys/lkm/dev/${dir}/"; real="/usr/src/sys/lkm/dev/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/lkm/"; real="/usr/src/sys/lkm" ;; *) this="sys/lkm/${dir}/";
real="/usr/src/sys/lkm/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this="sys/"; real="/usr/src/sys" ;; *) this="sys/${dir}/";
real="/usr/src/sys/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _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 "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="";
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac;
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /usr/hpcarm/tools/bin/nbmake _THISDIR_="${this}" "$@"
${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
root@xen3:/usr/src$
I build it under netbsd-4.99.22-i386 with the command:
root@xen3:/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
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| David Miller | Slow DOWN, please!!! |
| Mark Fasheh | [PATCH 0/39] Ocfs2 updates for 2.6.28 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Pierre Habouzit | git send-email improvements |
| Matthieu Moy | git push to a non-bare repository |
| Shawn O. Pearce | libgit2 - a true git library |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Re: Compressed vnd handling tested successfully |
| Lord Isildur | Re: Fork bomb protection patch |
| Matt Thomas | Re: FFS journal |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| Richard Stallman | Real men don't attack straw men |
| Harald Dunkel | Re: Packet Filter: how to keep device names on hardware failure? |
| Jordi Espasa Clofent | Resolving dependencies with pkg_add |
| Question on swap as ramdisk partition | 54 minutes ago | Linux kernel |
| Netfilter kernel module | 11 hours ago | Linux kernel |
| serial driver xmit problem | 14 hours ago | Linux kernel |
| Why Windows is better than Linux | 14 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 21 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
