[ 
https://issues.apache.org/jira/browse/GUACAMOLE-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884599#comment-15884599
 ] 

Michael Jumper commented on GUACAMOLE-205:
------------------------------------------

OK - I've managed to reproduce the error. On the platform in question, the 
{{CRYPTO_set_id_callback()}} and {{CRYPTO_set_locking_callback()}} functions do 
not exist, but are defined as macros which do nothing (for compatibility). 
Because these macros do nothing, those lines may as well be commented out, and 
GCC (correctly) determines that those static functions are never used.

> Compile error in libguac_common_ssh
> -----------------------------------
>
>                 Key: GUACAMOLE-205
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-205
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-server, SSH
>    Affects Versions: 0.9.11-incubating
>         Environment: Linux 4.9.0-1-686-pae #1 SMP Debian 4.9.2-2 (2017-01-12) 
> i686 GNU/Linux
>            Reporter: Mark Goldey
>
> I have compiled and used guacamole since v. 9.8 or so.  I just downloaded the 
> source for 9.11-incubating.  ./configure works fine.  Make terminates with 
> the following error:
> {code:none}
> make[2]: Entering directory 
> '/home/xxx/guacamole-server-0.9.11-incubating/src/common-ssh'
>   CC       libguac_common_ssh_la-guac_sftp.lo
>   CC       libguac_common_ssh_la-guac_ssh.lo
> guac_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() {
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> guac_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:479: recipe for target 'libguac_common_ssh_la-guac_ssh.lo' failed
> make[2]: *** [libguac_common_ssh_la-guac_ssh.lo] Error 1
> make[2]: Leaving directory 
> '/home/mark/guacamole-server-0.9.11-incubating/src/common-ssh'
> Makefile:486: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/xxx/guacamole-server-0.9.11-incubating'
> Makefile:418: recipe for target 'all' failed
> make: *** [all] Error 2
> {code}
> Make files is not my strong suit, but it seems like there's a problem with 
> the configure script?  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to