Recent changes in OpalVoIP effect H323Plus

Discussion related to implementation and use of the H.323 Plus H.323 stack at http://www.h323plus.org.
Post Reply
mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

Recent changes in OpalVoIP effect H323Plus

Post by mazilo »

I have upgraded my local opalvoip source to SVN r27045 and unfortunately that causes the latest H323Plus codes to fail in cross compilation as shown below. I hope H323Plus will catch up soon.

Code: Select all

arm-openwrt-linux-uclibcgnueabi-g++ -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include  -DPTRACING=2 -D_REENTRANT  -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/include     -fexceptions -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/include  -Wall  -Wformat -Wformat-security -D_FORTIFY_SOURCE=2  -fPIC -DPIC -DNDEBUG -Os  -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/include -fno-strict-aliasing -felide-constructors -Wreorder -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.33_eabi/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/usr/include -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-4.6-linaro_uClibc-0.9.33_eabi/include   -c opalwavfile.cxx -o /opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/lib/obj/opalwavfile.o
opalwavfile.cxx: In constructor 'OpalWAVFile::OpalWAVFile(PFile::OpenMode, int, unsigned int)':
opalwavfile.cxx:55:29: error: invalid conversion from 'int' to 'PFile::OpenOptions_Bits' [-fpermissive]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/bitwise_enum.h:52:14: error:   initializing argument 1 of 'PBitwiseEnum<Enumeration, maxValue, initialValue, IntType>::PBitwiseEnum(Enumeration) [with Enumeration = PFile::OpenOptions_Bits, Enumeration maxValue = (PFile::OpenOptions_Bits)64, Enumeration initialValue = (PFile::OpenOptions_Bits)0, IntType = unsigned int]' [-fpermissive]
opalwavfile.cxx: In constructor 'OpalWAVFile::OpalWAVFile(const PFilePath&, PFile::OpenMode, int, unsigned int)':
opalwavfile.cxx:65:35: error: invalid conversion from 'int' to 'PFile::OpenOptions_Bits' [-fpermissive]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/bitwise_enum.h:52:14: error:   initializing argument 1 of 'PBitwiseEnum<Enumeration, maxValue, initialValue, IntType>::PBitwiseEnum(Enumeration) [with Enumeration = PFile::OpenOptions_Bits, Enumeration maxValue = (PFile::OpenOptions_Bits)64, Enumeration initialValue = (PFile::OpenOptions_Bits)0, IntType = unsigned int]' [-fpermissive]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/sound.h: At global scope:
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/sound.h:761:1: warning: 'PPlugin_PSoundChannel_WAVFile_loader' defined but not used [-Wunused-variable]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/videoio.h:1176:1: warning: 'PPlugin_PVideoInputDevice_FakeVideo_loader' defined but not used [-Wunused-variable]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/videoio.h:1183:1: warning: 'PPlugin_PVideoInputDevice_FFMPEG_loader' defined but not used [-Wunused-variable]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/videoio.h:1187:1: warning: 'PPlugin_PVideoInputDevice_YUVFile_loader' defined but not used [-Wunused-variable]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptlib/pluginmgr.h:175:1: warning: 'PFactoryLoader::PluginLoaderStartup_loader' defined but not used [-Wunused-variable]
/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/ptlib2_svn/include/ptclib/pwavfile.h:138:1: warning: 'PFactoryLoader::PWAVFileFormatPCM_loader' defined but not used [-Wunused-variable]
make[5]: *** [/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/lib/obj/opalwavfile.o] Error 1
make[5]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/src'
make[4]: *** [optshared] Error 2
make[4]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/src'
make[3]: *** [optshared] Error 2
make[3]: Leaving directory `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs'
make[2]: *** [/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.33_eabi/h323plus_cvs/.built] Error 2
make[2]: Leaving directory `/opt/OpenWRT/feeds/packages/libs/h323plus_cvs'
make[1]: *** [package/feeds/local/h323plus_cvs/compile] Error 2
make[1]: Leaving directory `/opt/openwrt-svn-trunk'
make: *** [package/h323plus_cvs/compile] Error 2

shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: Recent changes in OpalVoIP effect H323Plus

Post by shorne »

Seems like it gets broken every other day.
Anyway it should compile now.

mazilo
Posts: 45
Joined: Thu Sep 15, 2011 2:12 pm

Re: Recent changes in OpalVoIP effect H323Plus

Post by mazilo »

shorne wrote:Seems like it gets broken every other day.
Looks like folks @Opal did some sort of overhauling its libraries that affected H323Plus codes.
Anyway it should compile now.
Yes and thank you.

Post Reply