-
Notifications
You must be signed in to change notification settings - Fork 122
Description
Describe the bug
A clear and concise description of what the bug is.
Compile error on Solaris 11.4 SRU 83
To Reproduce
Steps to reproduce the behavior:
./configure --prefix=/usr --libdir=/usr/lib/sparcv9 --disable-liblsof
Error
lib/dialects/sun/dnode.c: In function ‘process_node’:
lib/dialects/sun/dnode.c:2270:24: error: ‘xvattr_t’ {aka ‘struct xvattr’} has no member named ‘va_fsid’
2270 | dev = r4.r_attr.va_fsid;
| ^
lib/dialects/sun/dnode.c:2883:41: error: ‘xvattr_t’ {aka ‘struct xvattr’} has no member named ‘va_nodeid’
2883 | Lf->inode = (INODETYPE)r4.r_attr.va_nodeid;
| ^
lib/dialects/sun/dnode.c:3281:36: error: ‘xvattr_t’ {aka ‘struct xvattr’} has no member named ‘va_nlink’
3281 | Lf->nlink = (long)r4.r_attr.va_nlink;
| ^
gmake[1]: *** [Makefile:3507: lib/dialects/sun/lsof-dnode.o] Error 1
Expected behavior
Should compile without issues.
Environment (please complete the following information):
- Kernel: 5.11 11.4.83.195.1 sun4v
- OS: Solaris
- lsof Version: 4.99.5
- Origin: compile from tarball
Additional context
It compiles without error on SRU 63, the problem was on SRU 83 file "/usr/include/nfs/rnode4.h" change on line 524 (xvattr_t on SRU 63 was vattr_t).
If I change xvattr_t to vattr_t in SRU83 it also compiles without errors, but I don't have knowledge about implications of it
Cpts,
\CA,