[
https://issues.apache.org/jira/browse/GUACAMOLE-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884506#comment-15884506
]
Michael Jumper commented on GUACAMOLE-217:
------------------------------------------
The functions which were deprecated necessitating GUACAMOLE-167 were marked as
such for libavcodec 3.1. Prior to 3.1, those functions were not deprecated.
> guacenc build fails on Ubuntu 16.10
> -----------------------------------
>
> Key: GUACAMOLE-217
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-217
> Project: Guacamole
> Issue Type: Bug
> Components: guacenc
> Affects Versions: 0.9.12-incubating
> Environment: Ubuntu 16.10 fully updated running on XenServer 7
> Reporter: Marcel
> Assignee: Michael Jumper
> Priority: Blocker
> Fix For: 0.9.12-incubating
>
>
> On Ubuntu 16.10, building guacamole-server from current git fails when
> compiling guacenc:
> {code:none}
> ...
> make[2]: Entering directory
> '/home/guacamole/incubator-guacamole-server/src/guacenc'
> CC guacenc-buffer.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
> ffmpeg-compat.c: In function ‘guacenc_avcodec_encode_video’:
> ffmpeg-compat.c:131:18: error: implicit declaration of function
> ‘avcodec_send_frame’ [-Werror=implicit-function-declaration]
> int result = avcodec_send_frame(video->context, frame);
> ^~
> ffmpeg-compat.c:146:12: error: implicit declaration of function
> ‘avcodec_receive_packet’ [-Werror=implicit-function-declaration]
> while (avcodec_receive_packet(video->context, &packet) == 0) {
> ^~
> cc1: all warnings being treated as errors
> Makefile:729: recipe for target 'guacenc-ffmpeg-compat.o' failed
> make[2]: *** [guacenc-ffmpeg-compat.o] Error 1
> make[2]: Leaving directory
> '/home/guacamole/incubator-guacamole-server/src/guacenc'
> Makefile:495: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/guacamole/incubator-guacamole-server'
> Makefile:427: recipe for target 'all' failed
> make: *** [all] Error 2
> guacamole@guacamole:~/incubator-guacamole-server$
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)