Doesn't compile on Solaris 9 - RE: Cyrus IMAPd 2.4.2 Released
    Rosenbaum, Larry M. 
    rosenbaumlm at ornl.gov
       
    Thu Oct 28 11:07:58 EDT 2010
    
    
  
> From: Jeroen van Meeuwen (Kolab Systems) [mailto:vanmeeuwen at kolabsys.com]
> Sent: Wednesday, October 27, 2010 3:07 PM
> To: info-cyrus at lists.andrew.cmu.edu
> Cc: Rosenbaum, Larry M.
> Subject: Re: Doesn't compile on Solaris 9 - RE: Cyrus IMAPd 2.4.2 Released
> 
> Rosenbaum, Larry M. wrote:
> > ### Making all in /usr/local/src/cyrus/cyrus-imapd-2.4.2/lib
> > gmake[1]: Entering directory `/usr/local/src/cyrus/cyrus-imapd-
> 2.4.2/lib'
> > ...
> > gcc -c -I..  -I/usr/local/ssl/include -I/include -I../com_err/et
> > -I/usr/local/include -DHAVE_CONFIG_H  -g -O2  \ crc32.c
> > In file included from crc32.c:5:
> > crc32.h:8:20: stdint.h: No such file or directory
> > gmake[1]: *** [crc32.o] Error 1
> >
> > Running on Solaris 9 Sparc
> >
> 
> Could you tell me whether you have inttypes.h on the Solaris 9 system?
Yes.
> If that turns out to be the case, could you try compiling with the
> attached
> patch applied and let me know how that works out for you? Don't forget to
> remove sys/stdint.h ;-)
I was able to compile successfully with the patch.
BTW, there were some warnings, if anybody is interested in cleaning them up:
imclient.c:1955: warning: assignment discards qualifiers from pointer target type
tls.c:990: warning: assignment discards qualifiers from pointer target type
tls.c:1340: warning: assignment discards qualifiers from pointer target type
imtest.c:731: warning: assignment discards qualifiers from pointer target type
They all involve this statement:
    cipher = SSL_get_current_cipher(imclient->tls_conn);
    
    
More information about the Info-cyrus
mailing list