Re: [Ekiga-list] Compiling opal-3.10.7 on Fedora 17 64bit
- From: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
- To: Antonio Trande <anto trande gmail com>
- Cc: Ekiga mailing list <ekiga-list gnome org>
- Subject: Re: [Ekiga-list] Compiling opal-3.10.7 on Fedora 17 64bit
- Date: Sat, 15 Sep 2012 12:56:18 +0200
On 15/09/12 00:37, Antonio Trande wrote:
2012/9/14 Eugen Dedu<Eugen Dedu pu-pm univ-fcomte fr>
On 14/09/12 10:41, Antonio Trande wrote:
2012/9/14 Antonio Trande<anto trande gmail com>
2012/9/13 Eugen Dedu<Eugen Dedu pu-pm univ-**fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>
On 13/09/12 19:05, Antonio Trande wrote:
2012/9/13 Eugen Dedu<Eugen Dedu pu-pm univ-**f**comte.fr<http://fcomte.fr>
<Eugen.Dedu@pu-pm.**univ-fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>>
On 27/08/12 19:45, Antonio Trande wrote:
2012/8/24 Antonio Trande<anto trande gmail com>
2012/8/24 Eugen Dedu<Eugen Dedu pu-pm univ-****f**comte.fr<
http://fcomte.fr>
<Eugen.Dedu@pu-pm.**univ-**fcomte.fr<http://univ-fcomte.fr><
Eugen.Dedu@pu-pm.**univ-fcomte.fr<Eugen Dedu pu-pm univ-fcomte fr>
On 24/08/12 12:48, Antonio Trande wrote:
Hi all.
I'm working to compile opal-3.10.7 on my Fedora 17 64bit. After
*./configure
--disable-silk*, *make* fails with
[CC] h263-1998.cxx
In file included from /usr/include/ffmpeg/libavutil/******
**samplefmt.h:22:0,
from /usr/include/ffmpeg/****
libavcodec/avcodec.h:30,
from ../common/ffmpeg.h:48,
from h263-1998.h:52,
from h263-1998.cxx:50:
/usr/include/ffmpeg/libavutil/********avutil.h:305:5: error:
expected
identifier
before numeric constant
/usr/include/ffmpeg/libavutil/********avutil.h:305:5: error:
expected ‘}’
before
numeric constant
/usr/include/ffmpeg/libavutil/********avutil.h:305:5: error:
expected
unqualified-id before numeric constant
/usr/include/ffmpeg/libavutil/********avutil.h:313:1: error:
expected
declaration
before ‘}’ token
make[3]: ***
[/home/sagitter/********SoftwareCompilato/opal-3.10.7/********
plugins/../lib_linux_x86_64/********plugins/h263_ffmpeg/h263-***
*
1998.****o]
Error 1
Peter, do you know what is the problem? I tested it with
libav...
With the option *--disable-libavcodec, *make completes its
work but
ffmpeg codecs are not available.
If i remember properly this issue pops up with the old release of
Ekiga
too and it was linked to ffmpeg.
Please, i wish understand if this is a issue related to Ekiga or to
ffmpeg
in Fedora.
Antonio, it could be a mismatch between ffmpeg version and opal.
Do you
use ffmpeg or libav? What version exactly
(/usr/include/libavcodec/***
*version.h)?
Is it the version from Fedora or another one?
Hi Eugen.
I use ffmpeg (v. 0.10..4-2) from Fedora repository.
Indeed, you use version ffmpeg 0.10.4. Could you send the
plugins/config.log file from opal directory?
Also, what gives the command:
grep PICT opal-directory/plugins/plugin-****config.h
$ grep PICT plugin-config.h
/* #undef AV_PICTURE_TYPE_NONE */
Could you confirm that line 305 from /usr/include/ffmpeg/libavutil/**avutil.h
is:
305 AV_PICTURE_TYPE_NONE = 0, ///< Undefined
?
I confirm.
If yes, then please do:
- in opal/plugins/video/common, rename ffmpeg directory to ffmpeg2 (so
that it is not found)
- rebuild opal (./configure and make)
See attached.
The problem is the following. Opal in config.log says:
checking if libavutil has AV_PICTURE_TYPE_NONE... no
checking if libavutil has AVPictureType... no
On the other hand, your ffmpeg from Fedora has in avutil.h:
304 enum AVPictureType {
305 AV_PICTURE_TYPE_NONE = 0, ///< Undefined
[...]
So opal configure does not find AV_PICTURE_TYPE_NONE, hence it defines
it, but afterwards there is collision since it is defined in avutil.h.
So how could that happen? Are you sure that you do not have two ffmpeg
installations? For ex. one in /usr/local, which gets used by configure,
and another one from Fedora which gets used during make?
Also, couldn't you execute configure without
"PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" (on a fresh directory, where
you have not built opal)?
--
Eugen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]