Solaris compile fails cyrus-sasl 2.1.22
Ian Logan
ian at nmsu.edu
Wed Jul 26 17:02:11 EDT 2006
You might try installing OpenSSL, I'm pretty sure thats what I did
when I ran into the problem you described.
I think (not sure) that cyrus-sasl will then use the MD5 digest
routines from OpenSSL.
Ian
On Jul 26, 2006, at 2:40 PM, Vincent Fox wrote:
> So I cannot get cyrus-sasl to compile on Solaris. Any tips?
>
> I have attempted to look at the cyrus-sasl mailing list archives
> but it won't let me in. Perhaps only CMU people can look at them? I
> posted to cyrus-sasl this same query, but no response. Perhaps that
> is only for developers? Anyhow.....
>
> My environment:
> Cyrus-sasl-2.1.22 on Solaris 9 + Sun Studio 11
>
> ./configure --with-openssl=/usr/local/ssl --enable-gssapi --enable-
> keep-db-open --with-dblib=berkeley --with-bdb-libdir=/usr/local/
> BerkeleyDB.4.4/lib --with-bdb-incdir=/usr/local/BerkeleyDB.4.4/include
>
> make errors out here:
>
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -
> I../include -I /usr/local/ssl/include -I/usr/local/Berkele
> yDB.4.4/include -I /usr/local/ssl/include -c digestmd5.c -KPIC -
> DPIC -o digestmd5.lo
> "digestmd5.c", line 279: warning: initialization type mismatch
> "digestmd5.c", line 366: warning: argument #2 is incompatible with
> prototype:
> prototype: pointer to const unsigned char : "unknown", line 0
> argument : pointer to char
> "digestmd5.c", line 812: syntax error before or at: des_key_schedule
> "digestmd5.c", line 817: incomplete struct/union/enum
> des_context_s: des_context_t
> "digestmd5.c", line 821: syntax error before or at: static
> "digestmd5.c", line 822: member cannot be function: slidebits
> "digestmd5.c", line 822: warning: syntax requires ";" after last
> struct/union member
> "digestmd5.c", line 822: syntax error before or at: {
> "digestmd5.c", line 845: member cannot be function: dec_3des
> "digestmd5.c", line 845: warning: syntax requires ";" after last
> struct/union member
> "digestmd5.c", line 845: syntax error before or at: {
> "digestmd5.c", line 849: syntax error before or at:
> des_ede2_cbc_encrypt
> "digestmd5.c", line 849: warning: syntax requires ";" after last
> struct/union member
> "digestmd5.c", line 862: zero-sized struct/union
> "digestmd5.c", line 864: warning: syntax error: empty declaration
> "digestmd5.c", line 864: warning: old-style declaration or
> incorrect type for: p
> "digestmd5.c", line 864: warning: old-style declaration or
> incorrect type for: padding
> "digestmd5.c", line 864: warning: old-style declaration or
> incorrect type for: p
> "digestmd5.c", line 864: syntax error before or at: ++
> "digestmd5.c", line 871: warning: old-style declaration or
> incorrect type for: outputlen
> "digestmd5.c", line 871: undefined symbol: inputlen
> "digestmd5.c", line 871: warning: improper pointer/integer
> combination: op "="
> "digestmd5.c", line 871: non-constant initializer involving a cast
> "digestmd5.c", line 873: syntax error before or at: return
> "digestmd5.c", line 873: warning: syntax error: empty declaration
> "digestmd5.c", line 876: type specifier can not be used as array
> size expression qualifier
> "digestmd5.c", line 876: warning: no explicit type given
> "digestmd5.c", line 883: undefined symbol: des_context_t
> "digestmd5.c", line 883: undefined symbol: c
> "digestmd5.c", line 883: syntax error before or at: =
> "digestmd5.c", line 884: type specifier can not be used as array
> size expression qualifier
> "digestmd5.c", line 884: warning: no explicit type given
> "digestmd5.c", line 884: warning: old-style declaration or
> incorrect type for: len
> "digestmd5.c", line 885: type specifier can not be used as array
> size expression qualifier
> "digestmd5.c", line 885: warning: no explicit type given
> "digestmd5.c", line 885: warning: old-style declaration or
> incorrect type for: paddinglen
> "digestmd5.c", line 897: warning: implicit function declaration:
> des_ede2_cbc_encrypt
> "digestmd5.c", line 900: undefined struct/union member: keysched
> "digestmd5.c", line 900: left operand of "->" must be pointer to
> struct/union
> "digestmd5.c", line 901: undefined struct/union member: keysched2
> "digestmd5.c", line 901: left operand of "->" must be pointer to
> struct/union
> "digestmd5.c", line 902: undefined struct/union member: ivec
> "digestmd5.c", line 902: left operand of "->" must be pointer to
> struct/union
> "digestmd5.c", line 903: undefined symbol: DES_ENCRYPT
> "digestmd5.c", line 908: cannot recover from previous errors
> cc: acomp failed for digestmd5.c
> *** Error code 1
> make: Fatal error: Command failed for target `digestmd5.lo'
> Current working directory /usr/local/src/cyrus-sasl-2.1.22/plugins
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr/local/src/cyrus-sasl-2.1.22
> *** Error code 1
> make: Fatal error: Command failed for target `all'
>
>
>
>
> ----
> 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