Hello,

I am using Alpine Linux 3.21.3 as the base image to build a Docker image for 
Guacd 1.5.3. During the compilation and installation of FreeRDP, I encountered 
the following error:



[ 57%] Building C object libfreerdp/CMakeFiles/freerdp.dir/core/info.c.o
/root/FreeRDP/libfreerdp/core/info.c: In function 'rdp_read_info_null_string':
/root/FreeRDP/libfreerdp/core/info.c:88:39: error: initialization of 'const 
WCHAR *' {aka 'const short unsigned int *'} from incompatible pointer type 
'BYTE *' {aka 'unsigned char *'}
[-Wincompatible-pointer-types]
  88 |                 const WCHAR* domain = Stream_Pointer(s);
     |                                       ^~~~~~~~~~~~~~
make[2]: *** [libfreerdp/CMakeFiles/freerdp.dir/build.make:821: 
libfreerdp/CMakeFiles/freerdp.dir/core/info.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2546: libfreerdp/CMakeFiles/freerdp.dir/all] 
Error 2
make: *** [Makefile:156: all] Error 2



Based on the build logs, I found that FreeRDP version 2.11.7 is being used. The 
error appears to be related to GCC version compatibility, as I'm using GCC 14.2 
which may be too new for this version of FreeRDP.

Since my compilation environment cannot access the public network, all 
dependencies must be pre-downloaded, making trial-and-error approaches quite 
costly.

Could you please provide the recommended GCC versions for:

Guacd 1.5.3

Guacd 1.5.5

Guacd 1.6.0

Any guidance on compatible toolchain versions would be greatly appreciated.

Thank you for your help.



| |
Alex_Yin
|
|
[email protected]
|

Reply via email to