* Package: net-libs/ptlib-2.10.11 * Repository: gentoo * USE: abi_x86_64 alsa amd64 asn dtmf elibc_glibc http ipv6 kernel_linux ldap sdl sound ssl stun userland_GNU video wav xml * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ptlib-2.10.11.tar.bz2 to /var/tmp/portage/net-libs/ptlib-2.10.11/work >>> Source unpacked in /var/tmp/portage/net-libs/ptlib-2.10.11/work >>> Preparing source in /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11 ... * Applying ptlib-2.10.9-svn_revision_override.patch ... [ ok ] * Applying ptlib-2.10.9-pkgconfig_ldflags.patch ... [ ok ] * Applying ptlib-2.10.9-respect_cxxflags.patch ... [ ok ] * Applying ptlib-2.10.10-mga-bison-parameter.patch ... [ ok ] * Applying ptlib-2.10.10-respect_cflags_cxxflags.patch ... [ ok ] * Applying ptlib-2.10.11-gcc6.patch ... [ ok ] * Applying ptlib-2.10.9-disable-telnet-symbols.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11 ... * econf: updating ptlib-2.10.11/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ptlib-2.10.11/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-plugins --disable-minsize --enable-ansi-bool --enable-atomicity --disable-internalregex --disable-sunaudio --disable-bsdvideo --disable-appshare --disable-vfw --disable-samples --disable-avc --disable-mlib --enable-configfile --enable-pipechan --enable-resolver --enable-url --enable-alsa --enable-asn --disable-exceptions --disable-memcheck --disable-tracing --enable-dtmf --disable-esd --disable-ffvdev --disable-ftp --enable-http --enable-httpforms --enable-httpsvc --disable-dc --enable-ipv6 --disable-jabber --enable-openldap --disable-lua --disable-pop3smtp --disable-pulse --disable-odbc --disable-oss --disable-pch --disable-qos --disable-remconn --disable-sasl --enable-sdl --disable-serial --disable-shmvideo --disable-snmp --disable-soap --disable-socks --enable-audio --enable-openssl --enable-stun --disable-telnet --disable-tts --disable-v4l --disable-v4l2 --enable-video --enable-vidfile --disable-vxml --enable-wavfile --enable-expat --disable-xmlrpc checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes configure: PTLib version is 2.10.11 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for swab... yes configure: OSTYPE set to linux configure: OSRELEASE set to "4.13.14" configure: MACHTYPE set to x86_64 configure: gcc version is 6.4.0 checking checking if pragma implementation should be used... no checking checking if precompiled headers available... no checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no configure: Default extension for C++ files is cpp checking if compiler accepts -felide-constructors... yes checking if linker accepts -Wreorder... yes checking if debug build accepts -g3 -ggdb -O0... yes checking if compiler uses RTTI by default... yes checking size of int... 4 checking for long double with more range or precision than double... yes checking for flex... /usr/bin/flex checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for bison... /usr/bin/bison checking if readdir_r has 2 parms... no checking if readdir_r has 3 parms... yes configure: PTRACE and all trace logging removed configure: Using ANSI C++ bool for PBoolean: (PFalse=false PTrue=true) checking for recvmsg... yes checking for IPV6_ADD_MEMBERSHIP... yes checking for NetLink support... yes checking if using STL streams... yes checking if atomic integer available... yes checking if __exchange_and_add is in __gnu_cxx namespace... yes checking if Unix semaphores are available... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking if pthread_mutex_timedlock is available... yes checking for sem_timedwait in -lpthread... yes checking if sem_timedwait is compilable... yes checking if recursive mutexes are available... PTHREAD_MUTEX_RECURSIVE_NP checking if setpgrp takes no parameters... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking if dlopen is available... yes checking for dlopen in -ldl... yes checking enable plugin support... yes checking where plugins are being installed... /usr/lib64/ptlib-2.10.11 checking enable samples build... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for res_ninit... no checking for res_ninit in -lresolv... yes configure: SASL disabled configure: SUN mlib disabled checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking for ldap_open in -lldap... yes checking for OPENSSL... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for const arg to d2i_AutoPrivateKey... yes checking for d2i_DHparams_bio variants... new checking expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking for XML_ParserCreate in -lexpat... yes configure: Lua disabled checking for IPv6 support... yes checking for inet_ntop... yes checking enable config file support... yes checking enable URL support... yes checking enable HTTP support... yes checking enable HTTP forms support... yes checking enable HTTP server support... yes checking enable Jabber support... no checking enable VXML support... no checking enable XMLRPC support... no checking enable SOAP support... no checking enable Text-To-Speech server support... no checking enable ASN decoding/encoding support... yes checking enable STUN support... yes checking enable pipechannel support... yes checking enable DTMF protocol support... yes checking enable SOCKS protocol support... no checking enable FTP protocol support... no checking enable SNMP protocol support... no checking enable TELNET protocol support... no checking enable remote connection support... no checking enable serial port support... no checking enable POP3/SMTP support... no checking enable audio support... yes checking enable WAVFILE support... yes checking enable QOS support... no checking enable video device support... yes checking enable video file support... yes checking enable FFMpeg video file support... configure: ffvdev support disabled due to disabled dependency HAS_FFVDEV no checking enable application sharing support... no checking enable shared memory video devices... no checking for SDL... yes checking enable video for windows capture... no configure: ODBC disabled checking enable C++ exceptions... no checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c configure: creating ./config.status config.status: creating make/ptbuildopts.mak config.status: creating make/ptlib-config config.status: creating Makefile config.status: creating ptlib_cfg.dxy config.status: creating ptlib.pc config.status: creating include/ptbuildopts.h === configuring in plugins (/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/plugins) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--enable-plugins' '--disable-minsize' '--enable-ansi-bool' '--enable-atomicity' '--disable-internalregex' '--disable-sunaudio' '--disable-bsdvideo' '--disable-appshare' '--disable-vfw' '--disable-samples' '--disable-avc' '--disable-mlib' '--enable-configfile' '--enable-pipechan' '--enable-resolver' '--enable-url' '--enable-alsa' '--enable-asn' '--disable-exceptions' '--disable-memcheck' '--disable-tracing' '--enable-dtmf' '--disable-esd' '--disable-ffvdev' '--disable-ftp' '--enable-http' '--enable-httpforms' '--enable-httpsvc' '--disable-dc' '--enable-ipv6' '--disable-jabber' '--enable-openldap' '--disable-lua' '--disable-pop3smtp' '--disable-pulse' '--disable-odbc' '--disable-oss' '--disable-pch' '--disable-qos' '--disable-remconn' '--disable-sasl' '--enable-sdl' '--disable-serial' '--disable-shmvideo' '--disable-snmp' '--disable-soap' '--disable-socks' '--enable-audio' '--enable-openssl' '--enable-stun' '--disable-telnet' '--disable-tts' '--disable-v4l' '--disable-v4l2' '--enable-video' '--enable-vidfile' '--disable-vxml' '--enable-wavfile' '--enable-expat' '--disable-xmlrpc' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig' 'CFLAGS=-O2 -pipe -march=native -Wall' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CXXFLAGS=-Werror=terminate -O2 -pipe -march=native' --cache-file=/dev/null --srcdir=. checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking alsa/asoundlib.h usability... yes checking alsa/asoundlib.h presence... yes checking for alsa/asoundlib.h... yes checking for ALSA sound support... yes configure: creating ./config.status config.status: creating Makefile config.status: creating vidinput_v4l2/Makefile config.status: creating vidinput_dc/Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11 ... make -j1 V=1 make DEBUG= P_SHAREDLIB=1 default_target make[1]: Entering directory '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11' make[1]: Leaving directory '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11' make[1]: Entering directory '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/src' make DEBUG= P_SHAREDLIB=1 default_target make[2]: Entering directory '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/src' x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pldap.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pldap.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pldap.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pldap.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pils.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pils.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pils.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pils.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pssl.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pssl.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pssl.cxx:86: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pssl.cxx:86: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -DP_FORCE_STATIC_PLUGIN -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -O1 -pipe -c ptclib/vsdl.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/vsdl.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/vsdl.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/vsdl.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -DP_FORCE_STATIC_PLUGIN -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -O1 -pipe -c ptlib/common/vfakeio.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/vfakeio.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/common/vfakeio.cxx:31: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/common/vfakeio.cxx:31: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ptlib/common/vfakeio.cxx: In member function ‘void PVideoInputDevice_FakeVideo::GrabMovingBlocksTestFrame(BYTE*)’: ptlib/common/vfakeio.cxx:1882:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(hi = 0; hi < 8; hi++) //Fill the background in. ^~~ ptlib/common/vfakeio.cxx:1890:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ boxSize= frameHeight / 10; ^~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/common/videoio.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/videoio.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/common/videoio.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/common/videoio.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/common/vconvert.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/vconvert.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/common/vconvert.cxx:33: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/common/vconvert.cxx:33: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/common/pvidchan.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pvidchan.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/common/pvidchan.cxx:38: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/common/pvidchan.cxx:38: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/common/tinyjpeg.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/tinyjpeg.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/common/jidctflt.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/jidctflt.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/common/sound.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/sound.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/common/sound.cxx:36: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/common/sound.cxx:36: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pxml.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pxml.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pxml.cxx:34: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pxml.cxx:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/lua.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/lua.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/lua.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/lua.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pdns.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pdns.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pdns.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pdns.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/enum.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/enum.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/enum.cxx:33: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/enum.cxx:33: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/asner.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/asner.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/asner.cxx:33: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/asner.cxx:33: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pasn.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pasn.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pasn.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pasn.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -DP_FORCE_STATIC_PLUGIN -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -O1 -pipe -c ptclib/pstun.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pstun.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pstun.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pstun.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pnat.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pnat.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pnat.cxx:34: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pnat.cxx:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/pipechan.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pipechan.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/pipechan.cxx:36: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/pipechan.cxx:36: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pwavfile.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pwavfile.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pwavfile.cxx:39: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pwavfile.cxx:39: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -DP_FORCE_STATIC_PLUGIN -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -O1 -pipe -c ptclib/pwavfiledev.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pwavfiledev.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pwavfiledev.cxx:38: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pwavfiledev.cxx:38: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/dtmf.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/dtmf.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/dtmf.cxx:23: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/dtmf.cxx:23: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/url.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/url.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/url.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/url.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/http.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/http.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/http.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/http.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/httpclnt.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/httpclnt.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/httpclnt.cxx:31: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/httpclnt.cxx:31: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/html.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/html.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/html.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/html.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/httpsrvr.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/httpsrvr.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/httpsrvr.cxx:31: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/httpsrvr.cxx:31: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/httpform.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/httpform.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/httpform.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/httpform.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/svcproc.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/svcproc.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/svcproc.cxx:34: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/svcproc.cxx:34: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ptlib/unix/svcproc.cxx: In member function ‘int PServiceProcess::InitialiseService()’: ptlib/unix/svcproc.cxx:353:22: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); // Switch back to starting uid for next call ^ ptlib/unix/svcproc.cxx:355:17: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result] seteuid(uid); ^ ptlib/unix/svcproc.cxx:366:24: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); // Switch back to starting uid for next call ^ ptlib/unix/svcproc.cxx:375:19: warning: ignoring return value of ‘int seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result] seteuid(uid); ^ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/httpsvc.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/httpsvc.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/httpsvc.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/httpsvc.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/shttpsvc.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/shttpsvc.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/shttpsvc.cxx:35: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/shttpsvc.cxx:35: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/config.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/config.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/config.cxx:38: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/config.cxx:38: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptclib/pvidfile.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pvidfile.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pvidfile.cxx:38: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pvidfile.cxx:38: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -DP_FORCE_STATIC_PLUGIN -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -O1 -pipe -c ptclib/pvfiledev.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/pvfiledev.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptclib/pvfiledev.cxx:38: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptclib/pvfiledev.cxx:38: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/uicmp.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/uicmp.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/uicmp.cxx:36: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/uicmp.cxx:36: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/socket.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/socket.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/socket.cxx:43: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/socket.cxx:43: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/udll.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/udll.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/udll.cxx:36: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/udll.cxx:36: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fno-exceptions -O2 -pipe -march=native -Wall -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -DP_64BIT -fPIC -DPIC -DNDEBUG -Os -felide-constructors -Wreorder -Werror=terminate -O2 -pipe -march=native -O1 -pipe -c ptlib/unix/channel.cxx -o /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/channel.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:145:0, from ptlib/unix/channel.cxx:37: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psharedptr.h:63:21: warning: ‘template class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] PSharedPtr(std::auto_ptr & v) ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/locale_conv.h:41:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/locale:43, from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/iomanip:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/object.h:58, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/psync.h:43, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/critsec.h:34, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib/contain.h:42, from /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/include/ptlib.h:56, from ptlib/unix/channel.cxx:37: /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/bits/unique_ptr.h:49:28: note: declared here template class auto_ptr; ^~~~~~~~ ptlib/unix/channel.cxx: In member function ‘virtual PBoolean PChannel::Read(const VectorOfSlice&)’: ptlib/unix/channel.cxx:239:38: error: ‘::readv’ has not been declared if (ConvertOSError(lastReadCount = ::readv(os_handle, &slices[0], slices.size()), LastReadError)) ^~ ptlib/unix/channel.cxx: In member function ‘virtual PBoolean PChannel::Write(const VectorOfSlice&)’: ptlib/unix/channel.cxx:258:20: error: ‘::writev’ has not been declared while ((result = ::writev(os_handle, &slices[0], slices.size())) < 0) { ^~ make[2]: *** [../make/common.mak:97: /var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/lib_linux_x86_64/obj/channel.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/src' make[1]: *** [../make/common.mak:292: optshared] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11/src' make: *** [Makefile:91: optshared] Error 2 * ERROR: net-libs/ptlib-2.10.11::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/ptlib-2.10.11::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/ptlib-2.10.11::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:ptlib-2.10.11:20171119-120645.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/ptlib-2.10.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/ptlib-2.10.11/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11' * S: '/var/tmp/portage/net-libs/ptlib-2.10.11/work/ptlib-2.10.11'