Hello,

Hans Meine has (re-)discovered the following name-clash on Solaris 8 (SunOS 
5.8):

  [EMAIL 
PROTECTED]:/software/cyrus-sasl-2.1.21/source/cyrus-sasl-2.1.21/build-SunOS-5.8/saslauthd
 
  -> make
  gmake  all-am
  gmake[1]: Entering directory 
  
`/software/cyrus-sasl-2.1.21/source/cyrus-sasl-2.1.21/build-SunOS-5.8/saslauthd'
  source='../../saslauthd/auth_getpwent.c' object='auth_getpwent.o' libtool=no \
  depfile='.deps/auth_getpwent.Po' tmpdepfile='.deps/auth_getpwent.TPo' \
  depmode=gcc /bin/bash ../../saslauthd/config/depcomp \
  gcc -DHAVE_CONFIG_H 
  
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/software/cyrus-sasl-2.1.21/etc/saslauthd.conf\"
 
  -I. -I../../saslauthd -I.. -I. -I../../saslauthd -I. 
  -I../../saslauthd/include -I./include -I../../saslauthd/../include  
  -I/software/openssl-0.9.7g/SunOS-5.8/include  -g -O2 -c `test -f 
  '../../saslauthd/auth_getpwent.c' || echo 
  '../../saslauthd/'`../../saslauthd/auth_getpwent.c
  In file included from ../../saslauthd/auth_getpwent.c:53:
  /usr/include/crypt.h:22: parse error before `('
  /usr/include/crypt.h:22: parse error before `const'
  gmake[1]: *** [auth_getpwent.o] Error 1
  gmake[1]: Leaving directory 
  
`/software/cyrus-sasl-2.1.21/source/cyrus-sasl-2.1.21/build-SunOS-5.8/saslauthd'
  gmake: *** [all] Error 2

The reason here ist that

/software/openssl-0.9.7g/SunOS-5.8/include/openssl/des_old.h

defines (in line 174)

#define des_crypt(b,s)\
 DES_crypt((b),(s))

which lead to 

extern char * DES_crypt(( const char * ),(  const char * )) ;

in /usr/include/crypt.h:22

This seems to be a reasonably well known issue, see e.g.

http://www.opensubscriber.com/message/[EMAIL PROTECTED]/1505445.html
http://www.google.com/search?q=crypt.h+solaris+des_old.h

Greetings

Sven Utcke
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to