[Nut-upsuser] Compilation error: NUT 2.6.2 --without-snmp
Frédéric Bohé
fredericbohe at eaton.com
Mon Sep 26 09:32:43 UTC 2011
Hello Sergey,
On Sat, 2011-09-24 at 23:56 +0300, Sergey Talchuk wrote:
> Hi Arnaud,
>
>
> Now I get another error (maybe because my system doesn't have
> IPv6. Unfortunately I didn't find AI_NUMERICSERV in /usr/include/netdb.h).
> Can you tell me what workaround would be good for me?
Try revision 3256, please.
Fred
>
> nutscan-ip.c: In function `nutscan_cidr_to_ip':
> nutscan-ip.c:243: error: `AI_NUMERICSERV' undeclared (first use in this function)
> nutscan-ip.c:243: error: (Each undeclared identifier is reported only once
> nutscan-ip.c:243: error: for each function it appears in.)
> make[3]: *** [libnutscan_la-nutscan-ip.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> cheers,
> Sergey
>
>
> > Hi Sergey,
>
> > 2011/9/20 Arnaud Quette <aquette.dev at gmail.com>:
> >>
> >> 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.
>
> > I've just committed the fix to the NUT trunk (development version), r3251
>
> > cheers,
> > Arnaud
>
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser
--
Team Open Source Eaton - http://powerquality.eaton.com
--------------------------------------------------------------------------
More information about the Nut-upsuser
mailing list