guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bastiaan van Haastrecht (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GUACAMOLE-68) Make on CentOS 7 with ffmpeg failes
Date Sun, 31 Jul 2016 08:25:20 GMT

     [ https://issues.apache.org/jira/browse/GUACAMOLE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bastiaan van Haastrecht updated GUACAMOLE-68:
---------------------------------------------
    Description: 
Hi,

I'm trying to get Guacemole to 'make' with guacenc. First, the User Guide does not give an
walkthrough on how to get this installed, but I've managed to scratch info of the net, and
basicly you need to install ffmpeg and ffmpeg-devel. Correct me if I'm wrong offcourse.

When I've installed those two thru yum, and run './configure', I get all on YES. When I run
'make', I get the following error:
<code>
In file included from /usr/include/ffmpeg/libavutil/imgutils.h:31:0,
                 from ffmpeg-compat.c:27:
/usr/include/ffmpeg/libavutil/pixdesc.h:31:5: error: type of bit-field âplaneâ is a GCC
extension [-Werror=pedantic]
     uint16_t plane        :2;            ///< which of the 4 planes contains the component
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:37:5: error: type of bit-field âstep_minus1â is
a GCC extension [-Werror=pedantic]
     uint16_t step_minus1  :3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:43:5: error: type of bit-field âoffset_plus1â is
a GCC extension [-Werror=pedantic]
     uint16_t offset_plus1 :3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:44:5: error: type of bit-field âshiftâ is a GCC
extension [-Werror=pedantic]
     uint16_t shift        :3;            ///< number of least significant bits that must
be shifted away to get the value
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:45:5: error: type of bit-field âdepth_minus1â is
a GCC extension [-Werror=pedantic]
     uint16_t depth_minus1 :4;            ///< number of bits in the component minus 1
     ^
cc1: all warnings being treated as errors
make[2]: *** [guacenc-ffmpeg-compat.o] Error 1
make[2]: Leaving directory `/tmp/guacamole-server/src/guacenc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/guacamole-server'
make: *** [all] Error 2
</code>

I have tried all availeble versions thru yum of ffmpeg, all give the same error.
I have disabled 'pedantic' in the make process, then it makes correctly but I get segment
falts on running guacd.

There's something wrong in the make process on CentOS with ffmpeg & ffmpeg-devel and it's
library components.

I have seen another person on the net with CentOS 7 and the exact same error.

1) Can this be fixed, is there a work arond?
2) Is there an other way to instal the required libraries withour ffmpeg?

Kind Regards,
Bastiaan



  was:
Hi,

I'm trying to get Guacemole to 'make' with guacenc. First, the User Guide does not give an
walkthrough on how to get this installed, but I've managed to scratch info of the net, and
basicly you need to install ffmpeg and ffmpeg-devel. Correct me if I'm wrong offcourse.

When I've installed those two thru yum, and run './configure', I get all on YES. When I run
'make', I get the following error:
In file included from /usr/include/ffmpeg/libavutil/imgutils.h:31:0,
                 from ffmpeg-compat.c:27:
/usr/include/ffmpeg/libavutil/pixdesc.h:31:5: error: type of bit-field âplaneâ is a GCC
extension [-Werror=pedantic]
     uint16_t plane        :2;            ///< which of the 4 planes contains the component
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:37:5: error: type of bit-field âstep_minus1â is
a GCC extension [-Werror=pedantic]
     uint16_t step_minus1  :3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:43:5: error: type of bit-field âoffset_plus1â is
a GCC extension [-Werror=pedantic]
     uint16_t offset_plus1 :3;
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:44:5: error: type of bit-field âshiftâ is a GCC
extension [-Werror=pedantic]
     uint16_t shift        :3;            ///< number of least significant bits that must
be shifted away to get the value
     ^
/usr/include/ffmpeg/libavutil/pixdesc.h:45:5: error: type of bit-field âdepth_minus1â is
a GCC extension [-Werror=pedantic]
     uint16_t depth_minus1 :4;            ///< number of bits in the component minus 1
     ^
cc1: all warnings being treated as errors
make[2]: *** [guacenc-ffmpeg-compat.o] Error 1
make[2]: Leaving directory `/tmp/guacamole-server/src/guacenc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/guacamole-server'
make: *** [all] Error 2

I have tried all availeble versions thru yum of ffmpeg, all give the same error.
I have disabled 'pedantic' in the make process, then it makes correctly but I get segment
falts on running guacd.

There's something wrong in the make process on CentOS with ffmpeg & ffmpeg-devel and it's
library components.

I have seen another person on the net with CentOS 7 and the exact same error.

1) Can this be fixed, is there a work arond?
2) Is there an other way to instal the required libraries withour ffmpeg?

Kind Regards,
Bastiaan




> Make on CentOS 7 with ffmpeg failes
> -----------------------------------
>
>                 Key: GUACAMOLE-68
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-68
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole
>    Affects Versions: 0.9.9
>         Environment: CentOS 7
>            Reporter: Bastiaan van Haastrecht
>
> Hi,
> I'm trying to get Guacemole to 'make' with guacenc. First, the User Guide does not give
an walkthrough on how to get this installed, but I've managed to scratch info of the net,
and basicly you need to install ffmpeg and ffmpeg-devel. Correct me if I'm wrong offcourse.
> When I've installed those two thru yum, and run './configure', I get all on YES. When
I run 'make', I get the following error:
> <code>
> In file included from /usr/include/ffmpeg/libavutil/imgutils.h:31:0,
>                  from ffmpeg-compat.c:27:
> /usr/include/ffmpeg/libavutil/pixdesc.h:31:5: error: type of bit-field âplaneâ is a
GCC extension [-Werror=pedantic]
>      uint16_t plane        :2;            ///< which of the 4 planes contains the
component
>      ^
> /usr/include/ffmpeg/libavutil/pixdesc.h:37:5: error: type of bit-field âstep_minus1â
is a GCC extension [-Werror=pedantic]
>      uint16_t step_minus1  :3;
>      ^
> /usr/include/ffmpeg/libavutil/pixdesc.h:43:5: error: type of bit-field âoffset_plus1â
is a GCC extension [-Werror=pedantic]
>      uint16_t offset_plus1 :3;
>      ^
> /usr/include/ffmpeg/libavutil/pixdesc.h:44:5: error: type of bit-field âshiftâ is a
GCC extension [-Werror=pedantic]
>      uint16_t shift        :3;            ///< number of least significant bits that
must be shifted away to get the value
>      ^
> /usr/include/ffmpeg/libavutil/pixdesc.h:45:5: error: type of bit-field âdepth_minus1â
is a GCC extension [-Werror=pedantic]
>      uint16_t depth_minus1 :4;            ///< number of bits in the component minus
1
>      ^
> cc1: all warnings being treated as errors
> make[2]: *** [guacenc-ffmpeg-compat.o] Error 1
> make[2]: Leaving directory `/tmp/guacamole-server/src/guacenc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/guacamole-server'
> make: *** [all] Error 2
> </code>
> I have tried all availeble versions thru yum of ffmpeg, all give the same error.
> I have disabled 'pedantic' in the make process, then it makes correctly but I get segment
falts on running guacd.
> There's something wrong in the make process on CentOS with ffmpeg & ffmpeg-devel
and it's library components.
> I have seen another person on the net with CentOS 7 and the exact same error.
> 1) Can this be fixed, is there a work arond?
> 2) Is there an other way to instal the required libraries withour ffmpeg?
> Kind Regards,
> Bastiaan



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message