2014年11月26日 sendmail-8.14.9 [長年日記]
_ sendmail-8.14.9
I tried to do version up to sendmail-8.14.9, but it failed :(
$ cd sendmail-8.14.9/sendmail $ sh Build Configuration: pfx=, os=Linux, rel=2.6.34.13-smp, rbase=2, rroot=2.6.34, arch=i686, sfx=, variant=optimized Making in /home/m-ito/INSTALLED/sendmail-8.14.9/obj.Linux.2.6.34.13-smp.i686/sendmail cc -o sendmail main.o alias.o arpadate.o bf.o collect.o conf.o control.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o map.o mci.o milter.o mime.o parseaddr.o queue.o ratectrl.o readcf.o recipient.o sasl.o savemail.o sfsasl.o shmticklib.o sm_resolve.o srvrsmtp.o stab.o stats.o sysexits.o timers.o tls.o trace.o udb.o usersmtp.o util.o version.o /home/m-ito/INSTALLED/sendmail-8.14.9/obj.Linux.2.6.34.13-smp.i686/libsmutil/libsmutil.a /home/m-ito/INSTALLED/sendmail-8.14.9/obj.Linux.2.6.34.13-smp.i686/libsm/libsm.a -ldb -lresolv -lcrypt -lnsl -ldl /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutex_trylock' /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutexattr_setpshared' /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutexattr_destroy' /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_condattr_setpshared' /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/../../../libdb.so: undefined reference to `pthread_mutexattr_init' collect2: ld returned 1 exit status make: *** [sendmail] Error 1 $
I needed to do next steps to fix failure.
$ vi ../devtools/Site/site.config.m4 APPENDDEF(`confLIBS', `-lpthread') $ rm -fr ../obj.Linux.2.6.34.13-smp.i686/ $ sh Build