[Mimedefang] mimedefang 2.64 doesn't compile on slackware 12

Marco Berizzi pupilla at hotmail.com
Tue Feb 12 11:20:57 EST 2008


I get this error compiling mimedefang 2.64
on Slackware 12.0
Any hint?

configure: WARNING: you should use --build, --host, --target
checking for i486-slackware-linux-gcc... i486-slackware-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-slackware-linux-gcc accepts -g... yes
checking for i486-slackware-linux-gcc option to accept ANSI C... none
needed
checking for ar... ar
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking for perl... /usr/bin/perl
checking whether socklen_t is defined... yes
checking for Perl installation variable prefix... /usr
checking for Perl installation variable siteprefix... /usr
checking for Perl installation variable vendorprefix...
checking for Perl installation variable installarchlib...
/usr/lib/perl5/5.8.8/i486-linux-thread-multi
checking for Perl installation variable installprivlib...
/usr/lib/perl5/5.8.8
checking for Perl installation variable installbin... /usr/bin
checking for Perl installation variable installman1dir...
/usr/share/man/man1
checking for Perl installation variable installman3dir...
/usr/share/man/man3
checking for Perl installation variable installscript... /usr/bin
checking for Perl installation variable installsitearch...
/usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi
checking for Perl installation variable installsitelib...
/usr/lib/perl5/site_perl/5.8.8
checking for wait3 that fills in rusage... yes
checking for nm... /usr/bin/nm
checking for Perl module IO::Socket... ok
checking for Perl module MIME::Tools 5.410 ()... ok
checking for Perl module MIME::WordDecoder... ok
checking for Perl module Digest::SHA1... ok
checking for Perl module Mail::SpamAssassin 1.6 or better... yes
checking for Perl module Anomy::HTMLCleaner... yes
checking for Perl module HTML::Parser... yes
checking for Perl module Archive::Zip... yes
checking MIME-Tools version... 5.425
checking for Perl module Sys::Syslog... ok
checking for Perl module Unix::Syslog... no
checking for Perl module ExtUtils::Embed... ok
checking if setlocksock('native') works... no
checking if setlogsock('unix') works... yes
checking how to run the C preprocessor... i486-slackware-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking whether stdint.h defines uint32_t... yes
checking whether sys/types.h defines uint32_t... no
checking whether sig_atomic_t is defined... yes
checking whether i486-slackware-linux-gcc accepts -pthread... yes
checking if we can embed a Perl interpreter in C... yes
checking if it is safe to destroy and recreate a Perl interpreter... yes
checking for res_init in -lresolv... no
checking for htons in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for pthread_once in -lpthread... yes
checking for initgroups... yes
checking for getpwnam_r... yes
checking for setrlimit... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for readdir_r... yes
checking for pathconf... yes
checking for inet_ntop... yes
checking for libmilter/mfapi.h... /usr/include/libmilter/mfapi.h
checking for vascan... /bin/false
checking for bdc... /bin/false
checking for savscan... /bin/false
checking for kavscanner... /bin/false
checking for clamscan... /usr/bin/clamscan
checking for aveclient... /bin/false
checking for csav... /bin/false
checking for clamd... /usr/sbin/clamd
checking for trophie... /bin/false
checking for nod32cli... /bin/false
checking for libmilter.a... /usr/lib/libmilter.a
checking for libsm.a... /usr/lib/libsm.a
checking for libmilter.so... no
checking for sendmail... /usr/sbin/sendmail
checking for rm... /usr/bin/rm
checking whether libmilter requires -lsm... yes
checking whether libsm requires -lldap... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mimedefang.pl
config.status: creating examples/init-script
config.status: creating mimedefang-filter.5
config.status: creating mimedefang-multiplexor.8
config.status: creating mimedefang-protocol.7
config.status: creating mimedefang-notify.7
config.status: creating mimedefang.8
config.status: creating mimedefang.pl.8
config.status: creating md-mx-ctrl.8
config.status: creating watch-mimedefang
config.status: creating redhat/mimedefang-init
config.status: creating redhat/mimedefang-sysconfig
config.status: creating config.h

*** Virus scanner detection results:
H+BEDV   'antivir'   NO (Disabled by configure command)
Vexira   'vascan'    NO (not found)
NAI      'uvscan'    NO (Disabled by configure command)
BDC      'bdc'       NO (not found)
Sophos   'sweep'     NO (Disabled by configure command)
Sophos   'savscan'   NO (not found)
TREND    'vscan'     NO (Disabled by configure command)
CLAMSCAN 'clamav'    YES - /usr/bin/clamscan
AVP      'AvpLinux'  NO (Disabled by configure command)
AVP5     'aveclient' NO (not found)
KAVSCANNER 'kavscanner' NO (not found)
CSAV     'csav'      NO (not found)
FSAV     'fsav'      NO (Disabled by configure command)
FPROT    'f-prot'    NO (Disabled by configure command)
SOPHIE   'sophie'    NO (Disabled by configure command)
NVCC     'nvcc'      NO (Disabled by configure command)
CLAMD    'clamd'     YES - /usr/sbin/clamd
TROPHIE  'trophie'   NO (not found)
NOD32    'nod32cli'  NO (not found)

Make sure clamd runs as the defang user!
  ...and make sure you use clamd version 0.67 or higher.

Found Mail::SpamAssassin.  You may use spam_assassin_* functions
Found Anomy::HTMLCleaner.  You may use anomy_clean_html()
Found HTML::Parser.  You may use append_html_boilerplate()

Note: SpamAssassin, HTML::Parser and Anomy::HTMLCleaner are
detected at run-time, so if you install or remove any of those modules,
you
do not need to re-run ./configure and make a new mimedefang.pl.
root at iris:/tmp/MIMEDEFANG/mimedefang-2.64# make
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o mimedefang.o
/mimedefang.c
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o
drop_privs_threaded.o ./drop_privs.c
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o utils.o ./utils.c
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o rm_r.o ./rm_r.c
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o syslog-fac.o
/syslog-fac.c
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o dynbuf.o
/dynbuf.c
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -D_PO
SIX_PTHREAD_SEMANTICS -DEMBED_PERL -DSAFE_EMBED_PERL -DPERL_PATH=\"/usr/
bin/perl\" -DMIMEDEFANG_PL=\"/usr/bin/mimedefang.pl\" -DRM=\"/usr/bin/rm
\" -DVERSION=\"2.64\" -DSPOOLDIR=\"/var/spool/MIMEDefang\" -DQDIR=\"/var
/spool/MD-Quarantine\" -DCONFDIR=\"/etc/mail\"  -c -o milter_cap.o
/milter_cap.c
/milter_cap.c: In function 'milter_version_ok':
/milter_cap.c:37: warning: pointer targets in passing argument 1 of
'smfi_version' differ in signedness
/milter_cap.c:37: warning: pointer targets in passing argument 2 of
'smfi_version' differ in signedness
/milter_cap.c:37: warning: pointer targets in passing argument 3 of
'smfi_version' differ in signedness
i486-slackware-linux-gcc -g -O2 -Wall -Wstrict-prototypes -pthread -o
mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o
syslog-fac.o dynbuf.o milter_cap.o  -lmilter -lpthread -lnsl  -lsm
mimedefang.o: In function `cleanup':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1950: undefined reference
to `smfi_getpriv'
mimedefang.o: In function `mfclose':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1899: undefined reference
to `smfi_getpriv'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1917: undefined reference
to `smfi_setpriv'
mimedefang.o: In function `main':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2336: undefined reference
to `smfi_setconn'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2367: undefined reference
to `smfi_setbacklog'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2419: undefined reference
to `smfi_register'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2489: undefined reference
to `smfi_main'
mimedefang.o: In function `append_macro_value':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2511: undefined reference
to `smfi_getpriv'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2519: undefined reference
to `smfi_getsymval'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2517: undefined reference
to `smfi_getsymval'
mimedefang.o: In function `body':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1339: undefined reference
to `smfi_getpriv'
mimedefang.o: In function `set_reply':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:374: undefined reference
to `smfi_setreply'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:380: undefined reference
to `smfi_setreply'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:364: undefined reference
to `smfi_setreply'
mimedefang.o: In function `eom':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1447: undefined reference
to `smfi_getpriv'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1480: undefined reference
to `smfi_getsymval'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1843: undefined reference
to `smfi_addheader'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1856: undefined reference
to `smfi_chgheader'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1849: undefined reference
to `smfi_chgheader'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1703: undefined reference
to `smfi_replacebody'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1727: undefined reference
to `smfi_addheader'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1781: undefined reference
to `smfi_chgheader'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1714: undefined reference
to `smfi_chgheader'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1744: undefined reference
to `smfi_insheader'
mimedefang.o: In function `do_sm_quarantine':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2621: undefined reference
to `smfi_quarantine'
mimedefang.o: In function `eom':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1790: undefined reference
to `smfi_addrcpt'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1815: undefined reference
to `smfi_delrcpt'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1805: undefined reference
to `smfi_chgfrom'
mimedefang.o: In function `eoh':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1286: undefined reference
to `smfi_getpriv'
mimedefang.o: In function `header':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1154: undefined reference
to `smfi_getpriv'
mimedefang.o: In function `set_dsn':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:2596: undefined reference
to `smfi_getpriv'
mimedefang.o: In function `rcptto':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1033: undefined reference
to `smfi_getpriv'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1046: undefined reference
to `smfi_getsymval'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1049: undefined reference
to `smfi_getsymval'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:1052: undefined reference
to `smfi_getsymval'
mimedefang.o: In function `envfrom':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:696: undefined reference
to `smfi_getpriv'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:704: undefined reference
to `smfi_getsymval'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:897: undefined reference
to `smfi_getsymval'
mimedefang.o: In function `helo':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:620: undefined reference
to `smfi_getpriv'
mimedefang.o: In function `mfconnect':
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:490: undefined reference
to `smfi_setpriv'
/tmp/MIMEDEFANG/mimedefang-2.64/./mimedefang.c:493: undefined reference
to `smfi_setpriv'
milter_cap.o: In function `milter_version_ok':
/tmp/MIMEDEFANG/mimedefang-2.64/./milter_cap.c:37: undefined reference
to `smfi_version'
collect2: ld returned 1 exit status
make: *** [mimedefang] Error 1





More information about the MIMEDefang mailing list