Hi Daniel,

If I may, you issue here a common compilation error. It seems that the flag 
-Werror as been set in the Makefile. You may suppress the error removing the 
flag in the Makefile.

Regards.

Valentin
> On 31 Jul 2017, at 22:20, Daniel Nguyen <[email protected]> wrote:
> 
> Hi :)
> 
> Guacamole server 0.9.12-incubating does not compile after upgrading debian 
> jessie to debian stretch. It compiled before on jessie.
> 
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but 
> not used [-Werror=unused-function]
> static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> 
> 
> 
> ------------------------------------------------
> guacamole-server version 0.9.12-incubating
> ------------------------------------------------
> 
>   Library status:
> 
>     freerdp ............. yes
>     pango ............... yes
>     libavcodec .......... yes
>     libavutil ........... yes
>     libssh2 ............. yes
>     libssl .............. yes
>     libswscale .......... yes
>     libtelnet ........... yes
>     libVNCServer ........ yes
>     libvorbis ........... yes
>     libpulse ............ yes
>     libwebp ............. yes
> 
>   Protocol support:
> 
>      RDP ....... yes
>      SSH ....... yes
>      Telnet .... yes
>      VNC ....... yes
> 
>   Services / tools:
> 
>      guacd ...... yes
>      guacenc .... yes
> 
>   Init scripts: no
> 
> Type "make" to compile guacamole-server.
> 
> lucky:~/download/guacamole-server-0.9.12-incubating# make
> make  all-recursive
> make[1]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating'
> Making all in src/libguac
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguac'
> Making all in src/common
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common'
> Making all in src/libguacd
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/libguacd'
> Making all in tests
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> make[2]: Nie ma nic do zrobienia w 'all'.
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/tests'
> Making all in src/common-ssh
> make[2]: Wejście do katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
>  CC       libguac_common_ssh_la-ssh.lo
> ssh.c:89:22: error: ‘guac_common_ssh_openssl_id_callback’ defined but not 
> used [-Werror=unused-function]
> static unsigned long guac_common_ssh_openssl_id_callback() {
>                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ssh.c:70:13: error: ‘guac_common_ssh_openssl_locking_callback’ defined but 
> not used [-Werror=unused-function]
> static void guac_common_ssh_openssl_locking_callback(int mode, int n,
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> Makefile:488: polecenia dla obiektu 'libguac_common_ssh_la-ssh.lo' nie 
> powiodły się
> make[2]: *** [libguac_common_ssh_la-ssh.lo] Błąd 1
> make[2]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating/src/common-ssh'
> Makefile:494: polecenia dla obiektu 'all-recursive' nie powiodły się
> make[1]: *** [all-recursive] Błąd 1
> make[1]: Opuszczenie katalogu 
> '/root/download/guacamole-server-0.9.12-incubating'
> Makefile:426: polecenia dla obiektu 'all' nie powiodły się
> make: *** [all] Błąd 2
> 
> Regards
> Daniel Nguyen

Reply via email to