Hi,
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

thanks
alon

make gso
make[1]: Entering directory `/usr2/src/imap-2006a'
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[1]: Leaving directory `/usr2/src/imap-2006a'
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox'
EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4
EXTRASPECIALS='' BUILDTYPE=gso
make[1]: Entering directory `/usr2/src/imap-2006a'
Building c-client for gso...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make gso EXTRACFLAGS=''\
EXTRALDFLAGS=''\
EXTRADRIVERS='mbox'\
EXTRAAUTHENTICATORS=''\
PASSWDTYPE=std SSLTYPE=nopwd IP=4\

make[2]: Entering directory `/usr2/src/imap-2006a/c-client'
sh -c '(strings /lib/libc.a | grep getpassphrase > /dev/null) && ln -s
os_soln.h os_sol.h || ln -s os_solo.h os_sol.h'
strings: '/lib/libc.a': No such file
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox'
EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat
SPECIALS` OS=sol \
SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ACTIVEFILE=/usr/share/news/active \
RSHPATH=/usr/bin/rsh \
BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \
BASELDFLAGS="-lsocket -lnsl -lgen" \
RANLIB=true CC=gcc
make[3]: Entering directory `/usr2/src/imap-2006a/c-client'
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c
osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo gcc > CCTYPE
echo -g -O2 -pipe -fno-omit-frame-pointer '' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
-DMD5ENABLE=\""/etc/cram-md5.pwd"\" -DMAILSPOOL=\"/var/mail\" \
-DANONYMOUSHOME=\"/var/mail/anonymous\" \
-DACTIVEFILE=\"/usr/share/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
-DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo -lsocket -lnsl -lgen  > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o
utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o
fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o
tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;true c-client.a" >
ARCHIVE
echo sol > OSTYPE
./drivers mbox imap nntp pop3 mh mx mix mbx tenex mtx mmdf unix news phile dummy
./mkauths  ext md5 pla log
ln -s os_sol.h osdep.h
ln -s os_sol.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip4_unix.c ip_unix.c
sh -c '(test -f /usr/include/sys/statvfs.h -a sol != sc5 -a sol !=
sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c'
Standard password authentication
ln -s ckp_psx.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl
-DSSL_CERT_DIRECTORY=\"/usr/local/ssl/certs\"
-DSSL_KEY_DIRECTORY=\"/usr/local/ssl/certs\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/local/ssl/lib -lssl -lcrypto  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
Building OS-dependent module
If you get No such file error messages for files x509.h, ssl.h,
pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
is not installed on your system. Either install OpenSSL first
or build with command: make sol SSLTYPE=none
`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 here
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/usr2/src/imap-2006a/c-client'
make[2]: *** [gso] Error 2
make[2]: Leaving directory `/usr2/src/imap-2006a/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/usr2/src/imap-2006a'
make: *** [gso] Error 2
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to