I'm trying to compile 1.1.8 with dovecot-1-1-989789b2afd8 patches applied on Solaris 10 sparc using gcc 2.95.3 and also tried version 3.4.3. This is error I'm getting:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-auth -DPKG_RUNDIR=\""/userM/mail-services/dovecot/var/run/dovecot"\" -DSBINDIR=\""/userM/mail-services/dovecot/sbin"\" -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/sfw/include -c ssl-proxy-openssl.c
In file included from ssl-proxy-openssl.c:21:
/usr/sfw/include/openssl/ssl.h:172: warning: ignoring pragma: "@(#)ssl.h 1.4 05/10/11 SMI
In file included from /usr/sfw/include/openssl/ssl3.h:120,
                 from /usr/sfw/include/openssl/ssl.h:951,
                 from ssl-proxy-openssl.c:21:
/usr/sfw/include/openssl/ssl.h:172: warning: ignoring pragma: "@(#)ssl.h 1.4 05/10/11 SMI
ssl-proxy-openssl.c: In function `ssl_params_corrupted':
ssl-proxy-openssl.c:85: `PKG_STATEDIR' undeclared (first use in this function)
ssl-proxy-openssl.c:85: (Each undeclared identifier is reported only once
ssl-proxy-openssl.c:85: for each function it appears in.)
ssl-proxy-openssl.c: In function `ssl_info_callback':
ssl-proxy-openssl.c:658: warning: passing arg 1 of `SSL_get_ex_data' discards qualifiers from pointer target type
*** Error code 1
make: Fatal error: Command failed for target `ssl-proxy-openssl.o'
Current working directory /userM/src/dovecot-1.1.8/src/login-common
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='lib lib-dict lib-sql lib-ntlm lib-otp lib-settings lib-charset lib-mail lib-imap lib-index lib-storage lib-auth auth dict master login-common imap-login imap pop3-login pop3 deliver tests util plugins'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /userM/src/dovecot-1.1.8/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src  doc'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /userM/src/dovecot-1.1.8
*** Error code 1
make: Fatal error: Command failed for target `all'

Does anyone have work around for this on Solaris 10?


--
C. J. Keist                     Email: cj.ke...@colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

All I want is a chance to prove 'Money can't buy happiness'

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to