<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>On Jul 6, 2015, at 4:40 AM, Sergey Talchuk wrote:</div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><p style="margin-bottom:0in;line-height:100%">Dear
developers,<br>
<br>
libnutclient has been added as a C++
alternative to libupsclient in 2.7.1. As a result I can't compile nut
2.7.3 with gcc-3.3.6.</p></div></blockquote><div><br></div><div>What does the error message look like? Does the configure script fail when checking for the C++ compiler, or later on?</div><blockquote type="cite"><div dir="ltr"><p style="margin-bottom:0in;line-height:100%"> There wasn't such a problem with nut-2.6.5.<br>
<br>
Is
it possible to add a configuration parameter like
'-without-libnutclient' to provide better compatibility with older
gcc versions please (since libnutclient is an alternative to
libupsclient)?<br></p></div></blockquote><div><br></div><div>Certainly possible - the NUT clients (upsc, upsmon, etc.) do not use libnutclient. I would like the defaults to work, though - hence the previous question.</div><blockquote type="cite"><div dir="ltr"><p style="margin-bottom:0in;line-height:100%">
Or maybe use C instead of C++ for
libnutclient?<br></p></div></blockquote><div><br></div>As I understand it, the purpose of libnutclient was to provide a more object-oriented API to NUT. I'm not sure we need two different C APIs.<br><blockquote type="cite"><div dir="ltr"><p style="margin-bottom:0in;line-height:100%">
<br>
Unfortunately, is not that easy to upgrade
glibc in an embedded system.<br><br></p></div></blockquote><br></div><div>Thanks for the feedback. I agree that libnutclient should be optional, but it is good to confirm that it is a problem in the field.</div><div><br></div><div>No need to email both NUT lists - we can post results to nut-upsuser later.</div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div>-- </div><div>Charles Lepple</div><div>clepple@gmail</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br></body></html>