search for: run_snmp

Displaying 2 results from an estimated 2 matches for "run_snmp".

Did you mean: res_snmp
2012 Sep 06
1
nut-scanner pthread issue
...============================= if( allow_snmp && nutscan_avail_snmp ) { if( start_ip == NULL ) { printq(quiet,"No start IP, skipping SNMP\n"); } else { printq(quiet,"Scanning SNMP bus.\n"); #ifdef HAVE_PTHREAD if( pthread_create(&thread[TYPE_SNMP],NULL,run_snmp,&snmp_sec)) { nutscan_avail_snmp = 0; } #else dev[TYPE_SNMP] = nutscan_scan_snmp(start_ip,end_ip,timeout,&snmp_sec); #endif /* HAVE_PTHREAD */ } } ============================== if start_ip==NULL, pthread is not created, but later... if( allow_snmp && nutscan_avail_sn...
2011 Sep 19
1
Compilation error: NUT 2.6.2 --without-snmp
...enable SSL development code: no enable libwrap (tcp-wrappers) support: no build CGI programs: yes enable HAL support: no build and install documentation: no build and install the development files: no only build specific drivers: richcomm_usb ----- make -s nut_scanner-nut-scanner.o: In function `run_snmp': /sources/nut-2.6.2/tools/nut-scanner/nut-scanner.c:87: undefined reference to `nutscan_scan_snmp' collect2: ld returned 1 exit status make[3]: *** [nut-scanner] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 -------------- next pa...