Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lsof



Why not just add

        #include <stdbool.h>

:)


On Sat, 17 May 2008, Mark Davies wrote:

Anyone have patches to get lsof working on current?

cc -O2 -march=pentium3  -DNETBSDV=4099000 -DHASGETBOOTFILE -DHASKVMGETPROC2 -DHASNFSPROTO 
-DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHASPROCFS_PFSROOT 
-DHASBUFQ_H -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASKERNFS -DHASKERNFS_KFS_KT -DHASI_FFS1 
-DHASEFFNLINK=i_ffs_effnlink -DHASEXT2FS -DHASI_E2FS_PTR -DHASLFS -DHASPTYFS -DHASTMPFS 
-DHASNFSVATTRP -DHAS_ADVLOCK_ARGS -DHAS_LWP_H -DHAS_SYS_PIPEH -DHASSTATVFS -DUVM 
-I/local/src/work/pkgsrc/sysutils/lsof/work.i386/lsof_4.78/lsof_4.78_src/dialects/n+obsd/include
 -DHAS_UVM_INCL -DLSOF_VSTR="4.99.62"   -DLSOF_MORE_SECURE=1 
-DLSOF_LESS_SECURE_SOCKETS=0 -c
dvch.c
In file included from ../dlsof.h:98,
                from ../lsof.h:191,
                from dvch.c:43:
/usr/include/sys/mount.h:340: error: expected declaration specifiers
or '...' before 'bool'
*** Error code 1


!DSPAM:482e4d911778645515373!




----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index