=> Bootstrap dependency digest>=20010302: found digest-20080510 ===> Building for wmSMPmon-2.3nb1 gcc -Wall -O3 -I/usr/pkg/include -I/usr/pkg/include -c -o wmSMPmon.o wmSMPmon.c wmSMPmon.c:23:22: error: sys/swap.h: No such file or directory wmSMPmon.c: In function 'getCpuUsage': wmSMPmon.c:40: error: 'KERN_CP_TIME' undeclared (first use in this function) wmSMPmon.c:40: error: (Each undeclared identifier is reported only once wmSMPmon.c:40: error: for each function it appears in.) wmSMPmon.c:41: error: 'CPUSTATES' undeclared (first use in this function) wmSMPmon.c:42: warning: initialization makes integer from pointer without a cast wmSMPmon.c:48: error: 'CP_USER' undeclared (first use in this function) wmSMPmon.c:48: error: array subscript is not an integer wmSMPmon.c:48: error: 'CP_SYS' undeclared (first use in this function) wmSMPmon.c:48: error: array subscript is not an integer wmSMPmon.c:48: error: invalid operands to binary + wmSMPmon.c:48: error: 'CP_NICE' undeclared (first use in this function) wmSMPmon.c:48: error: array subscript is not an integer wmSMPmon.c:48: error: invalid operands to binary + wmSMPmon.c:48: error: 'CP_INTR' undeclared (first use in this function) wmSMPmon.c:48: error: array subscript is not an integer wmSMPmon.c:48: error: invalid operands to binary + wmSMPmon.c:48: warning: assignment makes integer from pointer without a cast wmSMPmon.c:49: error: 'CP_IDLE' undeclared (first use in this function) wmSMPmon.c:49: error: array subscript is not an integer wmSMPmon.c:49: warning: assignment makes integer from pointer without a cast wmSMPmon.c:41: warning: unused variable 'cpu_time' wmSMPmon.c: In function 'getMemUsage': wmSMPmon.c:62: error: 'VM_METER' undeclared (first use in this function) wmSMPmon.c:62: error: initializer element is not constant wmSMPmon.c:62: error: (near initialization for 'mib[1]') wmSMPmon.c:63: error: storage size of 'vm' isn't known wmSMPmon.c:64: warning: initialization makes integer from pointer without a cast wmSMPmon.c:69: warning: passing argument 2 of 'bzero' makes integer from pointer without a cast wmSMPmon.c:70: error: request for member 't_rm' in something not a structure or union wmSMPmon.c:71: error: request for member 't_rm' in something not a structure or union wmSMPmon.c:71: error: pointer value used where a floating point value was expected wmSMPmon.c:71: error: request for member 't_rm' in something not a structure or union wmSMPmon.c:71: error: request for member 't_free' in something not a structure or union wmSMPmon.c:71: error: invalid operands to binary + wmSMPmon.c:71: error: pointer value used where a floating point value was expected wmSMPmon.c:63: warning: unused variable 'vm' wmSMPmon.c: In function 'getSwapUsage': wmSMPmon.c:84: warning: implicit declaration of function 'swapctl' wmSMPmon.c:84: error: 'SWAP_NSWAP' undeclared (first use in this function) wmSMPmon.c:86: error: dereferencing pointer to incomplete type wmSMPmon.c:86: error: invalid operands to binary * wmSMPmon.c:86: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast wmSMPmon.c:88: error: 'SWAP_STATS' undeclared (first use in this function) wmSMPmon.c:92: error: invalid use of undefined type 'struct swapent' wmSMPmon.c:92: error: dereferencing pointer to incomplete type wmSMPmon.c:92: error: request for member 'se_flags' in something not a structure or union wmSMPmon.c:92: error: 'SWF_ENABLE' undeclared (first use in this function) wmSMPmon.c:92: error: invalid operands to binary & wmSMPmon.c:93: error: invalid use of undefined type 'struct swapent' wmSMPmon.c:93: error: dereferencing pointer to incomplete type wmSMPmon.c:93: error: request for member 'se_inuse' in something not a structure or union wmSMPmon.c:93: warning: assignment makes integer from pointer without a cast wmSMPmon.c:94: error: invalid use of undefined type 'struct swapent' wmSMPmon.c:94: error: dereferencing pointer to incomplete type wmSMPmon.c:94: error: request for member 'se_nblks' in something not a structure or union wmSMPmon.c:94: warning: assignment makes integer from pointer without a cast wmSMPmon.c: In function 'main': wmSMPmon.c:124: warning: unused variable 'total' wmSMPmon.c:124: warning: unused variable 'charge' *** Error code 1 Stop. bmake: stopped in /scratch/sysutils/wmSMPmon/work/wmSMPmon-2.x/wmSMPmon *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/wmSMPmon *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/sysutils/wmSMPmon