Subject: Re: Heads up, kernel changes
To: Andrew Doran <ad@NetBSD.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 07/10/2007 19:56:16
On Tue, 10 Jul 2007, Andrew Doran wrote:

> On Tue, Jul 10, 2007 at 03:26:11PM -0700, Hisashi T Fujinaka wrote:
>
>> 3)
>>
>> #   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'
>>
>> And there's a problem in regress, too, once I get past this one.
>
> Both fixed now..

Now I hit this:

#   compile  XEN3_DOM0/xenbus_xs.o
/usr/src/obj.i386/tooldir.NetBSD-4.99.23-i386/bin/i386--netbsdelf-gcc -ffreestanding -fno-zero-initialized-in-bss -march=i686 -O2 -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 -Di386 -I. -I/var/obj/sys/arch/i386/compile.i386/XEN3_DOM0/xen-ma -I/usr/src/sys/contrib/dev/ath/netbsd -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMSGBUFSIZE=24576 -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -I/usr/src/sys/dist/ipf -c /usr/src/sys/arch/xen/xenbus/xenbus_xs.c
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c: In function 'xs_init':
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c:839: error: invalid storage class for function 'xenwatch_create_thread'
cc1: warnings being treated as errors
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c:839: warning: no previous prototype for 'xenwatch_create_thread'
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c: In function 'xenwatch_create_thread':
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c:853: warning: 'return' with a value, in function returning void
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c:840: warning: unused variable 'p'
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c: In function 'xs_init':
/usr/src/sys/arch/xen/xenbus/xenbus_xs.c:854: error: expected declaration or statement at end of input

*** Failed target:  xenbus_xs.o

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