Subject: Re: 02/24 build problem with smb_co_lockstatus (GENERIC.MP)
To: Soren Jacobsen <soren@blef.org>
From: Sean J. Schluntz <schluntz@greywolf.workofstone.net>
List: current-users
Date: 02/24/2003 14:00:55
In message <20030224210412.GA2496@blef.org>, Soren Jacobsen writes:
>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 -Wp
>ointer-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.

Got it, and that did get me past the compile error.  Thanks much for the
help!

-Sean