From: Igor Brezac (no email)
Date: Thu Jun 09 2005 - 00:01:38 EDT
On Wed, 8 Jun 2005, Howard Chu wrote:
>> On Wed, Jun 08, 2005 at 01:56:35PM -0500, wrote:
>>> This is my first attempt to build Cyrus SASL on Solaris. Here's an
>>> excerpt from "make":
>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb
>>> -I../include -I/opt/pkgs/openldap/include -Wall -W -g -O2 -MT digestmd5.lo
>>> -MD -MP -MF .deps/digestmd5.Tpo -c digestmd5.c -fPIC -DPIC -o
>>> digestmd5.c:812: parse error before "des_key_schedule"
>>> digestmd5.c:812: warning: no semicolon at end of struct or union
>>> digestmd5.c:813: warning: type defaults to `int' in declaration of `ivec'
>>> Lots of related warnings and parse errors follow, and the compile dies.
>> At the off-list suggestion of someone who thinks the build process may
>> be broken in the current version, I tried downgrading to 2.1.20.
>> There's only a slight difference, which is that I now get:
>> digestmd5.c:77:19: des.h: No such file or directory
>> ...before the first "parse error" message.
> I suggest going back to the latest release and manually forcing digestmd5.c
> to compile, but using the "-E" switch so that only preprocessing is done.
> Look at the preprocessor output and see what header files it actually found.
> Most likely there is a conflicting definition between the native Solaris
> headers and the OpenSSL headers; tracing the included files will help you
> pinpoint the conflict.
Where is your openssl package installed?