You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Khoe, Yonathan" <Yo...@unt.edu> on 2024/02/07 17:21:20 UTC
RE: [EXT] Re: server fails to compile
Hi Nick,
When will we be seeing the 1.6.0 release? I am also experiencing this compile error that I rather not circumvent (per Vincent Sherwood’s method) if it would lead to further complication later down the line.
Thanks,
Yonathan Khoe
From: Nick Couchman <vn...@apache.org>
Sent: Friday, January 26, 2024 7:02 PM
To: user@guacamole.apache.org
Subject: [EXT] Re: server fails to compile
On Fri, Jan 26, 2024 at 6:40 PM Jim Ham <ji...@porcine.com>> wrote:
Guacamole 1.5.4, from the tar on the website. I did the ./configure and
then ./make. Many files compile just fine, but the task ends with the
following error:
<code>
CC guacenc-video.o
video.c: In function ‘guacenc_video_alloc’:
video.c:64:22: error: assignment discards ‘const’ qualifier from pointer
target type [-Werror=discarded-qualifiers]
64 | container_format = container_format_context->oformat;
| ^
video.c:67:22: error: initialization discards ‘const’ qualifier from
pointer target type [-Werror=discarded-qualifiers]
67 | AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
<\code>
I'm compiling on a Raspberry Pi 4. GCC gives me the following version:
gcc (Raspbian 12.2.0-14+rpi1) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
Any suggestions?
This has already been fixed in the Git code in the master branch, targeted for version 1.6.0:
https://issues.apache.org/jira/browse/GUACAMOLE-1714
You can back-port the patch to your source tree code if you'd like to fix it immediately:
https://patch-diff.githubusercontent.com/raw/apache/guacamole-server/pull/399.patch
-Nick
Re: [EXT] Re: server fails to compile
Posted by Nick Couchman <vn...@apache.org>.
On Wed, Feb 7, 2024 at 12:22 PM Khoe, Yonathan <Yo...@unt.edu>
wrote:
> Hi Nick,
>
> When will we be seeing the 1.6.0 release? I am also experiencing this
> compile error that I rather not circumvent (per Vincent Sherwood’s method)
> if it would lead to further complication later down the line.
>
>
We don't have a date for it, yet - we're working the 1.5.5 bugfix release,
and then maybe/hopefully start closing things out for 1.6.0, but I would
say several weeks out at the very earliest.
-Nick
>