R Aspinwall created GUACAMOLE-2146:
--------------------------------------

             Summary: Configuring Guacamole 1.6.0 with Freerdp3
                 Key: GUACAMOLE-2146
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-2146
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-server
    Affects Versions: 1.6.0
         Environment: Building a new Guacamole Server using Debian 13.1.0 
performed a minimal install and then added packages for nginx, openssl3, 
freerdp3-dev (3.15.0), tomcat10 installed prerequise librarys for guacamole 
1.6.0.
            Reporter: R Aspinwall


Downloaded Debian 13 packages, downloaded gaucamole 1.6.0 using *wget 
[https://downloads.apache.org/guacamole/1.6.0/source/guacamole-server-1.6.0.tar.gz]*

*tar -xvzf* *guacamole-server-1.6.0.tar.gz*

*cd guacamole-server-1.6.0*
*then ran* *./configure --with-init-dir=/etc/init.d*  
**

------------------------------------------------
guacamole-server version 1.6.0
------------------------------------------------

   Library status:

     freerdp ............. yes (3.x)
     pango ............... yes
     libavcodec .......... yes
     libavformat ......... yes
     libavutil ........... yes
     libssh2 ............. yes
     libssl .............. yes
     libswscale .......... no
     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 .... no
      guaclog .... yes

   FreeRDP plugins: 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../lib/x86_64-linux-gnu/freerdp3
   Init scripts: /etc/init.d
   Systemd units: no

Type "make" to compile guacamole-server.

When I run make, the compilation succeeds until the following error occurs.

......

make  all-recursive
make[3]: Entering directory 
'/home/trainer/guacamole-server-1.6.0/src/protocols/rdp'
Making all in .
make[4]: Entering directory 
'/home/trainer/guacamole-server-1.6.0/src/protocols/rdp'
  CC       
plugins/guac-common-svc/libguac_common_svc_client_la-guac-common-svc.lo
In file included from 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/client/rdpgfx.h:28,
                 from 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/gdi/gdi.h:34,
                 from 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/freerdp.h:35,
                 from ./channels/common-svc.h:23,
                 from plugins/guac-common-svc/guac-common-svc.c:21:
/usr/lib/x86_64-linux-gnu/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]
   93 |         WINPR_DEPRECATED_VAR("[since 3.6.0] Use 
freerdp_client_codecs_new",
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3/winpr/winpr.h:22,
                 from 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3/winpr/stream.h:26,
                 from 
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/freerdp.h:25:
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/freerdp3/freerdp/codecs.h:91:47:
 note: declared here
   91 |                              FREERDP_API void codecs_free(rdpCodecs* 
codecs));
      |                                               ^~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/pkgconfig/../../../include/winpr3/winpr/platform.h:497:41:
 note: in definition of macro 'WINPR_DEPRECATED_VAR'
  497 | #define WINPR_DEPRECATED_VAR(text, obj) obj 
__attribute__((deprecated(text)))
      |                                         ^~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1419: 
plugins/guac-common-svc/libguac_common_svc_client_la-guac-common-svc.lo] Error 1
make[4]: Leaving directory 
'/home/trainer/guacamole-server-1.6.0/src/protocols/rdp'
make[3]: *** [Makefile:1473: all-recursive] Error 1
make[3]: Leaving directory 
'/home/trainer/guacamole-server-1.6.0/src/protocols/rdp'
make[2]: *** [Makefile:767: all] Error 2
make[2]: Leaving directory 
'/home/trainer/guacamole-server-1.6.0/src/protocols/rdp'
make[1]: *** [Makefile:551: all-recursive] Error 1
make[1]: Leaving directory '/home/trainer/guacamole-server-1.6.0'
make: *** [Makefile:471: all] Error 2
{*}{*}{*}{*}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to