guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Jumper (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GUACAMOLE-217) ffmpeg-compat.c:131:18: error: implicit declaration of function ‘avcodec_send_frame’ [-Werror=implicit-function-declaration]
Date Fri, 24 Feb 2017 01:37:44 GMT

     [ https://issues.apache.org/jira/browse/GUACAMOLE-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Jumper updated GUACAMOLE-217:
-------------------------------------
    Description: 
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}


  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 ‘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}



> ffmpeg-compat.c:131:18: error: implicit declaration of function ‘avcodec_send_frame’
[-Werror=implicit-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 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)

Mime
View raw message