Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 1996 23:15:38 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        Harlan.Stenn@pfcs.com
Cc:        roberto@keltia.freenix.fr, ports@FreeBSD.org
Subject:   Re: lsof_3.60.tgz
Message-ID:  <199603200715.XAA02542@silvia.HIP.Berkeley.EDU>
In-Reply-To: <27570.826518804@mumps.pfcs.com> (message from Harlan Stenn on Sun, 10 Mar 1996 23:33:24 -0500)

next in thread | previous in thread | raw e-mail | index | archive | help
 * As you can see, 3.61 was released yesterday afternoon!
 * 
 * Remembering my patches, I would suspect they'd apply to 3.61 (I haven't
 * checked).

Yes, the patches applied.  However, I couldn't get it to work on our
2.2-current (the version the ports tree is supposed to follow)
machine.

I added a "2.2" entry to Configure, added some include files to

===
gcc -O  -D_FREEBSDV=220 -DN_UNIXV=/kernel -I./dialects/freebsd/include/2 -c ddev.c
gcc -O  -D_FREEBSDV=220 -DN_UNIXV=/kernel -I./dialects/freebsd/include/2 -c dfile.c
gcc -O  -D_FREEBSDV=220 -DN_UNIXV=/kernel -I./dialects/freebsd/include/2 -c dmnt.c
gcc -O  -D_FREEBSDV=220 -DN_UNIXV=/kernel -I./dialects/freebsd/include/2 -c dnode.c
gcc -O  -D_FREEBSDV=220 -DN_UNIXV=/kernel -I./dialects/freebsd/include/2 -c dproc.c
dproc.c: In function `process_text':
dproc.c:443: storage size of `pg' isn't known
dproc.c:479: structure has no member named `shadow'
dproc.c:483: structure has no member named `pager'
dproc.c:486: `PG_VNODE' undeclared (first use this function)
dproc.c:486: (Each undeclared identifier is reported only once
dproc.c:486: for each function it appears in.)
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
===

pg is defined as:

===
        struct pager_struct pg;
===

I did a findgrep in /sys/ and the source of lsof but I don't see any
struct pager_struct....

I put my current working version in

  ftp://ftp.freebsd.org/pub/FreeBSD/incoming/lsof_3.61.tar.gz

Can someone please take a look?

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603200715.XAA02542>