<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello all,<div style="" class="">I have exhausted my research and need a little help with some basic concepts. First time configuration working with NUT and putting into a OS X environment. Was able to install the package using Brew. Have read the documentation and have been able to get the server running and agent running using MACOSX-UPS driver and connect to UPS via USB. I would however like to integrate a TrippLite UPS with TLNETCARD (IP management card). I see in the documentation that this may be best accomplished using SNMP-UPS driver. However, I do not see the SNMP-UPS drivers with the other drivers in the directory of drivers? It is not clear to me if the Brew install does not provide this driver or if I am missing something different in this concept? Should there be an actual executable file named SNMP-UPS in the same directory with the other drivers?</div><div style="" class=""><br class=""></div><div style="" class="">I tried to look at the gist hub repos and dowloaded the snmp-ups (c and h) files. When I try to make these under OS X 10.14, I get the errors below. (I must admit here that I am not great at making executables so this may be something obvious that I am missing in the build). Seems strange to me there would be this many errors in the current code base unless I have a bad configuration parameter or the code is not compatible with Mojave?</div><div style="" class=""><br class=""></div><div style="" class="">So I guess my questions at this point are as follows:</div><div style="" class=""><br class=""></div><div style="" class="">Can I simply download the already built SNMP-UPS executable driver from somewhere that can be used on OS X Mojave 10.14? If so where is this available from?</div><div style="" class=""><br class=""></div><div style="" class="">If I need to build my own executable, what am I missing or doing wrong that is causing all of the errors in the build process?</div><div style="" class=""><br class=""></div><div style="" class="">Is the SNMP-UPS driver the best way to interact with a TrippLite IP based TLNETCARD? If so do I need a sub-driver or anything more to make this work?</div><div style="" class=""><br class=""></div><div style="" class="">Any help and suggestions are greatly appreciated.</div><div style="" class=""><br class=""></div><div style="" class="">Best regards,</div><div style="" class="">Dean </div><div style="" class=""><br class=""></div><div style="" class=""><br class=""></div><div style="" class="">** errors from Make attempt below**</div><div style="" class=""><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">iMac5KSSD:~ deantrasente$ clang /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c -o snmp-ups -I /Users/deantrasente/Documents/GitHub/nut/include -Wall </span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/proto.h:31:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/usr/lib/clang/10.0.0/include/varargs.h:25:4: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">"Please use <stdarg.h> instead of <varargs.h>"</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> #error "Please use <stdarg.h> instead of <varargs.h>"</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:43:5: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">expected parameter declarator</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">int snprintf (char *str, size_t count, const char *fmt, ...)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:57:39: note: </b>expanded from macro 'snprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:43:5: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">expected ')'</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:57:39: note: </b>expanded from macro 'snprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:43:5: note: </b>to match this '('</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:57:28: note: </b>expanded from macro 'snprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:44:18: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">'__format__' attribute parameter 2 is out of bounds</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __attribute__ ((__format__ (__printf__, 3, 4)));</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^ ~</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:43:5: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">conflicting types for '__builtin___snprintf_chk'</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">int snprintf (char *str, size_t count, const char *fmt, ...)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:57:3: note: </b>expanded from macro 'snprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:43:5: note: </b>'__builtin___snprintf_chk' is a builtin with type 'int (char *, unsigned long, int, unsigned long, const char *, ...)'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:57:3: note: </b>expanded from macro 'snprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:48:5: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">expected parameter declarator</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:75:40: note: </b>expanded from macro 'vsnprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:48:5: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">expected ')'</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:75:40: note: </b>expanded from macro 'vsnprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:48:5: note: </b>to match this '('</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:75:29: note: </b>expanded from macro 'vsnprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:48:5: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">conflicting types for '__builtin___vsnprintf_chk'</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:75:3: note: </b>expanded from macro 'vsnprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:48:5: note: </b>'__builtin___vsnprintf_chk' is a builtin with type 'int (char *, unsigned long, int, unsigned long, const char *, struct __va_list_tag *)'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/secure/_stdio.h:75:3: note: </b>expanded from macro 'vsnprintf'</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> __builtin___vsnprintf_chk (str, len, 0, __darwin_obsz(str), format, ap)</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:38:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/drivers/main.h:4:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">In file included from /Users/deantrasente/Documents/GitHub/nut/include/common.h:45:</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/include/proto.h:55:19: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">static declaration of 'setenv' follows non-static declaration</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">static inline int setenv(const char *name, const char *value, int overwrite) {</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdlib.h:237:6: note: </b>previous declaration is here</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:783:10: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(219, 39, 218);"><b class="">warning: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> for(cp = pdu->variables->val.string, x = 0; x < (int)pdu->variables->val_len; x++, cp++) {</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">/Users/deantrasente/Documents/GitHub/nut/drivers/snmp-ups.c:2911:46: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(202, 51, 35);"><b class="">error: </b></span><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class="">use of undeclared identifier 'CONFPATH'</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> snprintf(fn, sizeof(fn), "%s/snmp/%s.conf", CONFPATH, mib);</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(57, 192, 38);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><b class=""> ^</b></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">1 warning and 10 errors generated.</span></div><div style="" class=""><span style="font-family: Menlo; font-size: 11px;" class="">iMac5KSSD:~ deantrasente$ </span> </div></body></html>