Getting the same errors compiling mailfromd-6.0.1 and mailfromd-7.0. SunOS build 5.10 Generic_137137-09 sun4u sparc SUNW,UltraSPARC-IIi-cEngine # ./configure CPPFLAGS=-I/usr/local/BerkeleyDB.4.2/include DEFAULT_LOG_FACILITY=MAIL ******************************************************************* Mailfromd configured with the following settings: Mailutils version......................... 2.2 External preprocessor..................... /usr/ccs/bin/m4 -s DBM version...............................
Default user.............................. mail State directory........................... $(localstatedir)/$(PACKAGE) Socket.................................... mailfrom Expiration interval....................... 86400 Negative DNS answer expiration interval... 3600 Rates expire interval..................... 300 Compile asynchronous syslog............... no Readline (for mtasim)..................... no Documentation rendition type.............. DISTRIB Enable pmilter support.................... no Enable GeoIP support...................... no ******************************************************************* # make make all-recursive Making all in gnu make all-recursive Making all in lib Making all in gacopyz make all-am Making all in mfd make all-recursive Making all in builtin make all-am Making all in mflib Making all in mtasim CCLD mtasim ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of file Undefined first referenced symbol in file timersub ../gacopyz/libgacopyz.a(server.o) ld: fatal: Symbol referencing errors. No output written to mtasim collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: echo " CCLD " mtasim;gcc -g -O2 -fno-strict-aliasing -Wno-parentheses -o mtasim mtasim.o openat-die.o ../lib/libmf.a ../gnu/libgnu.a -L/usr/local/lib -lmu_argp
-lmu_cfg -lmu_maildir -lmu_imap -lmu_pop -lmu_nntp -lmu_mailer -lmu_sieve -lmu_mbox -lmu_mh -lmailutils -lmu_auth /usr/local/lib/libintl.so -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/openwin/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib /usr/local/lib/libiconv.so
-lsec -lc -R/usr/local/lib -R/usr/local/ssl/lib -R/usr/openwin/lib -R/usr/lib -R/usr/local/BerkeleyDB.4.2/lib -R/usr/X11R6/lib -L/usr/local/lib -liconv -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib ../gacopyz/libgacopyz.a -lrt -lnsl
-lsocket -lresolv -ldb make: Fatal error: Command failed for target `mtasim' Current working directory /usr/local/pkg/mailfromd-7.0/mtasim *** Error code 1 The following command caused the error: fail= 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='gnu lib gacopyz mfd mflib mtasim elisp po etc doc tests'; 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; \ (CDPATH="${ZSH_VERSION+.}:" && 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 /usr/local/pkg/mailfromd-7.0 *** Error code 1 make: Fatal error: Command failed for target `all' |