Building OpenH323 library with RFC2190 H.263 support

Hello,
I have been trying to build OpenH323 library with RFC2190 H.263 codec support
on Debian(etch) with no success. The final aim is to build OpenMCU (V2.2.1) with H.263 support.

Operating environment: Intel P4,686, SMP, 3GHz
Debian 2.6.18 etch
gcc version 4.1.2

I downloaded the following latest CVS versions from sourceforge.net:
- PTLib(PWLIB) version 1.11.3
- OpenH323 version 1.19.2

Then I downloaded the latest svn version of ffmpeg sources from
svn://svn.mplay.hu/ffmpeg.

I followed the build procedures exactly as is outlined in the H323 build
documentation.

Here are the results:
---------------------
1. I can build pwlib without any problem.
2. I can build the ffmpeg libraries without any problem.
3. I can build openh323 library without RFC2190 H.263 support - no problems.

4. But when I try to build openh323 library with RFC2190 H.263 support I start
getting errors:

Compilation of rfc2190avcodec.cxx reports the following errors:
1. CODEC_FLAG_RFC2190, CODEC_FLAG_RFC2429, FF_ER_CAREFULL are undefined.
2. frame_rate, frame_rate_base are undefined.
3. Invalid conversion error - The prototype of rtp_callback in
AVCodeccontext (in avcodec.h)does not match the definition of the
callback in rfc2190avcodec.cxx.
The version of avcodec.h in the ffmpeg directory does not match what is
expected in the openh323 library.

These errors are mainly due to the incompatible versions of openh323 and ffmpeg
source versions.

If I use the ffmpeg version 4.0.7, then the library won't compile eventhough
the avcodec.h matches what is expected in the openh323 library.

gcc4 does not like the definitions in common.h.
common.h:66 error: array has incomplete type.
common.h:70 error: array has incomplete type.

Could someone please help me how to go about building OpenH323 library with
RFC 2190 H.263 support?

Thanks,
Raj Mohan

0
Syndicate content