Subject: Re: 02/24 build problem with smb_co_lockstatus (GENERIC.MP)
To: Sean J. Schluntz <>
From: Jaromir Dolecek <>
List: current-users
Date: 02/24/2003 22:21:58
This has already been fixed - in rev.1.7 of src/sys/netsmb/smb_conn.c


Sean J. Schluntz wrote:
> Greetings all, I just sup'd about two hours ago and was able to build
> the tools (./ tools).  I then tried to build the generic MP
> kernel, nbmake depend went through but running nbmake got this error
> (this is the second run of nbmake so it's jumped pst the stuff it
> alredy did.):
> 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
> Stop.
> nbmake: stopped in /usr/src/sys/arch/i386/compile/GENERIC.MP
> greywolf# 
> Any ideas?
> -sean

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-