lsof 4.70D for Solaris 10 [was Re: Lsof on Solaris 10 x86?]

lsof 4.70D for Solaris 10 [was Re: Lsof on Solaris 10 x86?]

Post by Victor A Abe » Wed, 19 Nov 2003 22:42:53




>Has anyone tried this? When I try to build it (using gcc off the Solaris
>9 companion CD, either 3.2 or 2.95) it fails because it can't find
>c2/audit.h which is indeed missing - there is no /usr/include/c2. I've
>tried both 4.69 with the patch for Solaris 10 and the Solaris specific
>4.70C. I'm using the current build 44 of Solaris 10 x86.
>This looks like a Solaris build problem to me, not a fault in lsof.
>c2/audit.h is included from the Solaris header file sys/cred_impl.h.
>There is an audit.h in /usr/include/bsm; if I kludge it by adding a
>symbolic link /usr/include/c2 -> bsm it compiles but does not work, so I
>assume that this is not the correct header file.
>Regards, Ian

According to Casper Dik the <sys/cred_impl.h> #include of <c2/audit.h>
is a mistake.

I've built an edition 'D' lsof 4.70 pre-release for Solaris (only) that
works around the problem.  The distribution is available at:

  ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW/lsof_4.70D.sun.tar.gz


 
 
 

1. Lsof on Solaris 10 x86?

Has anyone tried this? When I try to build it (using gcc off the Solaris
9 companion CD, either 3.2 or 2.95) it fails because it can't find
c2/audit.h which is indeed missing - there is no /usr/include/c2. I've
tried both 4.69 with the patch for Solaris 10 and the Solaris specific
4.70C. I'm using the current build 44 of Solaris 10 x86.

This looks like a Solaris build problem to me, not a fault in lsof.
c2/audit.h is included from the Solaris header file sys/cred_impl.h.

There is an audit.h in /usr/include/bsm; if I kludge it by adding a
symbolic link /usr/include/c2 -> bsm it compiles but does not work, so I
assume that this is not the correct header file.

Regards, Ian

2. 486DX2/66 -- 14.46 BogoMips??

3. lsof for Solaris 10

4. New Install Questions

5. Troubles with lsof on Solaris 10

6. can I use the logitech quickcam express under freebsd 4.3??

7. lsof for Solaris 10 zones (s10_b51)

8. HELP!:CDROM SoundBlaster&cdu33a

9. patch for Solaris 10 lsof

10. lsof runs on 2.2 (was: Re: ofiles, lsof, sps for Solaris 2.x?)

11. Jumpstart solaris 10 b69 and solaris 10 b72 on an Ultra 30

12. Live upgrade failure: Solaris 10 -> Solaris 10 update 1.

13. Solaris 10 -- Where to get gcc (or other compiler) built on Solaris 10?