peterzhou created GUACAMOLE-2053:
------------------------------------
Summary: compile error
Key: GUACAMOLE-2053
URL: https://issues.apache.org/jira/browse/GUACAMOLE-2053
Project: Guacamole
Issue Type: Bug
Components: guacamole
Affects Versions: 1.6.0
Reporter: peterzhou
centos 7.9 / gcc (GCC) 8.3.1/ freerdp 2.11.7/ffmpeg 5.16
compile error:
-MT libguac_client_rdp_la-fs.lo -MD -MP -MF .deps/libguac_client_rdp_la-fs.Tpo
-c -o libguac_client_rdp_la-fs.lo `test -f 'fs.c' || echo './'`fs.c
fs.c: In function 'guac_rdp_fs_open':
fs.c:364:15: error: implicit declaration of function
'guac_pool_next_int_below_or_die'; did you mean 'guac_pool_next_int'?
[-Werror=implicit-function-declaration]
file_id = guac_pool_next_int_below_or_die(fs->file_id_pool,
GUAC_RDP_FS_MAX_FILES);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
guac_pool_next_int
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1197: libguac_client_rdp_la-fs.lo] Error 1
make[4]: Leaving directory '/tmp/guacamole-server-main/src/protocols/rdp'
make[3]: *** [Makefile:1391: all-recursive] Error 1
make[3]: Leaving directory '/tmp/guacamole-server-main/src/protocols/rdp'
make[2]: *** [Makefile:694: all] Error 2
make[2]: Leaving directory '/tmp/guacamole-server-main/src/protocols/rdp'
make[1]: *** [Makefile:529: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guacamole-server-main'
make: *** [Makefile:448: all] Error 2
--
This message was sent by Atlassian Jira
(v8.20.10#820010)