Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4182D200C36 for ; Fri, 24 Feb 2017 02:37:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3E8D1160B67; Fri, 24 Feb 2017 01:37:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 55CA2160B64 for ; Fri, 24 Feb 2017 02:37:54 +0100 (CET) Received: (qmail 80970 invoked by uid 500); 24 Feb 2017 01:37:53 -0000 Mailing-List: contact commits-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@guacamole.incubator.apache.org Delivered-To: mailing list commits@guacamole.incubator.apache.org Received: (qmail 80961 invoked by uid 99); 24 Feb 2017 01:37:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Feb 2017 01:37:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1031318E5ED for ; Fri, 24 Feb 2017 01:37:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id SbVes-1HgmPf for ; Fri, 24 Feb 2017 01:37:51 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5836D5FAFB for ; Fri, 24 Feb 2017 01:37:51 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 89F65E086E for ; Fri, 24 Feb 2017 01:37:44 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 28E3724132 for ; Fri, 24 Feb 2017 01:37:44 +0000 (UTC) Date: Fri, 24 Feb 2017 01:37:44 +0000 (UTC) From: "Michael Jumper (JIRA)" To: commits@guacamole.incubator.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(GUACAMOLE-217)_ffmpeg?= =?utf-8?Q?-compat.c:131:18:_error:_implicit_decla?= =?utf-8?Q?ration_of_function_=E2=80=98avcodec=5Fsend=5Fframe=E2=80=99?= =?utf-8?Q?_[-Werror=3Dimplicit-function-declaration]?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 24 Feb 2017 01:37:55 -0000 [ https://issues.apache.org/jira/browse/GUACAMOLE-217?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Jumper updated GUACAMOLE-217: ------------------------------------- Description:=20 On Ubuntu 16.10, building guacamole-server from current git fails when comp= iling 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 =E2=80=98guacenc_avcodec_encode_video=E2=80=99= : ffmpeg-compat.c:131:18: error: implicit declaration of function =E2=80=98av= codec_send_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] int result =3D avcodec_send_frame(video->context, frame); ^~ ffmpeg-compat.c:146:12: error: implicit declaration of function =E2=80=98av= codec_receive_packet=E2=80=99 [-Werror=3Dimplicit-function-declaration] while (avcodec_receive_packet(video->context, &packet) =3D=3D 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} was: On Ubuntu 16.10, building guacamole-server from current git 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 =E2=80=98guacenc_avcodec_encode_video=E2=80=99= : ffmpeg-compat.c:131:18: error: implicit declaration of function =E2=80=98av= codec_send_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] int result =3D avcodec_send_frame(video->context, frame); ^~ ffmpeg-compat.c:146:12: error: implicit declaration of function =E2=80=98av= codec_receive_packet=E2=80=99 [-Werror=3Dimplicit-function-declaration] while (avcodec_receive_packet(video->context, &packet) =3D=3D 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} > ffmpeg-compat.c:131:18: error: implicit declaration of function =E2=80=98= avcodec_send_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] > -------------------------------------------------------------------------= --------------------------------------------------- > > Key: GUACAMOLE-217 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-217 > Project: Guacamole > Issue Type: Bug > Components: guacamole-server > Affects Versions: 0.9.12-incubating > Environment: Ubuntu 16.10 fully updated running on XenServer 7 > Reporter: Marcel > Priority: Blocker > > On Ubuntu 16.10, building guacamole-server from current git fails when co= mpiling guacenc: > {code:none} > ... > make[2]: Entering directory '/home/guacamole/incubator-guacamole-server/s= rc/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 =E2=80=98guacenc_avcodec_encode_video=E2=80= =99: > ffmpeg-compat.c:131:18: error: implicit declaration of function =E2=80=98= avcodec_send_frame=E2=80=99 [-Werror=3Dimplicit-function-declaration] > int result =3D avcodec_send_frame(video->context, frame); > ^~ > ffmpeg-compat.c:146:12: error: implicit declaration of function =E2=80=98= avcodec_receive_packet=E2=80=99 [-Werror=3Dimplicit-function-declaration] > while (avcodec_receive_packet(video->context, &packet) =3D=3D 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/sr= c/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)