Alon Friedman wrote:

> I tried to compile imap-2006a  and imap-2006b.DEV.SNAP-0609291750. I
> received the following errors. I was able to compile imap2004 without
> any problems.
> 
> The system is Solaris 10, OpenSSL 0.9.8d and gcc version 3.4.6
[snip]
> `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
> In file included from osdep.c:31:
> osdep.h:74: error: conflicting types for 'alphasort'
> /usr/include/dirent.h:94: error: previous declaration of 'alphasort' was
> here
> osdep.h:74: error: conflicting types for 'alphasort'
> /usr/include/dirent.h:94: error: previous declaration of 'alphasort' was
[snip]

That's caused by a change that was needed for older Solaris versions.

For a quick fix you may comment the declaration of alphasort() in 
src/osdep/unix/os_soln.h (and perhaps src/osdep/unix/os_solo.h).

A more permanent fix would be to check for the existence of the two functions 
that caused problems, scandir() and alphasort().
-- 
René Berber

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to