Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 08:22:43 -0500
From:      "Vic Abell" <abe@purdue.edu>
To:        "Ben Smithurst" <ben@scientia.demon.co.uk>, "Szilveszter Adam" <sziszi@petra.hos.u-szeged.hu>
Cc:        <ports@freebsd.org>, <obrien@freebsd.org>, "Vic Abell" <abe@purdue.edu>
Subject:   RE: lsof port doesn't compile
Message-ID:  <000301bfd215$cb7a0160$aa87d280@vic2.cc.purdue.edu>
In-Reply-To: <20000608233132.W42325@strontium.scientia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Ben,

You write:
>
> Szilveszter Adam wrote:
> 
> > I am using a -CURRENT box, cvsupped, built today. I am trying to compile
> > lsof_4.50A.freebsd.tar.gz from ports, collection also cvsupped today. 
> > 
> > But the compile dies with:
> > 
> > (cd lib; make DEBUG="-O" CFGF="-pipe -DFREEBSDV=500 -DHASFDESCFS=2
> > -DHASPROCFS -
> > DHAS9660FS -DHASIPv6 -DLSOF_VSTR=\"5.0-CURRENT\"")
> > cc  -pipe -DFREEBSDV=500 -DHASFDESCFS=2 -DHASPROCFS -DHAS9660FS -DHASIPv6
> > -DLSOF
> > _VSTR=\"5.0-CURRENT\" -I/usr/include -I/usr/src/sys -O -c dnode.c
> > dnode.c: In function process_node':
> > dnode.c:431: structure has no member named fd_link'
> > dnode.c:432: structure has no member named fd_link'
> > *** Error code 1
> 
> fd_link was part of the fdesc filesystem, but it was removed recently as
> it's no longer used.

Thanks for the alert.  I had not compiled on 5.0-CURRENT for
about a week -- a fatal error with that fast-moving UNIX dialect
version, I guess.  :-)

This seems to call for yet another Configure test on fdesc.h and
additional #if/#else/#endif blocks in dnode.c.  I've done that and
have a 4.50 pre-release edition that seems to work on BSDI, FreeBSD
3.2 through 5.0-CURRENT, NetBSD, and OpenBSD.

The FreeBSD edition 'B' pre-release is available at:

  ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/NEW/lsof_4.50B.freebsd.tar.gz

David may want to change the ports package to access this pre-release
distribution.

Lsof revision 4.50 would have been released by now, but it's stalled while
waiting for some kernel address filter testing that has to be done on a
system in Japan outside my control.  (When that testing is done, I'll
describe the new Solaris kernel address filtering in a mailing to lsof-l.)

Vic


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301bfd215$cb7a0160$aa87d280>