gcc -g -O -I. -I../../include -DLINUX2 -c master_service.c gcc -g -O -I. -I../../include -DLINUX2 -c master_status.c gcc -g -O -I. -I../../include -DLINUX2 -c master_listen.c gcc -g -O -I. -I../../include -DLINUX2 -c master_vars.c gcc -g -O -I. -I../../include -DLINUX2 -c master_wakeup.c gcc -g -O -I. -I../../include -DLINUX2 -c master_flow.c ar rv libmaster.a single_server.o multi_server.o trigger_server.o master_proto.o mail_flow.o ar: creating libmaster.a a - single_server.o a - multi_server.o a - trigger_server.o a - master_proto.o a - mail_flow.o ranlib libmaster.a cp libmaster.a ../../lib/libmaster.a gcc -g -O -I. -I../../include -DLINUX2 -o master master.o master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -L/usr/lib64 -lsasl2 -L/opt/openldap/lib64 -lldap -llber -L/opt/mysql/lib64/mysql -lmysqlclient -lz -lm -L/usr/lib64 -lssl -lcrypto -L/usr/lib64 -lpcre -ldb -lnsl -lresolv ranlib ../../lib/libmaster.a /usr/lib64/libdb.a(mut_pthread.o): In function `__db_pthread_mutex_lock': mut_pthread.c:(.text+0x192): undefined reference to `pthread_mutex_trylock' /usr/lib64/libdb.a(mut_pthread.o): In function `__db_pthread_mutex_init': mut_pthread.c:(.text+0x332): undefined reference to `pthread_mutexattr_init' mut_pthread.c:(.text+0x344): undefined reference to `pthread_mutexattr_destroy' mut_pthread.c:(.text+0x409): undefined reference to `pthread_mutexattr_setpshared' mut_pthread.c:(.text+0x453): undefined reference to `pthread_condattr_setpshared' collect2: ld returned 1 exit status make: *** [master] Error 1 make: *** [update] Error 1 Due to previous errors, no 9-postfix.log file! (Try enabling xtrace in the config to track an error inside the build system.) --- BUILD ERROR ---