Failure to compile H323 Plus Core 1.19.5
Hello,
I just downloaded and tried to compile H323Plus.
PTLib is compiled smoothly with 'make opt'. However, H323 throws this error:
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -DPIC -DPTRACING -I/Downloads/h323+/h323plus/include -I/usr/local/share/pwlib//include -Os -felide-constructors -c h323.cxx -o /Downloads/h323+/h323plus/lib/obj_linux_x86_r/h323.o h323.cxx: In member function `virtual BOOL H323AggregatedH2x5Handle::OnRead()': /usr/local/include/ptlib/channel.h:823: error: `BOOL PChannel::SetErrorValues(PChannel::Errors, int, PChannel::ErrorGroup)' is protected h323.cxx:5529: error: within this context make[1]: *** [/Downloads/h323+/h323plus/lib/obj_linux_x86_r/h323.o] Error 1 make[1]: Leaving directory `/Downloads/h323+/h323plus/src' make: *** [opt] Error 2
I don't know if it makes any difference, but I have added:
#define H323_SIGNAL_AGGREGATE 1 #define H323_RTP_AGGREGATE 1
in include/openh323buildopts.h
Thanks in advance for any help.
Vlasis
What version of pwlib are you compiling against? I do not receive this error. I suspect you are using 1.10.3 as the fix was checked in some time ago. Make sure you are using the latest v1.12 available from the website.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Vlasis Hatzistavrou (KTI) Sent: Wednesday, 24 October 2007 7:14 PM To: h323plus@lists.packetizer.com Subject: [h323plus] Failure to compile H323 Plus Core 1.19.5
Hello,
I just downloaded and tried to compile H323Plus.
PTLib is compiled smoothly with 'make opt'. However, H323 throws this error:
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -DPIC -DPTRACING -I/Downloads/h323+/h323plus/include -I/usr/local/share/pwlib//include -Os -felide-constructors -c h323.cxx -o /Downloads/h323+/h323plus/lib/obj_linux_x86_r/h323.o h323.cxx: In member function `virtual BOOL H323AggregatedH2x5Handle::OnRead()': /usr/local/include/ptlib/channel.h:823: error: `BOOL PChannel::SetErrorValues(PChannel::Errors, int, PChannel::ErrorGroup)' is protected h323.cxx:5529: error: within this context make[1]: *** [/Downloads/h323+/h323plus/lib/obj_linux_x86_r/h323.o] Error 1 make[1]: Leaving directory `/Downloads/h323+/h323plus/src' make: *** [opt] Error 2
I don't know if it makes any difference, but I have added:
#define H323_SIGNAL_AGGREGATE 1 #define H323_RTP_AGGREGATE 1
in include/openh323buildopts.h
Thanks in advance for any help. -- Best regards, Vlasis Hatzistavrou
Hello,
It seems that I had to do a "make install" for the pwlib in order for H323plus Core to see the correct sources for PWLIB.
:-)
Thank you, Vlasis.
Simon Horne wrote:
Vlasis
What version of pwlib are you compiling against? I do not receive this error. I suspect you are using 1.10.3 as the fix was checked in some time ago. Make sure you are using the latest v1.12 available from the website.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Vlasis Hatzistavrou (KTI) Sent: Wednesday, 24 October 2007 7:14 PM To: h323plus@lists.packetizer.com Subject: [h323plus] Failure to compile H323 Plus Core 1.19.5
Hello,
I just downloaded and tried to compile H323Plus.
PTLib is compiled smoothly with 'make opt'. However, H323 throws this error:
g++ -DP_USE_PRAGMA -D_REENTRANT -Wall -fPIC -DPIC -DPTRACING -I/Downloads/h323+/h323plus/include -I/usr/local/share/pwlib//include -Os -felide-constructors -c h323.cxx -o /Downloads/h323+/h323plus/lib/obj_linux_x86_r/h323.o h323.cxx: In member function `virtual BOOL H323AggregatedH2x5Handle::OnRead()': /usr/local/include/ptlib/channel.h:823: error: `BOOL PChannel::SetErrorValues(PChannel::Errors, int, PChannel::ErrorGroup)' is protected h323.cxx:5529: error: within this context make[1]: *** [/Downloads/h323+/h323plus/lib/obj_linux_x86_r/h323.o] Error 1 make[1]: Leaving directory `/Downloads/h323+/h323plus/src' make: *** [opt] Error 2
I don't know if it makes any difference, but I have added:
#define H323_SIGNAL_AGGREGATE 1 #define H323_RTP_AGGREGATE 1
in include/openh323buildopts.h
Thanks in advance for any help.
Best regards, Vlasis Hatzistavrou
participants (2)
-
Simon Horne
-
Vlasis Hatzistavrou (KTI)