=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for nagios-plugin-fstab-0.3 cc -O2 -march=i586 -c check_fstab.c check_fstab.c:165:2: error: expected function body after function declarator statvfs_t *mntbuf; ^ check_fstab.c:167:1: error: expected identifier or '(' { ^ check_fstab.c:189:2: error: expected function body after function declarator swapent_t *sebuf; ^ check_fstab.c:191:1: error: expected identifier or '(' { ^ check_fstab.c:238:2: error: use of undeclared identifier 'statvfs_t' statvfs_t *mntbuf; ^ check_fstab.c:238:13: error: use of undeclared identifier 'mntbuf'; did you mean 'setbuf'? statvfs_t *mntbuf; ^~~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:241:2: error: use of undeclared identifier 'swapent_t' swapent_t *sebuf; ^ check_fstab.c:241:13: error: use of undeclared identifier 'sebuf'; did you mean 'setbuf'? swapent_t *sebuf; ^~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:243:2: error: use of undeclared identifier 'statvfs_t' statvfs_t *vfs; ^ check_fstab.c:243:13: error: use of undeclared identifier 'vfs' statvfs_t *vfs; ^ check_fstab.c:252:30: error: use of undeclared identifier 'mntbuf'; did you mean 'setbuf'? if ((mnt_used = getmntinfo(&mntbuf, ST_NOWAIT)) == 0) ^~~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:258:14: warning: implicit declaration of function 'swapctl' is invalid in C99 [-Wimplicit-function-declaration] swap_used = swapctl(SWAP_NSWAP, NULL, 0); ^ check_fstab.c:259:30: error: use of undeclared identifier 'sebuf'; did you mean 'setbuf'? if ((sebuf = malloc(sizeof(*sebuf) * swap_used)) == NULL) ^~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:259:7: error: use of undeclared identifier 'sebuf'; did you mean 'setbuf'? if ((sebuf = malloc(sizeof(*sebuf) * swap_used)) == NULL) ^~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:259:13: error: non-object type 'void (FILE *restrict, char *restrict)' is not assignable if ((sebuf = malloc(sizeof(*sebuf) * swap_used)) == NULL) ~~~~~ ^ check_fstab.c:262:26: error: use of undeclared identifier 'sebuf'; did you mean 'setbuf'? if (swapctl(SWAP_STATS, sebuf, swap_used) != swap_used) ^~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:276:9: warning: implicit declaration of function 'is_swap' is invalid in C99 [-Wimplicit-function-declaration] if (!is_swap(fs->fs_spec, sebuf, swap_used)) ^ check_fstab.c:276:30: error: use of undeclared identifier 'sebuf'; did you mean 'setbuf'? if (!is_swap(fs->fs_spec, sebuf, swap_used)) ^~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ check_fstab.c:295:9: warning: implicit declaration of function 'is_mounted' is invalid in C99 [-Wimplicit-function-declaration] if (!is_mounted(fs->fs_spec, fs->fs_file, ^ check_fstab.c:296:6: error: use of undeclared identifier 'mntbuf'; did you mean 'setbuf'? mntbuf, mnt_used)) ^~~~~~ setbuf /usr/include/stdio.h:255:7: note: 'setbuf' declared here void setbuf(FILE * __restrict, char * __restrict); ^ 3 warnings and 17 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/nagios-plugin-fstab/work/check_fstab-0.3 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/net/nagios-plugin-fstab *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/nagios-plugin-fstab