It appears that we've (mostly) cleaned up the clang/system interface such that sysutils/lsof works with cc as clang. Can someone tell me what we need to do to shut these up? # LSOFCC=cc CC=cc make LSOFCC=cc CC=cc ===> lsof-4.87.a,7 depends on file: /usr/local/sbin/pkg - found ===> Extracting for lsof-4.87.a,7 => SHA256 Checksum OK for lsof_4.87A.freebsd.tar.bz2. ===> Patching for lsof-4.87.a,7 ===> Configuring for lsof-4.87.a,7 Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c ./lockf_owner.h creation succeeded. rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags Testing C library for localtime() and strftime(), using cc ... present ln -s dialects/freebsd/dlsof.h dlsof.h ln -s dialects/freebsd/dmnt.c dmnt.c ln -s dialects/freebsd/dnode.c dnode.c ln -s dialects/freebsd/dnode1.c dnode1.c ln -s dialects/freebsd/dnode2.c dnode2.c ln -s dialects/freebsd/dproc.c dproc.c ln -s dialects/freebsd/dproto.h dproto.h ln -s dialects/freebsd/dsock.c dsock.c ln -s dialects/freebsd/dstore.c dstore.c ln -s dialects/freebsd/dzfs.h dzfs.h ln -s dialects/freebsd/machine.h machine.h Makefile and lib/Makefile created. Makefile.zfs created. ./tests/config.cc created ./tests/config.cflags created ./tests/config.ldflags created ./tests/config.xobj created ===> Building for lsof-4.87.a,7 (cd lib; make DEBUG="-O2" CFGF="-pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\"") cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c ckkv.c In file included from ckkv.c:43: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c cvfs.c cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c dvch.c In file included from dvch.c:43: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dvch.c:675:18: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((DCfd = open(DCpath[DCpathX], O_RDONLY, 0)) < 0) { ^ 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c fino.c In file included from fino.c:52: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c isfn.c In file included from isfn.c:67: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c lkud.c In file included from lkud.c:52: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c pdvn.c In file included from pdvn.c:43: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c prfp.c In file included from prfp.c:43: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c ptti.c In file included from ptti.c:44: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c rdev.c In file included from rdev.c:43: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c regex.c cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c rmnt.c cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c rnam.c cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c rnch.c cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c rnmh.c In file included from rnmh.c:44: In file included from ./../lsof.h:195: In file included from ./../dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR="10.0-CURRENT" -I/usr/src/sys -O2 -c snpf.c ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o pdvn.o prfp.o ptti.o rdev.o regex.o rmnt.o rnam.o rnch.o rnmh.o snpf.o ranlib liblsof.a cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c dmnt.c In file included from dmnt.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmnt.c:98:13: warning: incompatible integer to pointer conversion initializing 'const volatile typeof (((struct cdev_priv *)0)->cdp_c) *' (aka 'const volatile struct cdev *') with an expression of type 'KA_T' (aka 'unsigned long') [-Wint-conversion] ca = (KA_T)cdev2priv(c); ^~~~~~~~~~~~ /usr/src/sys/fs/devfs/devfs_int.h:72:22: note: expanded from macro 'cdev2priv' #define cdev2priv(c) __containerof(c, struct cdev_priv, cdp_c) ^ /usr/src/sys/sys/cdefs.h:421:40: note: expanded from macro '__containerof' const volatile __typeof(((s *)0)->m) *__x = (x); \ ^ ~~~ dmnt.c:264:11: warning: implicit declaration of function 'getmntinfo' is invalid in C99 [-Wimplicit-function-declaration] if ((n = getmntinfo(&mb, MNT_NOWAIT)) <= 0) { ^ 9 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c dnode.c In file included from dnode.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dnode.c:958:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((type == VCHR)) { ~~~~~^~~~~~~ dnode.c:958:16: note: remove extraneous parentheses around the comparison to silence this warning if ((type == VCHR)) { ~ ^ ~ dnode.c:958:16: note: use '=' to turn this equality comparison into an assignment if ((type == VCHR)) { ^~ = 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c dnode1.c In file included from dnode1.c:42: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DFREEBSDV=10000 -DHAS_ZFS -DHAS_V_LOCKF -D_SOLARIS_C_SOURCE -O2 -I/usr/src/sys/cddl/compat/opensolaris -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/zmod -I/usr/src/sys/cddl/contrib/opensolaris/uts/common -I/usr/src/sys/cddl/contrib/opensolaris/common/zfs -I/usr/src/sys/cddl/contrib/opensolaris/common -I/usr/ports/sysutils/lsof/work/lsof_4.87A.freebsd/usr/src/include -I`pwd` -c dnode2.c In file included from dnode2.c:45: In file included from /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h:32: In file included from /usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfsops.h:31: In file included from /usr/src/sys/cddl/compat/opensolaris/sys/vfs.h:37: /usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:202:3: warning: implicit declaration of function 'VOP_UNLOCK' is invalid in C99 [-Wimplicit-function-declaration] VOP_UNLOCK(nd.ni_vp, 0); ^ /usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:257:10: warning: implicit declaration of function 'VOP_FSYNC' is invalid in C99 [-Wimplicit-function-declaration] error = VOP_FSYNC(vp, MNT_WAIT, curthread); ^ 2 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c dproc.c In file included from dproc.c:38: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dproc.c:527:11: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] Pn, bfl, bf); ^~~ 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c dsock.c In file included from dsock.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dsock.c:130:21: warning: '&&' within '||' [-Wlogical-op-parentheses] || (FnetTy == 4) && (fam == AF_INET) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ dsock.c:130:21: note: place parentheses around the '&&' expression to silence this warning || (FnetTy == 4) && (fam == AF_INET) ^ ( ) dsock.c:133:21: warning: '&&' within '||' [-Wlogical-op-parentheses] || (FnetTy == 6) && (fam == AF_INET6) ~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ dsock.c:133:21: note: place parentheses around the '&&' expression to silence this warning || (FnetTy == 6) && (fam == AF_INET6) ^ ( ) 9 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c dstore.c In file included from dstore.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c arg.c In file included from arg.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arg.c:1574:7: warning: implicit declaration of function 'inet_pton' is invalid in C99 [-Wimplicit-function-declaration] i = inet_pton(AF_INET6, wa, (void *)&n.a); ^ 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c main.c In file included from main.c:41: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:124:15: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] while (((i = open("/dev/null", O_RDWR, 0)) >= 0) && (i < 2)) ^ 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c misc.c In file included from misc.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:1436:39: warning: implicit declaration of function 'iswprint' is invalid in C99 [-Wimplicit-function-declaration] if ((mbtowc(&w, sp, sl) == lnc) && iswprint(w)) { ^ 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c node.c In file included from node.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c print.c In file included from print.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ print.c:414:8: warning: implicit declaration of function 'inet_ntop' is invalid in C99 [-Wimplicit-function-declaration] if (!inet_ntop(af, ia, hbuf + 1, sizeof(hbuf) - 3)) { ^ 8 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c proc.c In file included from proc.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c store.c In file included from store.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Constructing version.h cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c usage.c In file included from usage.c:39: In file included from ./lsof.h:195: In file included from ./dlsof.h:190: In file included from /usr/src/sys/ufs/ufs/ufsmount.h:36: /usr/src/sys/sys/buf.h:392:2: warning: implicit declaration of function 'KASSERT' is invalid in C99 [-Wimplicit-function-declaration] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^ /usr/src/sys/sys/buf.h:392:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bwrite: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:393:41: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj->bo_ops != NULL, ("bwrite: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:395:7: warning: expression result unused [-Wunused-value] ("bwrite: no bop_write bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:403:33: warning: expression result unused [-Wunused-value] KASSERT(bp->b_bufobj != NULL, ("bstrategy: no bufobj bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:405:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bo_ops bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/buf.h:407:7: warning: expression result unused [-Wunused-value] ("bstrategy: no bop_strategy bp=%p", bp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 -c util.c cc -o lsof -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DFREEBSDV=10000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=\"10.0-CURRENT\" -I/usr/src/sys -O2 dmnt.o dnode.o dnode1.o dnode2.o dproc.o dsock.o dstore.o arg.o main.o misc.o node.o print.o proc.o store.o usage.o util.o -L./lib -llsof -lkvm -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler_at_lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893Received on Tue Nov 06 2012 - 12:42:52 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:32 UTC