Re: guacamole-server compilation error
On Wednesday, January 12, 2022, 04:53:20 AM GMT+1, Mike Jumper wrote: > > Do you need guacenc? If not, you can disable that part of the build by > passing the "--disable-guacenc" option to the configure script. > > The above build issue is specific to guacenc and newer FFMpeg. It's > been fixed, but that fix is not part of 1.4.0: > https://issues.apache.org/jira/browse/GUACAMOLE-1330 Yes, I need that feature - it's really useful although I can live without it for a while. Nice to know that the GIT version compiles fine with newer ffmpeg versions. Thanks, Vieri - To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org
Re: guacamole-server compilation error
On Tue, Jan 11, 2022 at 2:12 PM Vieri wrote: > > Hi, > > When I try to build > https://apache.org/dyn/closer.lua/guacamole/1.4.0/source/guacamole-server-1.4.0.tar.gz?action=download > I get this error: > > x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..-Werror -Wall > -I../../src/libguac -O2 -pipe -c -o guacenc-instruction-cfill.o `test -f > 'instruction-cfill.c' || echo './'`instruction-cfill.c > ffmpeg-compat.c: In function ‘guacenc_avcodec_encode_video’: > ffmpeg-compat.c:140:5: error: ‘av_init_packet’ is deprecated > [-Werror=deprecated-declarations] > 140 | av_init_packet(); > | ^~ > In file included from /usr/include/libavcodec/bsf.h:30, > from /usr/include/libavcodec/avcodec.h:44, > from video.h:27, > from ffmpeg-compat.h:24, > from ffmpeg-compat.c:21: > /usr/include/libavcodec/packet.h:488:6: note: declared here > 488 | void av_init_packet(AVPacket *pkt); > | ^~ > > > I have ffmpeg-4.4.1. > > This is a part of the configure script output: > > > guacamole-server version 1.4.0 > >... >Services / tools: > > guacd .. yes > guacenc yes > guaclog yes > >FreeRDP plugins: /usr/lib64/freerdp2 >Init scripts: no >Systemd units: no > > Any clues? > Do you need guacenc? If not, you can disable that part of the build by passing the "--disable-guacenc" option to the configure script. The above build issue is specific to guacenc and newer FFMpeg. It's been fixed, but that fix is not part of 1.4.0: https://issues.apache.org/jira/browse/GUACAMOLE-1330 - Mike - To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org
guacamole-server compilation error
Hi, When I try to build https://apache.org/dyn/closer.lua/guacamole/1.4.0/source/guacamole-server-1.4.0.tar.gz?action=download I get this error: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -Werror -Wall -I../../src/libguac -O2 -pipe -c -o guacenc-instruction-cfill.o `test -f 'instruction-cfill.c' || echo './'`instruction-cfill.c ffmpeg-compat.c: In function ‘guacenc_avcodec_encode_video’: ffmpeg-compat.c:140:5: error: ‘av_init_packet’ is deprecated [-Werror=deprecated-declarations] 140 | av_init_packet(); | ^~ In file included from /usr/include/libavcodec/bsf.h:30, from /usr/include/libavcodec/avcodec.h:44, from video.h:27, from ffmpeg-compat.h:24, from ffmpeg-compat.c:21: /usr/include/libavcodec/packet.h:488:6: note: declared here 488 | void av_init_packet(AVPacket *pkt); | ^~ I have ffmpeg-4.4.1. This is a part of the configure script output: guacamole-server version 1.4.0 Library status: freerdp2 yes pango ... yes libavcodec .. yes libavformat.. yes libavutil ... yes libssh2 . yes libssl .. yes libswscale .. yes libtelnet ... yes libVNCServer yes libvorbis ... yes libpulse yes libwebsockets ... yes libwebp . yes wsock32 . no Protocol support: Kubernetes yes RDP ... yes SSH ... yes Telnet yes VNC ... yes Services / tools: guacd .. yes guacenc yes guaclog yes FreeRDP plugins: /usr/lib64/freerdp2 Init scripts: no Systemd units: no Any clues? Vieri - To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org For additional commands, e-mail: user-h...@guacamole.apache.org