Subject: kern/22043: Compile error ktrace-lwp branch.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mochi@thn.ne.jp>
List: netbsd-bugs
Date: 07/03/2003 23:02:33
>Number: 22043
>Category: kern
>Synopsis: Compile error ktrace-lwp branch.
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 03 14:03:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: MOCHIZUKI Tomomitsu
>Release: NetBSD 1.6T
>Organization:
>Environment:
System: NetBSD daiki 1.6T NetBSD 1.6T (DAIKI) #0: Sat Jun 14 14:47:54 JST 2003 mochi@daiki:/sys/arch/i386/compile/DAIKI i386
Architecture: i386
Machine: i386
>Description:
I'm checkout ktrace-lwp branch. and It will be an error if it compiles.
If the portion in question is seen, it is visible to a correction mistake.
>How-To-Repeat:
cc -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare -Wno-uninitialized -Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DUCONSOLE -DLKM -DDEVICE_POLLING -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c ../../../../compat/linux/common/linux_ioctl.c
../../../../compat/linux/common/linux_ioctl.c: In function `linux_sys_ioctl':
../../../../compat/linux/common/linux_ioctl.c:132: invalid lvalue in assignment
../../../../compat/linux/common/linux_ioctl.c:132: parse error before `;'
../../../../compat/linux/common/linux_ioctl.c:135: parse error before `else'
cc1: warnings being treated as errors
../../../../compat/linux/common/linux_ioctl.c:121: warning: unused variable `sequencer_cdevsw'
../../../../compat/linux/common/linux_ioctl.c:138: `fp' undeclared (first use in this function)
../../../../compat/linux/common/linux_ioctl.c:138: (Each undeclared identifier is reported only once
../../../../compat/linux/common/linux_ioctl.c:138: for each function it appears in.)
*** Error code 1
Stop.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: