Sergey Talchuk
2011-Sep-19 12:00 UTC
[Nut-upsuser] Compilation error: NUT 2.6.2 --without-snmp
Hello all! I get a compilation error with '--without-snmp' option. Can someone help please? Thanks in advance Sergey Env: ==1. Nut-2.6.2 2. gcc-3.3.6 ----- ./configure -q --prefix=/usr --with-drivers=richcomm_usb --with-user=upsd --with-group=upsd --with-cgi --with-cgipath=/www/cgi-bin --with-htmlpath=/www --with-statepath=/var/state/ups --without-wrap --without-snmp --without-serial --without-ssl --without-neon --without-ipmi --without-freeipmi Configuration summary: =====================build serial drivers: no build USB drivers: yes build SNMP drivers: no build neon based XML driver: no build Powerman PDU client driver: no build IPMI driver: no 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 part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110919/04056d35/attachment.html>
Arnaud Quette
2011-Sep-20 18:26 UTC
[Nut-upsuser] Compilation error: NUT 2.6.2 --without-snmp
2011/9/19 Sergey Talchuk <tals1975 at gmail.com>> Hello all! >Hi Sergey,> I get a compilation error with '--without-snmp' option. Can someone help > please? >we've just detected this after the release. this is also true for any other buses considered by nut-scanner, for which you satisfy the dependency (ie you have net snmp installed) but you disable the feature (--without-snmp) I'm currently working on a patch to fix it. In the meantime, you can either use default option (auto) for the faulty features. cheers, Arnaud -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110920/d480b51e/attachment.html>