Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/lsof build failure under recent -current


Since 9.99.18 I am not able to build lsof; I get:

gcc -O2  -DNETBSDV=7000000 -DN_UNIXV=/dev/ksyms -DHASKVMGETPROC2
In file included from /usr/include/sys/ptrace.h:63,
                 from /usr/include/miscfs/procfs/procfs.h:75,
                 from ../dlsof.h:369,
                 from ../lsof.h:221,
                 from dvch.c:43:
/usr/include/amd64/ptrace.h:104:10: fatal error: sys/module_hook.h: No
such file or directory
 #include <sys/module_hook.h>
compilation terminated.
*** Error code 1

ptrace.h includes module_hook.h only if _KERNEL is defined.

I am aware some don't like this utility, security and all; I myself
rarely use it, so am not bothered at all; perhaps it is an easy fix,
as the configuration process does not recognize 9.99.xx versions (it
assumes netbsd 7). BTW I can force the installation of lsof from
9.99.18 onto 9.99.24, it then apparently works, but the output is
partial garbage, which is understandable, I guess.



Home | Main Index | Thread Index | Old Index