=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for bmon-2.0.1nb3 Entering src DEP out_distribution.c DEP out_html.c DEP out_curses.c DEP out_ascii.c DEP out_null.c DEP in_netstat.c DEP in_distribution.c DEP in_sysctl.c DEP in_sysfs.c DEP in_netlink.c DEP in_kstat.c DEP in_proc.c DEP in_dummy.c DEP in_null.c DEP bindings.c DEP signal.c DEP graph.c DEP intf.c DEP node.c DEP conf.c DEP output.c DEP input.c DEP utils.c DEP bmon.c CC bmon.c In file included from bmon.c:28: ../include/bmon/conf.h:90:20: warning: inline function 'set_configfile' is not defined [-Wundefined-inline] extern inline void set_configfile(const char *file); ^ bmon.c:151:5: note: used here set_configfile(optarg); ^ In file included from bmon.c:28: ../include/bmon/conf.h:87:20: warning: inline function 'set_read_interval' is not defined [-Wundefined-inline] extern inline void set_read_interval(const char *i); ^ bmon.c:159:5: note: used here set_read_interval(optarg); ^ In file included from bmon.c:28: ../include/bmon/conf.h:101:20: warning: inline function 'set_sleep_time' is not defined [-Wundefined-inline] extern inline void set_sleep_time(const char *s); ^ bmon.c:163:5: note: used here set_sleep_time(optarg); ^ In file included from bmon.c:28: ../include/bmon/conf.h:103:20: warning: inline function 'set_signal_output' is not defined [-Wundefined-inline] extern inline void set_signal_output(int i); ^ bmon.c:171:5: note: used here set_signal_output(1); ^ In file included from bmon.c:28: ../include/bmon/conf.h:105:20: warning: inline function 'set_show_only_running' is not defined [-Wundefined-inline] extern inline void set_show_only_running(int i); ^ bmon.c:175:5: note: used here set_show_only_running(0); ^ In file included from bmon.c:33: ../include/bmon/utils.h:49:21: warning: inline function 'ts_to_float' is not defined [-Wundefined-inline] extern inline float ts_to_float(timestamp_t *src); ^ bmon.c:197:13: note: used here float v = (ts_to_float(c) / ts_to_float(ri)) * 100.0f; ^ In file included from bmon.c:28: ../include/bmon/conf.h:102:29: warning: inline function 'get_sleep_time' is not defined [-Wundefined-inline] extern inline unsigned long get_sleep_time(void); ^ bmon.c:218:17: note: used here c_sleep_time = get_sleep_time(); ^ In file included from bmon.c:28: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] extern inline float get_read_interval(void); ^ bmon.c:219:18: note: used here read_interval = get_read_interval(); ^ In file included from bmon.c:28: ../include/bmon/conf.h:89:20: warning: inline function 'get_read_interval_as_ts' is not defined [-Wundefined-inline] extern inline void get_read_interval_as_ts(timestamp_t *ts); ^ bmon.c:236:3: note: used here get_read_interval_as_ts(&ri); ^ In file included from bmon.c:33: ../include/bmon/utils.h:55:20: warning: inline function 'update_ts' is not defined [-Wundefined-inline] extern inline void update_ts(timestamp_t *dst); ^ bmon.c:241:3: note: used here update_ts(&e); ^ In file included from bmon.c:33: ../include/bmon/utils.h:54:19: warning: inline function 'ts_le' is not defined [-Wundefined-inline] extern inline int ts_le(timestamp_t *a, timestamp_t *b); ^ bmon.c:259:8: note: used here if (ts_le(&rtiming.rt_next_read, &e)) { ^ In file included from bmon.c:33: ../include/bmon/utils.h:53:20: warning: inline function 'ts_sub' is not defined [-Wundefined-inline] extern inline void ts_sub(timestamp_t *dst, timestamp_t *src1, timestamp_t *src2); ^ bmon.c:265:5: note: used here ts_sub(&c, &rtiming.rt_next_read, &e); ^ In file included from bmon.c:33: ../include/bmon/utils.h:52:20: warning: inline function 'ts_add' is not defined [-Wundefined-inline] extern inline void ts_add(timestamp_t *dst, timestamp_t *src1, timestamp_t *src2); ^ bmon.c:277:5: note: used here ts_add(&rtiming.rt_next_read, &e, &ri); ^ 13 warnings generated. CC utils.c In file included from utils.c:28: ../include/bmon/conf.h:94:24: warning: inline function 'get_y_unit' is not defined [-Wundefined-inline] extern inline y_unit_t get_y_unit(void); ^ utils.c:145:10: note: used here switch (get_y_unit()) { ^ 1 warning generated. CC input.c CC output.c In file included from output.c:28: In file included from ../include/bmon/output.h:31: ../include/bmon/conf.h:104:19: warning: inline function 'get_signal_output' is not defined [-Wundefined-inline] extern inline int get_signal_output(void); ^ output.c:132:6: note: used here if (get_signal_output()) ^ 1 warning generated. CC conf.c In file included from conf.c:32: ../include/bmon/utils.h:50:20: warning: inline function 'float_to_ts' is not defined [-Wundefined-inline] extern inline void float_to_ts(timestamp_t *dst, float src); ^ conf.c:421:2: note: used here float_to_ts(ts, read_interval); ^ 1 warning generated. CC node.c CC intf.c In file included from intf.c:32: ../include/bmon/utils.h:55:20: warning: inline function 'update_ts' is not defined [-Wundefined-inline] extern inline void update_ts(timestamp_t *dst); ^ intf.c:69:4: note: used here update_ts(&a->a_updated); /* XXX: use read ts */ ^ In file included from intf.c:29: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] extern inline float get_read_interval(void); ^ intf.c:414:29: note: used here } else if (diff >= unit || get_read_interval() == unit) { ^ 2 warnings generated. CC graph.c In file included from graph.c:29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:94:24: warning: inline function 'get_y_unit' is not defined [-Wundefined-inline] extern inline y_unit_t get_y_unit(void); ^ graph.c:38:10: note: used here switch (get_y_unit()) { ^ In file included from graph.c:29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:96:20: warning: inline function 'get_fg_char' is not defined [-Wundefined-inline] extern inline char get_fg_char(void); ^ graph.c:92:27: note: used here *(D_AT_ROW(col, i)) = get_fg_char(); ^ In file included from graph.c:29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:98:20: warning: inline function 'get_bg_char' is not defined [-Wundefined-inline] extern inline char get_bg_char(void); ^ graph.c:108:20: note: used here memset(t->t_data, get_bg_char(), dsize); ^ In file included from graph.c:29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:92:24: warning: inline function 'get_x_unit' is not defined [-Wundefined-inline] extern inline x_unit_t get_x_unit(void); ^ graph.c:164:10: note: used here switch (get_x_unit()) { ^ In file included from graph.c:29: In file included from ../include/bmon/input.h:31: ../include/bmon/conf.h:88:21: warning: inline function 'get_read_interval' is not defined [-Wundefined-inline] extern inline float get_read_interval(void); ^ graph.c:170:8: note: used here if (get_read_interval() != 1.0f) { ^ 5 warnings generated. CC signal.c CC bindings.c bindings.c:48:30: warning: for loop has empty body [-Wempty-body] for (i = 1; b->args[i]; i++); ^ bindings.c:48:30: note: put the semicolon on a separate line to silence this warning 1 warning generated. CC in_null.c CC in_dummy.c CC in_proc.c CC in_kstat.c CC in_netlink.c CC in_sysfs.c CC in_sysctl.c CC in_distribution.c in_distribution.c:61:15: error: variable has incomplete type 'struct ifreq' struct ifreq ifreq; ^ in_distribution.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq ifreq; ^ in_distribution.c:68:17: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(fd, SIOCGIFADDR, &ifreq) < 0) ^~~~~~~~~~~ /usr/include/sys/sockio.h:52:21: note: expanded from macro 'SIOCGIFADDR' #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ in_distribution.c:61:9: note: forward declaration of 'struct ifreq' struct ifreq ifreq; ^ in_distribution.c:86:19: error: variable has incomplete type 'struct ipv6_mreq' struct ipv6_mreq mreq6; ^ in_distribution.c:86:9: note: forward declaration of 'struct ipv6_mreq' struct ipv6_mreq mreq6; ^ in_distribution.c:96:35: error: use of undeclared identifier 'IPV6_JOIN_GROUP' if (setsockopt(fd, IPPROTO_IPV6, IPV6_JOIN_GROUP, &mreq6, sizeof(mreq6)) < 0) ^ in_distribution.c:99:38: error: use of undeclared identifier 'IPV6_MULTICAST_LOOP' return setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, &loop, sizeof(loop)); ^ 5 errors generated. ../Makefile.rules:29: recipe for target 'in_distribution.o' failed gmake[1]: *** [in_distribution.o] Error 1 GNUmakefile:35: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/bmon *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/bmon