<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello Arnaud,<br><br></div>Thanks for your reply!<br><br></div>I have an embedded system:<br></div>linux kernel 2.4.28<br></div>uGlibc 0.9.27<br></div>The build env. (GPL) contains /usr/include/c++/3.3.6 and there is NO stl presented.<br></div>Even if I build g++ with STL it is not that easy to update it on the target system because of the read-only fs (ROM).<br></div>Installing NUT on the HDD I just extend some features on the device. But the system libraries can't be changed, unfortunately...<br><br></div>So, that is the reason I removed it from the makefile. It looks like this is just my specific case.<br><br></div>Thank you,<br></div>Sergey<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 12:19 PM, Arnaud Quette <span dir="ltr"><<a href="mailto:arnaud.quette@gmail.com" target="_blank">arnaud.quette@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><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></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<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">-- <br><div><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></font></span></div>
</blockquote></div><br></div>