Cyrus SASL + Compile

Alexey Melnikov alexey.melnikov at isode.com
Tue Sep 8 13:15:26 EDT 2009


Hiro Lalwani wrote:

> Hi All,

Hi, 

> I have downloaded the Cyrus-SASL-2.1.23.
>  
> I am seeing below errors while initiating the "gmake".
>  
> -------------------------------------------------------------------------------------------------------------------------
> "common.c", line 500: error #2852: expression must be a pointer to a 
> complete
>           object type
>               next_buf = last_invec.iov_base + last_invec.iov_len;
>                          ^
> "common.c", line 516: error #2852: expression must be a pointer to a 
> complete
>           object type
>                   next_buf = last_invec.iov_base + last_invec.iov_len;
>
> -------------------------------------------------------------------------------------------------------------

I wonder if "last_invec.iov_base" is defined as "void *". Try changing 
each of the two "last_invec.iov_base" to "(char *)last_invec.iov_base".  

> Could any of please tell me, How can I resolve this?
>
> -- 
> thanks & regards
> Hiro Lalwani




More information about the Cyrus-sasl mailing list