Re: [Ekiga-list] compile problem opal 3.6.8



On 04/06/10 17:20, Jānis Rukšāns wrote:
On Thu, Jun 3, 2010 at 9:19 PM, Eugen Dedu
<Eugen Dedu pu-pm univ-fcomte fr>  wrote:
On 31/05/10 23:43, Gerhard Stengel wrote:

Hi,

great, a new version of ekiga!

I tried to compile the latest and greatest ekiga 3.2.7 and opal 3.6.8, but
ran into compiling problems. This is the
message the compile process aborts with:

In file included from /usr/include/libavutil/avutil.h:81,
                  from /usr/include/libavcodec/avcodec.h:30,
                  from h264-x264.h:63,
                  from h264-x264.cxx:38:
/usr/include/libavutil/common.h: In function ‘int32_t
av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared in
this scope
make[2]: *** [obj/h264-x264.o] Fehler 1

UINT64_C is a macro declared in stdint.h, but there's an #ifdef around it:

#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS

which I think is never fulfilled in this case, so the declaration isn't
reached.
How can this be fixed?

The problem is that I have not tested compilation with ffmpeg and x264 when
releasing 3.2.7...  The reason is that recent H264 and H263+ are broken with
ekiga.  A version which works is FFMPEG_VER := {2009-04-14} and X264_VER :=
d2e1e1c35c43ea9c90c9211be.  I advise you to use these versions.

On the contrary, if you have programming skills, we really welcome any
patches which fix this.

Just add -D__STDC_CONSTANT_MACROS to opal CXXFLAGS (and for everything
else that is in C++ and somehow includes avutil.h).

Why does it work on some machines (mine for ex.) and not on his?

--
Eugen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]