<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-07-06 10:40 GMT+02:00 Sergey Talchuk <span dir="ltr"><<a href="mailto:tals1975@gmail.com" target="_blank">tals1975@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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. 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>
Or maybe use C instead of C++ for
libnutclient?<br>
<br>
Unfortunately, is not that easy to upgrade
glibc in an embedded system.<br>
<br>
Thank you,<br>
Sergey</p>

</div>
</blockquote></div><br></div><div class="gmail_extra">Hello Sergey<br><br></div><div class="gmail_extra">thanks for your mail.<br></div><div class="gmail_extra">I'm adding explicitly Emilien, who may have some additional comments...<br><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I got some complementary questions, to ensure we bring a suitable solution to your issue:<br><br></div><div class="gmail_extra">- which exact system are you running?<br></div><div class="gmail_extra">- which version of glibc?<br></div><div class="gmail_extra">- you said that stl is present. Do you have actually the "libstdc++-dev"

(Debian like) equivalent package / files installed for glibc.<br>I.e, is there something under /usr/include/c++/3.3.6 and / or /usr/include/c++/3.3<br><br></div><div class="gmail_extra">For the sake of completion, libnutclient is more a developer oriented lib, more high level and easier to use, and C++ / C usable.<br></div><div class="gmail_extra">While libupsclient is just the historic internal lib that I once exported to create the first external NUT client (wmnut, back in 2001) and later more 3rd party ones...<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">thanks and cheers,<br></div><div class="gmail_extra">Arno<br></div><div class="gmail_extra">-- <br><div class="gmail_signature"><div dir="ltr">Eaton Data Center Automation - Opensource Leader<br>NUT (Network UPS Tools) Project Leader - <a href="http://www.networkupstools.org" target="_blank">http://www.networkupstools.org</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.fr" target="_blank">http://arnaud.quette.fr</a><br><br></div></div>
</div></div>