The ongoing saga of lsof-4.71.1

Hermes Trismegistus hermes at trismegistus.net
Tue Apr 27 23:36:50 PDT 2004


Hmmm, very interesting, and the plot thickens. I do have the files,
"_type.h" in most of the same directories as you, Leaf, but they contain
*no* reference to "__cpumask_t". They have such values as:

typedef __signed char           __int8_t;
typedef unsigned char           __uint8_t;
typedef short                   __int16_t;
typedef unsigned short          __uint16_t;
typedef int                     __int32_t;
typedef unsigned int            __uint32_t

Again, something strange is up with my version:

FreeBSD sherman.trismegistus.net 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Wed
Mar 17 22:57:36 CST 2004
root at sherman.trismegistus.net:/usr/obj/usr/src/sys/SHERMAN  i386

Maybe time to do a "make buildworld", you think? Anyway, thanks for the
insight. Anyway you cut it, the newest version of lsof is "broke" for me
(and Mike).

Cheers,

J. Craig Woods
UNIX/Linux Network/System Administration
http://www.trismegistus.net/resume.htm
Entropy requires no maintenance.

On Wed, 28 Apr 2004, leafy wrote:

> On Tue, Apr 27, 2004 at 10:22:20PM -0500, Hermes Trismegistus wrote:
> > Mike, one hell of a job at some really good sleuthing. I lacked your
> > persistence, or maybe your curiosity. I had given up on the newer version
> > of lsof after spending about half the time you spent. I just figured what
> > the fuck, I'll stay with the older but working version. I guess you and I
> > are the only ones without the "__cpumask_t" value set to some typedef.
> > Where did you comment it out (what file)?
> >
> > Thanks,
> >
> > J. Craig Woods
> I have these in my src tree, do you have them as well?
>
> sys/alpha/include/_types.h:typedef      unsigned int    __cpumask_t;
> sys/amd64/include/_types.h:typedef      unsigned int    __cpumask_t;
> sys/arm/include/_types.h:typedef        unsigned int    __cpumask_t;
> sys/i386/include/_types.h:typedef       unsigned int    __cpumask_t;
> sys/ia64/include/_types.h:typedef       unsigned int    __cpumask_t;
> sys/modules/smbfs/machine/_types.h:typedef      unsigned int
> __cpumask_t;
> sys/powerpc/include/_types.h:typedef    unsigned int    __cpumask_t;
> sys/sparc64/include/_types.h:typedef    unsigned int    __cpumask_t;
> sys/sys/types.h:typedef __cpumask_t     cpumask_t;
>
> Jiawei
> --
> "Without the userland, the kernel is useless."
>                --inspired by The Tao of Programming
>


More information about the freebsd-ports mailing list