Hello,
I'm having problems in building courier-imap-4.3.0 on solaris 10 (Version Generic_120011-14 64-bit) very similar to this other case: http://sourceforge.net/mailarchive/message.php?msg_id=20070130090031.GA12431%40uk.tiscali.com

I'v re-built GCC and got the version:
utapau [52] [~] > gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../gcc-3.4.6/configure
Thread model: posix
gcc version 3.4.6

I've previously built authlib-0.60.2 with:
configure \
   --with-waitfunc=wait3 \
   --with-mailuser=courier \
   --with-mailgroup=mail \
   --without-authvchkpw \
   --without-authuserdb \
   --without-authpam \
   --without-authldap \
   --without-authpwd \
   --with-authshadow \
   --without-authpgsql \
   --with-authmysql \
   --with-mysql-libs=/usr/local/mysql/lib/ \
   --with-mysql-includes=/usr/local/mysql/include/ \
   --without-authcustom \
   --without-authpipe \
   --with-ssl

had to remove -xarch and -mt CFLAGS parameters (not supported by GCC), make ok and installed:

Then configuring courier-imap-4.3.0 with:
./configure --with-waitfunc=wait3 --with-mailuser=courier \
   --with-mailgroup=mail \
   --without-authvchkpw \
   --without-authuserdb \
   --without-authpam \
   --without-authldap \
   --without-authpwd \
   --with-authshadow \
   --without-authpgsql \
   --with-authmysql \
   --with-mysql-libs=/usr/local/mysql/lib/ \
   --with-mysql-includes=/usr/local/mysql/include/ \
   --without-authcustom \
   --without-authpipe \
  --with-ssl

no changes on Makefile, -> make
and at imap subdir build i get allways the same problem regardless of CFLAGS variants of gcc versions

make[2]: Entering directory `/wrk/qmail/courier-imap-4.3.0/imap'
make  all-am
make[3]: Entering directory `/wrk/qmail/courier-imap-4.3.0/imap'
gcc -DHAVE_CONFIG_H -I. -I.. -I./.. -Wall -g -O2 -MT mailboxlist.o -MD -MP -MF .deps/mailboxlist.Tpo -c -o mailboxlist.o mailboxlist.c
mailboxlist.c:91: error: conflicting types for 'maildir_shared_index_file'
../maildir/maildirnewshared.h:124: error: previous declaration of 'maildir_shared_index_file' was here
mailboxlist.c:91: error: conflicting types for 'maildir_shared_index_file'
../maildir/maildirnewshared.h:124: error: previous declaration of 'maildir_shared_index_file' was here
mailboxlist.c:140: error: conflicting types for 'mailbox_scan'
mailboxlist.h:32: error: previous declaration of 'mailbox_scan' was here
mailboxlist.c:140: error: conflicting types for 'mailbox_scan'
mailboxlist.h:32: error: previous declaration of 'mailbox_scan' was here
mailboxlist.c: In function `list_newshared_cb':
mailboxlist.c:663: warning: initialization discards qualifiers from pointer target type mailboxlist.c:664: warning: initialization discards qualifiers from pointer target type mailboxlist.c:665: warning: initialization discards qualifiers from pointer target type
mailboxlist.c: In function `list_newshared_skipcb':
mailboxlist.c:793: warning: passing arg 5 of `list_newshared_shortcut' discards qualifiers from pointer target type mailboxlist.c:793: warning: passing arg 6 of `list_newshared_shortcut' discards qualifiers from pointer target type
mailboxlist.c: In function `do_mailbox_list':
mailboxlist.c:890: warning: passing arg 2 of `maildir_list_sharable' from incompatible pointer type mailboxlist.c:900: warning: passing arg 2 of `maildir_list_shared' from incompatible pointer type
mailboxlist.c: At top level:
mailboxlist.c:70: warning: 'rcsid' defined but not used
make[3]: *** [mailboxlist.o] Error 1
make[3]: Leaving directory `/wrk/qmail/courier-imap-4.3.0/imap'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/wrk/qmail/courier-imap-4.3.0/imap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wrk/qmail/courier-imap-4.3.0'
make: *** [all] Error 2

Thanks for any advice.

Kind regards,

--
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to