viewing paste Unknown #37453 | Bash

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  CC       netapp_la-netapp.lo
netapp.c: In function 'submit_double':
netapp.c:677:45: error: 'counter' undeclared (first use in this function)
                         &(value_t){.gauge = counter}, 1, timestamp, interval));
                                             ^
netapp.c:677:45: note: each undeclared identifier is reported only once for each function it appears in
netapp.c: In function 'cna_handle_snapvault_data':
netapp.c:1915:3: error: 'status' undeclared (first use in this function)
   status = na_elem_child(data, "status-list");
   ^
netapp.c: In function 'submit_double':
netapp.c:678:1: error: control reaches end of non-void function [-Werror=return-type]
 } /* }}} int submit_uint64 */
 ^
cc1: all warnings being treated as errors
make[3]: *** [netapp_la-netapp.lo] Error 1
make[3]: Leaving directory `/root/collectd-5.7.0.15.gbe6aa28/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/collectd-5.7.0.15.gbe6aa28/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/collectd-5.7.0.15.gbe6aa28/src'
make: *** [all-recursive] Error 1
 
Viewed 940 times, submitted by Guest.