I had reported that earlier, but adding that allowed me to compile for x64 as well.
--Steve From: Borkowski, Dominik <d...@vt.edu> Date: Tuesday, April 8, 2025 at 10:37 AM To: user@guacamole.apache.org <user@guacamole.apache.org> Subject: staging/1.6.0 compile errors [warnings] while building container image for guacamole-server Hello, Not sure if this is specific to ARM64 platform we build it on, but when compiling the server component we get these errors: 124. 5 make[3]: Entering directory '/tmp/guacamole-server/src/protocols/rdp' 124. 5 Making all in . 124. 5 make[4]: Hello, Not sure if this is specific to ARM64 platform we build it on, but when compiling the server component we get these errors: 124.5 make[3]: Entering directory '/tmp/guacamole-server/src/protocols/rdp' 124.5 Making all in . 124.5 make[4]: Entering directory '/tmp/guacamole-server/src/protocols/rdp' 124.5 CC plugins/guac-common-svc/libguac_common_svc_client_la-guac-common-svc.lo 124.6 In file included from /opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/client/rdpgfx.h:28, 124.6 from /opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/gdi/gdi.h:34, 124.6 from /opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/freerdp.h:35, 124.6 from ./channels/common-svc.h:23, 124.6 from plugins/guac-common-svc/guac-common-svc.c:21: 124.6 /opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/codecs.h:93:9: error: 'codecs_free' is deprecated: [since 3.6.0] Use freerdp_client_codecs_free [-Werror=deprecated-declarations] 124.6 93 | WINPR_DEPRECATED_VAR("[since 3.6.0] Use freerdp_client_codecs_new", 124.6 | ^~~~~~~~~~~~~~~~~~~~ 124.6 In file included from /opt/guacamole/lib/pkgconfig/../../include/winpr3/winpr/winpr.h:22, 124.6 from /opt/guacamole/lib/pkgconfig/../../include/winpr3/winpr/stream.h:26, 124.6 from /opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/freerdp.h:25: 124.6 /opt/guacamole/lib/pkgconfig/../../include/freerdp3/freerdp/codecs.h:91:47: note: declared here 124.6 91 | FREERDP_API void codecs_free(rdpCodecs* codecs)); 124.6 | ^~~~~~~~~~~ 124.6 /opt/guacamole/lib/pkgconfig/../../include/winpr3/winpr/platform.h:497:41: note: in definition of macro 'WINPR_DEPRECATED_VAR' 124.6 497 | #define WINPR_DEPRECATED_VAR(text, obj) obj __attribute__((deprecated(text))) 124.6 | ^~~ 124.6 cc1: all warnings being treated as errors 124.6 make[4]: Leaving directory '/tmp/guacamole-server/src/protocols/rdp' 124.6 make[4]: *** [Makefile:1409: plugins/guac-common-svc/libguac_common_svc_client_la-guac-common-svc.lo] Error 1 124.6 make[3]: *** [Makefile:1463: all-recursive] Error 1 124.6 make[3]: Leaving directory '/tmp/guacamole-server/src/protocols/rdp' 124.6 make[2]: *** [Makefile:761: all] Error 2 124.6 make[2]: Leaving directory '/tmp/guacamole-server/src/protocols/rdp' 124.6 make[1]: *** [Makefile:545: all-recursive] Error 1 124.6 make[1]: Leaving directory '/tmp/guacamole-server' 124.6 make: *** [Makefile:465: all] Error 2 As a quick workaround it I’ve added '-Wno-error=deprecated-declarations’ to the list of CFLAGS in src/guacd-docker/bin/build-all.sh, which allowed us to compile it cleanly. I’m wondering if anybody else has seen these errors The build process for guacamole-server we use is fairly simple, and essentially involves 'docker build --platform linux/arm64 --rm=true -t guacamole-1.6.0-staging .' Thanks! — dom