i encounter the problem when compile the latest vpopmail on Solaris 9

i change
#include <err.h>
to
#include <openssl/err.h>
in the vpopmail.c

CPPFLAGS='-I/usr/local/ssl/include' CC=gcc ./configure

====================
gcc -I. -Icdb  -I. -I. -I.   -I/usr/local/mysql/include/mysql -I/usr/local/s
sl/include  -g -O2 -Wall -c `test -f 'hmac_md5.c' || echo './'`hmac_md5.c
hmac_md5.c: In function `hmac_md5':
hmac_md5.c:52: warning: implicit declaration of function `bzero'
hmac_md5.c:54: warning: implicit declaration of function `bcopy'
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o
ibvpopmail.a  -lcrypt
Undefined                       first referenced
 symbol                             in file
warn                                libvpopmail.a(vpopmail.o)
ld: fatal: Symbol referencing errors. No output written to vchkpw
collect2: ld returned 1 exit status
gmake[2]: *** [vchkpw] Error 1
gmake[2]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake: *** [all] Error 2
gmake  INSTALL_PROGRAM="/usr/bin/install -c -o vpopmail -m 711 -g
chkpw  -s" \
  INSTALL_STRIP_FLAG=-s \
  `test -z '' || \
    echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
gmake[1]: Entering directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
Making install in cdb
gmake[2]: Entering directory
`/var/download/mail/vpopmail/vpopmail-5.4.12/cdb'
gmake[2]: Nothing to be done for `install'.
gmake[2]: Leaving directory
`/var/download/mail/vpopmail/vpopmail-5.4.12/cdb'
gmake[2]: Entering directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gcc  -g -O2 -Wall   -o vchkpw  vchkpw.o md5.o hmac_md5.o
ibvpopmail.a  -lcrypt
Undefined                       first referenced
 symbol                             in file
warn                                libvpopmail.a(vpopmail.o)
ld: fatal: Symbol referencing errors. No output written to vchkpw
collect2: ld returned 1 exit status
gmake[2]: *** [vchkpw] Error 1
gmake[2]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/var/download/mail/vpopmail/vpopmail-5.4.12'
gmake: *** [install-strip] Error 2

Done!


 ----
   Chris

----- Original Message ----- 
From: "Tom Collins" <[EMAIL PROTECTED]>
To: "vpopmail list" <vchkpw@inter7.com>;
<[EMAIL PROTECTED]>
Sent: Tuesday, July 05, 2005 6:22 AM
Subject: [vchkpw] Vpopmail 5.4.12 released


http://vpopmail.sf.net/

5.4.12 - released 4-Jul-05

This release fixes a few bugs that cropped up in the vdelivermail
rewrite for
5.4.11.  Because of the significant changes to vdelivermail since
5.4.10, this
release should not be used on production machines until other developers
have had a chance to test it.

It also includes some minor fixes to long-time bugs -- see the ChangeLog
for details.

ChangeLog

Tom Collins
- vdelivermail: read full message, even on catchall delete/bounce
   to avoid SIGPIPE error if maildrop is calling vdelivermail.
- vdelivermail: missing declaration when QMAIL_EXT defined.
- vpopmail.h: remove declaration of crypt() and use #include
   crypt.h instead (if present).
- configure: remove enable-domainquotas option until the domain
   quota code is fixed.
- maildirquota.c: fix bug from 5.4.11 that could accidentally
   close stdin and result in a failed delivery in vdelivermail.
- vpopmail.c: better error checking in r_mkdir().



Reply via email to