<<< Date Index >>>     <<< Thread Index >>>

Re: issue with smime and mutt 1.5.5.1



And another problem:
When I use --disable-smime on configure and try to compile mutt I see
(at the linking step):

cc  -g -L/opt/sfw/lib -o mutt  patchlist.o addrbook.o alias.o attach.o base64.o 
 browser.o buffy.o color.o crypt.o cryptglue.o commands.o complete.o  compose.o 
copy.o curs_lib.o curs_main.o date.o edit.o enter.o flags.o  init.o filter.o 
from.o getdomain.o handler.o hash.o hdrline.o headers.o  help.o hook.o keymap.o 
main.o mbox.o menu.o mh.o mx.o pager.o parse.o  pattern.o postpone.o query.o 
recvattach.o recvcmd.o rfc822.o rfc1524.o  rfc2047.o rfc2231.o score.o send.o 
sendlib.o signal.o sort.o status.o  system.o thread.o charset.o history.o lib.o 
muttlib.o editmsg.o utf8.o  mbyte.o wcwidth.o url.o ascii.o mutt_idna.o pgp.o 
pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o resize.o 
dotlock.o account.o mutt_socket.o mutt_tunnel.o mutt_sasl.o  -Limap -limap 
-lncurses  -lgss -lsasl -L/usr/local/lib -lcom_err -lgen       ./intl/libintl.a 
 -lsocket -lnsl
ild: (undefined symbol) SmimeExptime -- referenced in the text segment of 
crypt.o
ild: (undefined symbol) SmimePass -- referenced in the text segment of crypt.o
*** Error code 5
make: Fatal error: Command failed for target `mutt' (on host alton)

Here's how I ran configure:
# ./configure  --with-curses=/opt/sfw --prefix=/home/willf/app_support 
--bindir=/home/willf/bin/sparc --sbindir=/home/willf/bin/sparc --enable-imap 
--with-gss --with-sasl --enable-mailtool --disable-smime --enable-debug

Note, in the config.h:
config.h:#define CRYPT_BACKEND_CLASSIC_PGP 1

and in mutt_crypt.h:

#if defined(CRYPT_BACKEND_CLASSIC_PGP) && defined(CRYPT_BACKEND_CLASSIC_SMIME)
# define WithCrypto (APPLICATION_PGP | APPLICATION_SMIME)

and in crypt.c:

  if ((WithCrypto & APPLICATION_SMIME) && (flags & APPLICATION_SMIME))
  {
    extern char SmimePass[STRING];
    extern time_t SmimeExptime;

-- 
Will Fiveash