Re: [Opalvoip-devel] Trunk compilation fails with Ubuntu 15.10
Brought to you by:
csoutheren,
rjongbloed
From: Robert J. <ro...@vo...> - 2016-04-23 13:07:49
|
I installed Ubuntu 15.10 into a VM and was able to duplicate the error. Should now be fixed. ---------- Robert Jongbloed Vox Lucida Pty. Ltd. -----Original message----- From: Alexander Sbitnev Sent: Wednesday, 20th April 2016, 12:25 To: opa...@li... Subject: [Opalvoip-devel] Trunk compilation fails with Ubuntu 15.10 For at least last week or more there is problem with GNU build on my platform. g++ version: Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.2.1-22ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2) And compilation problem itself: [CXX] src/ptlib/unix/tlib.cxx In file included from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:988:0: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx: In member function ‘void PThread::PX_StartThread()’: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:392:75: error: invalid user-defined conversion from ‘atomic<int>’ to ‘PThread::Priority’ [-fpermissive] /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:78:33: note: in definition of macro ‘PAssertPTHREAD’ In file included from /home/shuras/OpalTrunk/ptlib/include/ptlib/contain.h:43:0, from /home/shuras/OpalTrunk/ptlib/include/ptlib.h:48, from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:49: /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:97:14: note: candidate is: atomic<int>::operator int() const <near match> /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:111:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_FUNCTIONS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:179:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:186:3: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS_BUILTIN’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:97:14: note: no known conversion from ‘int’ to ‘PThread::Priority’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:111:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_FUNCTIONS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:179:5: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS’ /home/shuras/OpalTrunk/ptlib/include/ptlib/atomic.h:186:3: note: in expansion of macro ‘P_DEFINE_ATOMIC_INT_CLASS_BUILTIN’ In file included from /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlib.cxx:988:0: /home/shuras/OpalTrunk/ptlib/src/ptlib/unix/tlibthrd.cxx:114:12: note: initializing argument 1 of ‘int GetSchedParam(PThread::Priority, sched_param&)’ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-potentially-evaluated-expression’ cc1plus: warning: unrecognized command line option ‘-Wno-unused-private-field’ /home/shuras/OpalTrunk/ptlib/make/post.mak:138: recipe for target '/home/shuras/OpalTrunk/ptlib/lib_linux_x86_64/obj/tlib.o' failed ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Opalvoip-devel mailing list Opa...@li... <mailto:Opa...@li...> https://lists.sourceforge.net/lists/listinfo/opalvoip-devel |