Re: Α compilation problem exists with Sun studio 12

Aki Tuomi aki.tuomi at dovecot.fi
Wed Nov 2 11:31:29 UTC 2016



On 02.11.2016 13:30, Limperis Antonis wrote:
> Hello,
>
> I tried  to compile Dovecot  2.2.26.0 with Sun Studio 12.0 on a Sun Solaris 10 x86 machine,   but an error occurred related to src/lib-ldap/ldap-compare.c.
>
> "ldap-compare.c", line 112: void function cannot return value
> cc: acomp failed for ldap-compare.c
> *** Error code 1
> make: Fatal error: Command failed for target `ldap-compare.lo'
>
> The problem fixed with the following changes on this file:
>
> --- dovecot-2.2.26.0/src/lib-ldap/ldap-compare.c.orig   Wed Nov  2 06:51:27 2016
> +++ dovecot-2.2.26.0/src/lib-ldap/ldap-compare.c        Wed Nov  2 06:24:02 2016
> @@ -109,7 +109,9 @@
>          req->send_request_cb = ldap_compare_send;
>          req->timeout_secs = input->timeout_secs;
>   
> -       return ldap_connection_queue_request(conn, req);
> +//     return ldap_connection_queue_request(conn, req);
> +       ldap_connection_queue_request(conn, req);
> +       return;
>   }
>
> You could see it in the next release of dovecot;
> Thank You.
> Antonis

Hi!

Thank you.

Aki Tuomi
Dovecot oy


More information about the dovecot mailing list