Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 5431

Summary: lsof RPM can't be rebuilt with 2.2.12 kernel
Product: [Retired] Red Hat Linux Reporter: Alec Voropay <alec>
Component: lsofAssignee: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: jbj
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-01 19:03:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Alec Voropay 1999-09-29 09:50:43 UTC

 I just have installed new kernel 2.2.12 from 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
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
/usr/src/linux/include/linux/in.h:37: previous declaration
/usr/include/netinet/in.h:43: parse error before `58'
make[1]: *** [ckkv.o] Error 1
make[1]: 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

Comment 1 Jeff Johnson 1999-10-01 19:03:59 UTC
Try the lsof-4.45-1.src.rpm from Raw Hide.

Comment 2 Alec Voropay 1999-11-23 19:42:59 UTC
October 23, 1999 new version of lsof was released :