Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
0.9.12-incubating
-
None
-
Ubuntu 16.10 fully updated running on XenServer 7
Description
On Ubuntu 16.10, building guacamole-server from current git fails when compiling guacenc:
... 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$
Attachments
Issue Links
- relates to
-
GUACAMOLE-167 avcodec_encode_video2() is deprecated
- Resolved