<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 11, 2017 at 2:31 PM, Дмитрий Клим <span dir="ltr"><<a href="mailto:dklimentiev@gmail.com" target="_blank">dklimentiev@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>Hello guys,</div><div>I'm using pdns recursor 3.7.3 now (Solaris 11 sparc) which was compiled from sources.</div><div>And I have an issue with pdns recursor upgrade to version 4.0.4.</div><div><br></div><div>I'm using the latest Solaris 11.3 release <br></div><div>root@rep11:/users/admin/pdns-<wbr>recursor-4.0.4.1# pkg list entire</div><div>NAME (PUBLISHER)                                  VERSION                    IFO</div><div>entire                                            0.5.11-0.175.3.17.0.5.0    i--</div><div><br></div><div>So when I tried to build pdns with default Solaris gcc 4.8.2 I passed the configure:</div><div>configure: Configuration summary</div><div>configure: =====================</div><div>configure:</div><div>configure: PowerDNS Recursor configured with:  '--with-boost=/opt/boost_1_<wbr>63_0' '--prefix=/opt/pdns-recursor-<wbr>4.0.4'</div><div>configure:</div><div>configure: CC: gcc</div><div>configure: CXX: g++</div><div>configure: LD: /usr/bin/ld</div><div>configure: CFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -g -O2</div><div>configure: CPPFLAGS:  -I/opt/boost_1_63_0 -pthreads</div><div>configure: CXXFLAGS:  -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -D_REENTRANT -Wall -g -O2 -std=gnu++11</div><div>configure: LDFLAGS:</div><div>configure: LIBS: -lsocket -lnsl -lresolv -lposix4 -lpthread    -pthreads</div><div>configure: BOOST_CPPFLAGS: -I/opt/boost_1_63_0 -pthreads</div><div>configure:</div><div>configure: Features enabled</div><div>configure: ----------------</div><div>configure: Lua: lua</div><div>configure: OpenSSL ECDSA: no</div><div>configure: Protobuf: no</div><div>configure: systemd: no</div><div>configure: Context library: System V ucontexts</div><div><br></div><div>But than I got an error while gmake:</div><div><br></div><div>gmake[2]: Entering directory `/users/admin/pdns-recursor-4.<wbr>0.4.1'</div><div>  CXX      arguments.o</div><div>In file included from logger.hh:33:0,</div><div>                 from arguments.cc:31:</div><div>iputils.hh: In member function ‘std::string ComboAddress::<wbr>toStringWithPort() const’:</div><div>iputils.hh:274:33: error: ‘to_string’ is not a member of ‘std’</div><div>       return toString() + ":" + std::to_string(ntohs(sin4.sin_<wbr>port));</div><div>                                 ^</div></div></blockquote><div>What is the version of your libstd++?</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Thiago Farina</div>
</div></div>