Problem to build hpcarm-netbsd-current

Previous thread: Thread benchmarks, round 2 by Andrew Doran on Thursday, October 4, 2007 - 7:04 pm. (14 messages)

Next thread: Re: Thread benchmarks, round 2 by Christos Zoulas on Friday, October 5, 2007 - 1:53 pm. (3 messages)
To: netbsd current <current-users@...>, <port-hpcarm@...>, <tech-kern@...>, <port-arm@...>
Date: Friday, October 5, 2007 - 8:32 am

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...

Previous thread: Thread benchmarks, round 2 by Andrew Doran on Thursday, October 4, 2007 - 7:04 pm. (14 messages)

Next thread: Re: Thread benchmarks, round 2 by Christos Zoulas on Friday, October 5, 2007 - 1:53 pm. (3 messages)