On Tue, Jul 30, 2019 at 11:33 AM Shawn Qureshi <[email protected]>
wrote:

> ...
>>
>
> Thanks, that brought me a long further, but now there seems to be an error
> with using the libavcodec, I am using  ffmpeg-4.1.4-1.fc30-x86_64
>
> make[2]: Leaving directory '/root/guacamole-server-1.0.0/src/guacd'
> Making all in src/guacenc
> make[2]: Entering directory '/root/guacamole-server-1.0.0/src/guacenc'
>   CC       guacenc-buffer.o
>   CC       guacenc-cursor.o
>   CC       guacenc-display.o
>   CC       guacenc-display-buffers.o
>   CC       guacenc-display-image-streams.o
>   CC       guacenc-display-flatten.o
>   CC       guacenc-display-layers.o
>   CC       guacenc-display-sync.o
>   CC       guacenc-encode.o
>   CC       guacenc-ffmpeg-compat.o
>   CC       guacenc-guacenc.o
> guacenc.c: In function âmainâ:
> guacenc.c:79:5: error: âavcodec_register_allâ is deprecated
> [-Werror=deprecated-declarations]
>    79 |     avcodec_register_all();
>       |     ^~~~~~~~~~~~~~~~~~~~
> In file included from guacenc.c:27:
> /usr/include/ffmpeg/libavcodec/avcodec.h:4102:6: note: declared here
>  4102 | void avcodec_register_all(void);
>       |      ^~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:761: guacenc-guacenc.o] Error 1
> make[2]: Leaving directory '/root/guacamole-server-1.0.0/src/guacenc'
>

See: https://issues.apache.org/jira/browse/GUACAMOLE-638

As noted in JIRA, the above has been resolved for the upcoming 1.1.0
release. In the meantime, you can either build off git (if interested in
testing) or disable the guacenc part of the build by passing
"--disable-guacenc" to ./configure.

- Mike

Reply via email to