Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-217

guacenc build fails on Ubuntu 16.10

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.9.12-incubating
    • Fix Version/s: 0.9.12-incubating
    • Component/s: guacenc
    • Labels:
      None
    • Environment:
      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

            Activity

              People

              • Assignee:
                mjumper Mike Jumper
                Reporter:
                marcelmah Marcel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: