Subject: Re: 02/24 build problem with smb_co_lockstatus (GENERIC.MP)
To: Sean J. Schluntz <schluntz@workofstone.com>
From: Soren Jacobsen <soren@blef.org>
List: current-users
Date: 02/24/2003 13:04:12
On Mon, Feb 24, 2003 at 01:00:21PM -0800, Sean J. Schluntz wrote:
> greywolf# /usr/obj/tools/tools.NetBSD-1.6I-i386/bin/nbmake
> 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 -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c ../../../../netsmb/smb_conn.c
> cc1: warnings being treated as errors
> ../../../../netsmb/smb_conn.c:337: warning: `smb_co_lockstatus' defined but not used
> *** Error code 1

That is because -Werror is used. You can run that command by hand and
omit -Werror, or you can edit smb_conn.c and comment out the definition
of that variable. It shouldn't matter.

-- 
Soren Jacobsen