Solaris 8 cyrus-imspd-v1.6a3 can't make lib/prot.o
Gloria Rom
gloriar at library.ucla.edu
Mon Jan 27 16:39:21 EST 2003
Hi All,
What have I done wrong? On Solaris 8, compiling cyrus-imspd-v1.6a3 fails
like this
### Making all in /usr/local/src/cyrus-imspd-v1.6a3/lib
cc -c -I.. -I/usr/local/include -DHAVE_CONFIG_H -I. -I.
-I/usr/local/include/sasl \
prot.c
"./prot.h", line 137: syntax error before or at: __attribute__
"./prot.h", line 137: warning: syntax error: empty declaration
"prot.c", line 108: cannot recover from previous errors
cc: acomp failed for prot.c
*** Error code 2
make: Fatal error: Command failed for target `prot.o'
Current working directory /usr/local/src/cyrus-imspd-v1.6a3/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
cc is /opt/SUNWspro/bin/cc (Forte 6 update 2).
These are the relevant lines in lib/prot.h
135 extern int prot_write(struct protstream *s, const char *buf,
unsigned len);
136 extern int prot_printf(struct protstream *, const char *, ...)
137 __attribute__ ((format (printf, 2, 3)));
and this is how I ran configure
CFLAGS="-I/usr/local/include/sasl" ./configure \
--with-ldap=no \
--with-auth=unix \
--with-krb=no
I don't know if this is relevant, but cyrus-sasl-2.1.10 was configured
like this
./configure \
--disable-checkapop \
--disable-cram \
--disable-digest \
--disable-otp \
--disable-krb4 \
--disable-gssapi \
--enable-plain \
--disable-anon \
--enable-pwcheck
then made and installed.
Thank you,
Glo
--
Gloria Rom
UCLA Library Information Systems
gloriar at library.ucla.edu
More information about the Info-cyrus
mailing list