Subject: Re: Heads up, kernel changes
To: Juan RP <juan@xtrarom.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 07/10/2007 15:47:42
On Wed, 11 Jul 2007, Juan RP wrote:

> On Tue, 10 Jul 2007 15:26:11 -0700 (PDT)
> Hisashi T Fujinaka <htodd@twofifty.com> wrote:
>
>> #   compile  trpt/trpt.o
>> /usr/src/obj.i386/tooldir.NetBSD-4.99.23-i386/bin/i386--netbsdelf-gcc
>> -O2  -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall
>> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
>> -Wno-sign-compare -Wno-traditional  -Werror   -DINET6  -nostdinc
>> -isystem /usr/src/obj.i386/destdir.i386/usr/include  -D_FORTIFY_SOURCE=2
>> -c    /usr/src/usr.sbin/trpt/trpt.c /usr/src/usr.sbin/trpt/trpt.c: In
>> function 'tcp_trace': /usr/src/usr.sbin/trpt/trpt.c:542: error: 'struct
>> callout' has no member named 'c_flags' /usr/src/usr.sbin/trpt/trpt.c:546:
>> error: 'struct callout' has no member named 'c_time'
>
> This has been fixed minutes ago.
>
>> And there's a problem in regress, too, once I get past this one.
>
> I'm not sure about this one...

#   compile  extent/subr_extent.o
/usr/src/obj.i386/tooldir.NetBSD-4.99.23-i386/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional  -Werror   -D_EXTENT_TESTING -D__POOL_EXPOSE  -nostdinc -isystem /usr/src/obj.i386/destdir.i386/usr/include  -c    /usr/src/sys/kern/subr_extent.c
/usr/src/sys/kern/subr_extent.c:181:37: error: macro "cv_wait" passed 2 arguments, but takes just 1
/usr/src/sys/kern/subr_extent.c: In function 'extent_alloc_region_descriptor':
/usr/src/sys/kern/subr_extent.c:181: error: 'cv_wait' undeclared (first use in this function)
/usr/src/sys/kern/subr_extent.c:181: error: (Each undeclared identifier is reported only once
/usr/src/sys/kern/subr_extent.c:181: error: for each function it appears in.)
cc1: warnings being treated as errors
/usr/src/sys/kern/subr_extent.c: In function 'extent_create':
/usr/src/sys/kern/subr_extent.c:310: warning: left-hand operand of comma expression has no effect
/usr/src/sys/kern/subr_extent.c:310: error: 'IPL_VM' undeclared (first use in this function)
/usr/src/sys/kern/subr_extent.c:310: warning: left-hand operand of comma expression has no effect
/usr/src/sys/kern/subr_extent.c:311: warning: implicit declaration of function 'cv_init'
/usr/src/sys/kern/subr_extent.c: In function 'extent_destroy':
/usr/src/sys/kern/subr_extent.c:349: warning: implicit declaration of function 'cv_destroy'
/usr/src/sys/kern/subr_extent.c:350: error: 'b' undeclared (first use in this function)
/usr/src/sys/kern/subr_extent.c:350: warning: left-hand operand of comma expression has no effect
/usr/src/sys/kern/subr_extent.c:350: error: 'c' undeclared (first use in this function)
/usr/src/sys/kern/subr_extent.c:350: warning: left-hand operand of comma expression has no effect
/usr/src/sys/kern/subr_extent.c:573:38: error: macro "cv_wait" passed 2 arguments, but takes just 1
/usr/src/sys/kern/subr_extent.c: In function 'extent_alloc_region':
/usr/src/sys/kern/subr_extent.c:573: error: 'cv_wait' undeclared (first use in this function)
/usr/src/sys/kern/subr_extent.c:967:36: error: macro "cv_wait" passed 2 arguments, but takes just 1
/usr/src/sys/kern/subr_extent.c: In function 'extent_alloc_subregion1':
/usr/src/sys/kern/subr_extent.c:967: error: 'cv_wait' undeclared (first use in this function)

*** Failed target:  subr_extent.o
*** Failed command: /usr/src/obj.i386/tooldir.NetBSD-4.99.23-i386/bin/i386--netbsdelf-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Werror -D_EXTENT_TESTING -D__POOL_EXPOSE -nostdinc -isystem /usr/src/obj.i386/destdir.i386/usr/include -c /usr/src/sys/kern/subr_extent.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/regress/sys/kern/extent

*** Failed target:  dependall
*** Failed command: cd /usr/src/regress/sys/kern/extent; /usr/src/obj.i386/tooldir.NetBSD-4.99.23-i386/bin/nbmake realall
*** Error code 1

Stop.



-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte