Hello Arnaud, Thanks for your reply!
I have an embedded system: linux kernel 2.4.28 uGlibc 0.9.27 The build env. (GPL) contains /usr/include/c++/3.3.6 and there is NO stl presented. 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). Installing NUT on the HDD I just extend some features on the device. But the system libraries can't be changed, unfortunately... So, that is the reason I removed it from the makefile. It looks like this is just my specific case. Thank you, Sergey On Tue, Jul 21, 2015 at 12:19 PM, Arnaud Quette <[email protected]> wrote: > > > 2015-07-06 10:40 GMT+02:00 Sergey Talchuk <[email protected]>: > >> Dear developers, >> >> 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. >> >> 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)? >> Or maybe use C instead of C++ for libnutclient? >> >> Unfortunately, is not that easy to upgrade glibc in an embedded system. >> >> Thank you, >> Sergey >> > > Hello Sergey > > thanks for your mail. > I'm adding explicitly Emilien, who may have some additional comments... > > > I got some complementary questions, to ensure we bring a suitable solution > to your issue: > > - which exact system are you running? > - which version of glibc? > - you said that stl is present. Do you have actually the "libstdc++-dev" > (Debian like) equivalent package / files installed for glibc. > I.e, is there something under /usr/include/c++/3.3.6 and / or > /usr/include/c++/3.3 > > For the sake of completion, libnutclient is more a developer oriented lib, > more high level and easier to use, and C++ / C usable. > 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... > > thanks and cheers, > Arno > -- > Eaton Data Center Automation - Opensource Leader > NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org > Debian Developer - http://www.debian.org > Free Software Developer - http://arnaud.quette.fr > >
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
