compile error 2.1.21 with openssl-0.9.8 on Solaris
Дейтер Александр Ва
Дейтер Александр Ва
Tue Aug 16 08:49:13 EDT 2005
Is it possible to compile it on Solaris 9 (Sparc)?
$ ./configure --enable-ntlm --with-openssl=/usr/local
...
$ make
...
if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../lib -I../sasldb -I../include -I/usr/local/include
-Wall -W -I/usr/local/include -MT ntlm.lo -MD -MP -MF ".deps/ntlm.Tpo" \
-c -o ntlm.lo `test -f 'ntlm.c' || echo './'`ntlm.c; \
then mv ".deps/ntlm.Tpo" ".deps/ntlm.Plo"; \
else rm -f ".deps/ntlm.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb
-I../include -I/usr/local/include -Wall -W -I/usr/local/include -MT
ntlm.lo -MD -MP -MF .deps/ntlm.Tpo -c ntlm.c -fPIC -DPIC -o ntlm.lo
In file included from ../include/saslplug.h:14,
from ntlm.c:96:
../include/hmac-md5.h:11: error: parse error before "MD5_CTX"
../include/hmac-md5.h:11: warning: no semicolon at end of struct or union
../include/hmac-md5.h:12: warning: type defaults to `int' in declaration
of `HMAC_MD5_CTX'
../include/hmac-md5.h:12: warning: data definition has no type or
storage class
../include/hmac-md5.h:36: error: parse error before '*' token
../include/hmac-md5.h:46: error: parse error before '*' token
../include/hmac-md5.h:53: error: parse error before "HMAC_MD5_CTX"
In file included from ntlm.c:96:
../include/saslplug.h:73: error: parse error before '*' token
../include/saslplug.h:74: error: parse error before '*' token
../include/saslplug.h:75: error: parse error before "MD5_CTX"
../include/saslplug.h:79: error: parse error before '*' token
../include/saslplug.h:81: error: parse error before "HMAC_MD5_CTX"
../include/saslplug.h:84: error: parse error before '*' token
ntlm.c: In function `ntlm_server_mech_step2':
ntlm.c:1574: error: `MD5_DIGEST_LENGTH' undeclared (first use in this
function)
ntlm.c:1574: error: (Each undeclared identifier is reported only once
ntlm.c:1574: error: for each function it appears in.)
ntlm.c: In function `ntlm_client_mech_step2':
ntlm.c:2002: error: `MD5_DIGEST_LENGTH' undeclared (first use in this
function)
make[2]: *** [ntlm.lo] Error 1
make[2]: Leaving directory
`/export/home/devel/tmp/cyrus-sasl-2.1.21/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/devel/tmp/cyrus-sasl-2.1.21'
make: *** [all] Error 2
Thanks!
--
Alex Deiter
More information about the Cyrus-sasl
mailing list