On Tue, Jan 11, 2022 at 2:12 PM Vieri <[email protected]> wrote:
>
> Hi,
>
> When I try to build 
> https://apache.org/dyn/closer.lua/guacamole/1.4.0/source/guacamole-server-1.4.0.tar.gz?action=download
>  I get this error:
>
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..    -Werror -Wall 
> -I../../src/libguac  -O2 -pipe -c -o guacenc-instruction-cfill.o `test -f 
> 'instruction-cfill.c' || echo './'`instruction-cfill.c
> ffmpeg-compat.c: In function ‘guacenc_avcodec_encode_video’:
> ffmpeg-compat.c:140:5: error: ‘av_init_packet’ is deprecated 
> [-Werror=deprecated-declarations]
>   140 |     av_init_packet(&packet);
>       |     ^~~~~~~~~~~~~~
> In file included from /usr/include/libavcodec/bsf.h:30,
>                  from /usr/include/libavcodec/avcodec.h:44,
>                  from video.h:27,
>                  from ffmpeg-compat.h:24,
>                  from ffmpeg-compat.c:21:
> /usr/include/libavcodec/packet.h:488:6: note: declared here
>   488 | void av_init_packet(AVPacket *pkt);
>       |      ^~~~~~~~~~~~~~
>
>
> I have ffmpeg-4.4.1.
>
> This is a part of the configure script output:
>
> ------------------------------------------------
> guacamole-server version 1.4.0
> ------------------------------------------------
>...
>    Services / tools:
>
>       guacd ...... yes
>       guacenc .... yes
>       guaclog .... yes
>
>    FreeRDP plugins: /usr/lib64/freerdp2
>    Init scripts: no
>    Systemd units: no
>
> Any clues?
>

Do you need guacenc? If not, you can disable that part of the build by
passing the "--disable-guacenc" option to the configure script.

The above build issue is specific to guacenc and newer FFMpeg. It's
been fixed, but that fix is not part of 1.4.0:
https://issues.apache.org/jira/browse/GUACAMOLE-1330

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to