From owner-freebsd-ports Fri Jun 9 6:26:12 2000 Delivered-To: freebsd-ports@freebsd.org Received: from vic.cc.purdue.edu (vic.cc.purdue.edu [128.210.135.168]) by hub.freebsd.org (Postfix) with ESMTP id 9891B37C2D2; Fri, 9 Jun 2000 06:26:06 -0700 (PDT) (envelope-from abe@purdue.edu) Received: from vic2 (vic2.cc.purdue.edu [128.210.135.170]) by vic.cc.purdue.edu (8.9.3/8.9.3) with SMTP id IAA18015; Fri, 9 Jun 2000 08:19:35 -0500 (EST) Reply-To: From: "Vic Abell" To: "Ben Smithurst" , "Szilveszter Adam" Cc: , , "Vic Abell" Subject: RE: lsof port doesn't compile Date: Fri, 9 Jun 2000 08:22:43 -0500 Message-ID: <000301bfd215$cb7a0160$aa87d280@vic2.cc.purdue.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <20000608233132.W42325@strontium.scientia.demon.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Importance: Normal Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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