Hi! I just have installed new kernel 2.2.12 from ftp://linux.kernel.org on my RedHat 5.2 (Appollo) system. New utilities for 2.2 kernel from RedHat was also installed... All working OK. But lsof utility stos to work. And more : I can't rebuild lsof-4.40-1.src.rpm om my system now ! $ rpm -i lsof-4.40-1.src.rpm $ cd /usr/src/redhat/SPECS $ rpm -ba lsof.spec .... .... /usr/include/socketbits.h:198: `__cmsg_nxthdr' previously defined here In file included from ../dlsof.h:343, from ../lsof.h:70, from ckkv.c:43: /usr/include/netinet/in.h:42: conflicting types for `IPPROTO_IPV6' /usr/src/linux/include/linux/in.h:37: previous declaration of `IPPROTO_IPV6' /usr/include/netinet/in.h:43: parse error before `58' make[1]: *** [ckkv.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/lsof_4.40/lsof_4.40/lib' make: *** [lib/liblsof.a] Error 2 Bad exit status from /var/tmp/rpm-tmp.71569 (%build) $ So, I have downloaded lsof_4.45 from $URL and build it. All OK. But seems, should be better to have RPM from RedHat. Could you issue new lsof 4.45 RPM version for 2.2 kernel (for RedHat 5.2) ? with best regards -- -=AV=-
Try the lsof-4.45-1.src.rpm from Raw Hide.
October 23, 1999 new version of lsof was released : ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/lsof_4.46_W.tar.gz