[Nut-upsuser] Makefile bug in nut-2.4.3

Arjen de Korte nut+users at de-korte.org
Wed Sep 1 15:46:00 UTC 2010


Citeren Brother Railgun of Reason <alaric op caerllewys.net>:

> This resulte in a drivers/Makefile containing the following definition:
>
> LIBNETSNMP_LDFLAGS = -R../lib -L/usr/sfw/lib -lnetsnmp -lgen -lpkcs11
> -lkstat -lelf -lm -ldl -lnsl -lsocket -ladm

This isn't a Makefile bug. The above flags are found through  
'net-snmp-config --libs', which on Solaris 10 isn't configured  
properly. This has to be fixed by the Solaris packager and/or in the  
NetSNMP package.

If you want to override the automatically detected value, use  
--with-snmp-libs (see also docs/configure.txt).

Best regards, Arjen
-- 
Please keep list traffic on the list (off-list replies will be rejected)




More information about the Nut-upsuser mailing list