Red Hat Bugzilla – Bug 5431
lsof RPM can't be rebuilt with 2.2.12 kernel
Last modified: 2008-05-01 11:37:51 EDT
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
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
In file included from ../dlsof.h:343,
/usr/include/netinet/in.h:42: conflicting types for
/usr/src/linux/include/linux/in.h:37: previous declaration
/usr/include/netinet/in.h:43: parse error before `58'
make: *** [ckkv.o] Error 1
make: Leaving directory
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
Try the lsof-4.45-1.src.rpm from Raw Hide.
October 23, 1999 new version of lsof was released :