NetBSD Problem Report #22043

Received: (qmail 14180 invoked by uid 605); 3 Jul 2003 14:02:40 -0000
Message-Id: <20030703140233.25E6831B47@daiki.thn.ne.jp>
Date: Thu,  3 Jul 2003 23:02:33 +0900 (JST)
From: mochi@thn.ne.jp
Sender: gnats-bugs-owner@netbsd.org
Reply-To: mochi@thn.ne.jp
To: gnats-bugs@gnats.netbsd.org
Subject: Compile error ktrace-lwp branch.
X-Send-Pr-Version: 3.95

>Number:         22043
>Category:       kern
>Synopsis:       Compile error ktrace-lwp branch.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 03 14:03:01 +0000 2003
>Closed-Date:    Wed Aug 20 06:09:01 +0000 2003
>Last-Modified:  Wed Aug 20 06:09:01 +0000 2003
>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:

From: Nick Hudson <skrll@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/22043 CVS commit: [ktrace-lwp] src/sys/compat/linux/common
Date: Tue, 19 Aug 2003 15:40:50 +0000 (UTC)

 Module Name:	src
 Committed By:	skrll
 Date:		Tue Aug 19 15:40:49 UTC 2003

 Modified Files:
 	src/sys/compat/linux/common [ktrace-lwp]: linux_ioctl.c

 Log Message:
 Fix patch botch. Closes PR 22043.


 To generate a diff of this commit:
 cvs rdiff -r1.38.2.1 -r1.38.2.2 src/sys/compat/linux/common/linux_ioctl.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: skrll 
State-Changed-When: Wed Aug 20 06:08:47 UTC 2003 
State-Changed-Why:  
Problem is fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.