>cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  
>-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions 
>-ansi  -nostdinc -I- -I. -I../.. -I../../../include  -DKERNEL -include 
>opt_global.h -mno-fp-regs -Wa,-mev56  ../../nfs/nfs_syscalls.c
>../../nfs/nfs_syscalls.c:924: `sysctl__vfs_nfs_children' undeclared here (not 
>in a function)
>../../nfs/nfs_syscalls.c:924: initializer element for 
>`sysctl___vfs_nfs_defect.oid_parent' is not constant
>../../nfs/nfs_syscalls.c:92: warning: `nfsrv_zapsock' declared `static' but 
>never defined
>*** Error code 1
>
>Not *quite* sure where its coming from.

The new SYSCTL_DECL() is in an ifdef tangle for NFS_NOSERVER, so it only
works if NFS_NOSERVER is not defined.

Bruce


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to