Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 17:57:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212002] sysutils/lsof fails to build (version 4.90.e,8)
Message-ID:  <bug-212002-13-cZI9UKtETd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212002-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212002-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212002

--- Comment #1 from Larry Rosenman <ler@lerctr.org> ---
This appears to be a system header issue:

In file included from dnode2.c:55:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_znode.h:33:
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:
In file included from /usr/src/sys/cddl/compat/opensolaris/sys/vnode.h:44:
/usr/src/sys/cddl/compat/opensolaris/sys/proc.h:66:1: error: static declara=
tion
of 'thread_create' follows non-static declaration
thread_create(caddr_t stk, size_t stksize, void (*proc)(void *), void *arg,
^

-----
on my 10.3-STABLE system:
--- dnode2.o ---
In file included from dnode2.c:55:
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/dmu.h:47:
In file included from
/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_context.h:7=
3:
In file included from /usr/src/sys/cddl/compat/opensolaris/sys/vfs.h:37:
/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 =3D VOP_FSYNC(vp, MNT_WAIT, curthread);
                ^
1 warning generated.

is all I get out of that compile.=20

Are your /usr/src and installed world in sync?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212002-13-cZI9UKtETd>