Cyrus 2.2.3 on Solaris 8 with Sun Studio 7 Compiler: imapopts.c,
invalid cast expression
Rob Siemborski
rjs3 at andrew.cmu.edu
Tue Apr 27 11:36:24 EDT 2004
This should be fixed in CVS, but if you want to stick with 2.2.3, use GCC
instead.
-Rob
On Tue, 27 Apr 2004, Bernd Nies wrote:
> Hi,
>
> I'm trying to compile Cyrus IMAP 2.2.3 on Solaris 8 using Sun Studio 7
> Compiler.
>
> Compilation Options:
>
> PATH=/opt/studio/7/bin:$PATH
> CC=cc
> CFLAGS=-O
> CXX=CC
> CXXFLAGS=-O2
> CPPFLAGS="-I/opt/adnmail/db/include -I/opt/adnmail/openssl/include
> -I/opt/adnmail/cyrus/include"
> LDFLAGS="-R/opt/adnmail/db/lib -R/opt/adnmail/openssl/lib
> -R/opt/adnmail/cyrus/lib"
> LDFLAGS="-L/opt/adnmail/db/lib -L/opt/adnmail/openssl/lib
> -L/opt/adnmail/cyrus/lib $LDFLAGS"
>
> ./configure --prefix=/opt/adnmail/cyrus \
> --with-auth=unix \
> --with-cyrus-prefix=/opt/adnmail/cyrus \
> --with-bdb=/opt/adnmail/db \
> --with-dbdir=/opt/adnmail/db \
> --with-openssl=/opt/adnmail/openssl \
> --with-sasl=/opt/adnmail/cyrus \
> --with-ldap=/opt/adnmail/openldap \
> --with-perl=/usr/bin/perl \
> --disable-krb4 \
> --disable-cram \
> --disable-gssapi \
> --without-krb \
> --with-statedir=/opt/adnmail/cyrus/state
>
>
>
> The errors I get:
>
> ### Making all in /opt/adnmail/src/cyrus-imapd-2.2.3/lib
> make[1]: Entering directory `/opt/adnmail/src/cyrus-imapd-2.2.3/lib'
> cc -c -I.. -I/opt/adnmail/db/include -I/opt/adnmail/openssl/include
> -I/opt/adnmail/cyrus/include -I/opt/adnmail/openssl/include -I./../et
> -I/opt/adnmail/cyrus/include -DHAVE_CONFIG_H -I. -I. -O \
> imapopts.c
> "imapopts.c", line 35: invalid cast expression
> "imapopts.c", line 35: initialization type mismatch
> "imapopts.c", line 36: invalid cast expression
> "imapopts.c", line 36: initialization type mismatch
> "imapopts.c", line 37: invalid cast expression
> "imapopts.c", line 37: initialization type mismatch
> "imapopts.c", line 38: invalid cast expression
> "imapopts.c", line 38: initialization type mismatch
> "imapopts.c", line 39: invalid cast expression
> "imapopts.c", line 39: initialization type mismatch
> "imapopts.c", line 40: invalid cast expression
> ....
>
> Any help would be appreciated.
>
> Regards,
> Bernd
>
> ---
> Cyrus Home Page: http://asg.web.cmu.edu/cyrus
> Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list