From owner-freebsd-ports@FreeBSD.ORG Mon Feb 14 03:13:33 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2974B16A4CE for ; Mon, 14 Feb 2005 03:13:33 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A69843D2F for ; Mon, 14 Feb 2005 03:13:31 +0000 (GMT) (envelope-from freebsd-ports@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1D0Wcd-0004Pc-B1 for freebsd-ports@freebsd.org; Mon, 14 Feb 2005 04:10:03 +0100 Received: from anthonychavez.org ([166.70.126.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Feb 2005 04:10:03 +0100 Received: from acc by anthonychavez.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Feb 2005 04:10:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Anthony Chavez Date: Sun, 13 Feb 2005 19:16:33 -0700 Lines: 1869 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: anthonychavez.org X-PGP-Key: http://anthonychavez.org/pubkey.asc User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) Cancel-Lock: sha1:LXSQQMOH+NzgFjgwcrS9jc/pRNw= Sender: news X-Gmane-MailScanner: Found to be clean X-Gmane-MailScanner: Found to be clean X-MailScanner-From: freebsd-ports@m.gmane.org X-MailScanner-To: freebsd-ports@freebsd.org Subject: bacula-server on 4.11 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Feb 2005 03:13:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When trying to build sysutils/bacula-server on 4.11-RELEASE, I see some interesting pthread-related linker errors that don't appear to be related to the bug discussed in pthreads-fix.txt. Below is my portupgrade log. I'd appreciate any insight as to what might be causing this. Thanks! - -- Anthony Chavez http://anthonychavez.org/ mailto:acc@anthonychavez.org jabber:acc@jabber.anthonychavez.org ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for postgresql-client-8.0.1 ===> Cleaning for gettext-0.14.1 ===> Cleaning for gmake-3.80_2 ===> Cleaning for libgnugetopt-1.2 ===> Cleaning for libtool-1.3.5_2 ===> Cleaning for libtool-1.5.10 ===> Cleaning for perl-5.8.6_2 ===> Cleaning for openssl-0.9.7e_2 ===> Cleaning for expat-1.95.8 ===> Cleaning for bacula-server-1.36.1_1 =======> ATTENTION <======= ===> Note that there is a pthreads problem, which leads to the loss of 500kB ===> of data at the end of an tape. This is corrected in newer versions of FreeBSD ===> READ /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/platforms/freebsd/pthreads-fix.txt You may use the following build options (or make config): WITH_CLIENT_ONLY=yes if you only want the file daemon. WITH_WXCONSOLE=yes if you only want a wxGTK based GUI console. WITH_GNOMECONSOLE=yes if you only want a GNOME based GUI console. WITH_MTX=yes if you want to use mtx instead of chio for autochanger control. ===> Using postgresql as the bacula database. ===> Found saved configuration for bacula-server-1.36.1_1 ===> Extracting for bacula-server-1.36.1_1 => Checksum OK for bacula-1.36.1.tar.gz. ===> Patching for bacula-server-1.36.1_1 ===> Applying FreeBSD patches for bacula-server-1.36.1_1 # In server port don't install documentation and filed ===> bacula-server-1.36.1_1 depends on shared library: pq - found ===> Configuring for bacula-server-1.36.1_1 configure: WARNING: you should use --build, --host, --target checking for true... /usr/bin/true checking for false... /usr/bin/false configuring for bacula 1.36.1 (26 November 2004) checking for i386-portbld-freebsd4.11-gcc... cc checking for C compiler default output... 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 cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for i386-portbld-freebsd4.11-g++... c++ checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking whether cc understands -c and -o together... yes checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking whether cc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for i386-portbld-freebsd4.11-ranlib... no checking for ranlib... ranlib checking for mv... /bin/mv checking for rm... /bin/rm checking for cp... /bin/cp checking for sed... /usr/bin/sed checking for awk... /usr/bin/awk checking for echo... /bin/echo checking for cmp... /usr/bin/cmp checking for tbl... /usr/bin/tbl checking for ar... /usr/bin/ar checking for openssl... /usr/bin/openssl checking for mtx... mtx checking for pkg-config... /usr/local/bin/pkg-config checking for wx-config... wx-config checking for cdrecord... /usr/local/bin/cdrecord checking build system type... i386-portbld-freebsd4.11 checking host system type... i386-portbld-freebsd4.11 checking for Operating System Distribution... done checking for msgfmt... /usr/local/bin/msgfmt checking /usr/include/readline/readline.h usability... yes checking /usr/include/readline/readline.h presence... yes checking for /usr/include/readline/readline.h... yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for strcasecmp... yes checking for select... yes checking for setenv... yes checking for putenv... yes checking for tcgetattr... yes checking for setlocale... yes checking for lstat... yes checking for lchown... yes checking for nanosleep... yes checking for nl_langinfo... yes checking varargs.h usability... yes checking varargs.h presence... yes checking for varargs.h... yes checking for socket... yes using libc's socket checking for libwrap... yes checking for PostgreSQL support... checking for crypt... no checking for crypt in -lcrypt... yes yes checking for MySQL support... checking for SQLite support... no checking for i386-portbld-freebsd4.11-getconf... no checking for getconf... getconf checking for CFLAGS value to request large file support... no checking for LDFLAGS value to request large file support... no checking for LIBS value to request large file support... no checking for _FILE_OFFSET_BITS... 64 checking for _LARGEFILE_SOURCE... 1 checking for _LARGE_FILES... 1 checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdlib.h usability... yes checking stdlib.h presence... yes checking for stdlib.h... yes checking stdint.h usability... no checking stdint.h presence... no checking for stdint.h... no checking string.h usability... yes checking string.h presence... yes checking for string.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking unistd.h usability... yes checking unistd.h presence... yes checking for unistd.h... yes checking sys/bitypes.h usability... no checking sys/bitypes.h presence... no checking for sys/bitypes.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking resolv.h usability... no checking resolv.h presence... yes configure: WARNING: resolv.h: present but cannot be compiled configure: WARNING: resolv.h: check for missing prerequisite headers? configure: WARNING: resolv.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## checking for resolv.h... yes checking mtio.h usability... no checking mtio.h presence... no checking for mtio.h... no checking sys/mtio.h usability... yes checking sys/mtio.h presence... yes checking for sys/mtio.h... yes checking sys/tape.h usability... no checking sys/tape.h presence... no checking for sys/tape.h... no checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for ANSI C header files... yes checking whether sys/types.h defines makedev... yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking whether stat file-mode macros are broken... (cached) no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking for struct stat.st_blksize... no checking for struct stat.st_blocks... no checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for utime.h... yes checking for socklen_t... yes checking for bigendian... no checking for an ANSI C-conforming const... yes checking how to get filesystem type... 4.4BSD/OSF1 checking return type of signal handlers... void checking for type of signal functions... posix checking for mode_t... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking for pid_t... yes checking for off_t... yes checking for ino_t... yes checking for dev_t... yes checking for daddr_t... yes checking for major_t... no checking for minor_t... no checking for ssize_t... yes checking for struct stat.st_blocks... (cached) no checking for struct stat.st_rdev... no checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for an ANSI C-conforming const... (cached) yes checking for char... yes checking size of char... 1 checking for short int... yes checking size of short int... 2 checking for int... yes checking size of int... 4 checking for long int... yes checking size of long int... 4 checking for long long int... yes checking size of long long int... 8 checking for int *... yes checking size of int *... 4 checking for u_int type... yes checking for intmax_t type... no checking for u_intmax_t type... no checking for intXX_t types... yes checking for int64_t type... yes checking for u_intXX_t types... yes checking for u_int64_t types... yes checking for fork... yes checking for getcwd... yes checking for gethostname... yes checking for getpid... yes checking for gettimeofday... yes checking for setpgid... yes checking for setpgrp... yes checking for setsid... yes checking for signal... yes checking for strerror... yes checking for strncmp... yes checking for strncpy... yes checking for vfprintf... yes checking for fchdir... yes checking for strtoll... yes checking for chflags... yes checking for snprintf... yes checking for vsnprintf... yes checking for gethostid... yes checking for getdomainname... yes checking for localtime_r... yes checking for readdir_r... yes checking for strerror_r... yes checking for gethostbyname_r... no checking for gethostbyname_r... (cached) no checking for gethostbyname_r in -lnsl... no checking for gethostbyname_r in -lresolv... no checking for inet_pton... yes checking for inet_ntop... yes checking for gethostbyname2... yes checking for struct sockaddr has a sa_len field... no checking for IPv6 support... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for working alloca.h... no checking for alloca... yes checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... no checking whether closedir returns void... no checking whether setpgrp takes no argument... no checking for working POSIX fnmatch... yes checking for setlocale in -lxpg4... yes checking for getpwnam in -lsun... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for deflate in -lz... yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for acl_get_file in -lacl... no checking for pthread_create in -lpthread... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lc_r... yes configure: creating ./config.status config.status: creating autoconf/Make.common config.status: creating Makefile config.status: creating rescue/Makefile config.status: creating rescue/linux/Makefile config.status: creating rescue/linux/floppy/Makefile config.status: creating rescue/linux/cdrom/Makefile config.status: creating rescue/linux/cdrom/bacula/Makefile config.status: creating rescue/freebsd/Makefile config.status: creating rescue/solaris/Makefile config.status: creating scripts/startmysql config.status: creating scripts/stopmysql config.status: creating scripts/btraceback config.status: creating scripts/startit config.status: creating scripts/stopit config.status: creating scripts/bconsole config.status: creating scripts/gconsole config.status: creating scripts/bacula config.status: creating scripts/devel_bacula config.status: creating scripts/Makefile config.status: creating scripts/logrotate config.status: creating scripts/bacula.desktop.gnome1 config.status: creating scripts/bacula.desktop.gnome2 config.status: creating scripts/bacula.desktop.gnome1.consolehelper config.status: creating scripts/bacula.desktop.gnome2.consolehelper config.status: creating scripts/bacula.desktop.gnome1.xsu config.status: creating scripts/bacula.desktop.gnome2.xsu config.status: creating scripts/gnome-console.console_apps config.status: creating scripts/mtx-changer config.status: creating scripts/bacula-tray-monitor.desktop config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/host.h config.status: creating src/console/Makefile config.status: creating src/console/bconsole.conf config.status: creating src/gnome-console/Makefile config.status: creating src/gnome-console/gnome-console.conf config.status: creating src/gnome2-console/Makefile config.status: creating src/gnome2-console/gnome-console.conf config.status: creating src/wx-console/Makefile config.status: creating src/wx-console/wx-console.conf config.status: creating src/tray-monitor/Makefile config.status: creating src/tray-monitor/tray-monitor.conf config.status: creating src/dird/Makefile config.status: creating src/dird/bacula-dir.conf config.status: creating src/lib/Makefile config.status: creating src/stored/Makefile config.status: creating src/stored/bacula-sd.conf config.status: creating src/filed/Makefile config.status: creating src/filed/bacula-fd.conf config.status: creating src/filed/win32/Makefile config.status: creating src/cats/Makefile config.status: creating src/cats/make_catalog_backup config.status: creating src/cats/delete_catalog_backup config.status: creating src/cats/create_postgresql_database config.status: creating src/cats/update_postgresql_tables config.status: creating src/cats/make_postgresql_tables config.status: creating src/cats/grant_postgresql_privileges config.status: creating src/cats/drop_postgresql_tables config.status: creating src/cats/drop_postgresql_database config.status: creating src/cats/create_mysql_database config.status: creating src/cats/update_mysql_tables config.status: creating src/cats/make_mysql_tables config.status: creating src/cats/grant_mysql_privileges config.status: creating src/cats/drop_mysql_tables config.status: creating src/cats/drop_mysql_database config.status: creating src/cats/create_sqlite_database config.status: creating src/cats/update_sqlite_tables config.status: creating src/cats/make_sqlite_tables config.status: creating src/cats/grant_sqlite_privileges config.status: creating src/cats/drop_sqlite_tables config.status: creating src/cats/drop_sqlite_database config.status: creating src/cats/sqlite config.status: creating src/cats/mysql config.status: creating src/cats/create_bdb_database config.status: creating src/cats/update_bdb_tables config.status: creating src/cats/make_bdb_tables config.status: creating src/cats/grant_bdb_privileges config.status: creating src/cats/drop_bdb_tables config.status: creating src/cats/drop_bdb_database config.status: creating src/cats/create_bacula_database config.status: creating src/cats/update_bacula_tables config.status: creating src/cats/grant_bacula_privileges config.status: creating src/cats/make_bacula_tables config.status: creating src/cats/drop_bacula_tables config.status: creating src/cats/drop_bacula_database config.status: creating src/findlib/Makefile config.status: creating src/tools/Makefile config.status: creating src/win32/winbacula.nsi config.status: creating src/win32/baculafd/bacula-fd.conf config.status: creating src/win32/Makefile config.status: creating src/win32/console/bconsole.conf config.status: creating src/win32/wx-console/wx-console.conf config.status: creating src/win32/pebuilder/Makefile config.status: creating src/bimagemgr/Makefile config.status: creating src/bimagemgr/bacula-bimagemgr.spec config.status: creating platforms/Makefile config.status: creating platforms/freebsd/Makefile config.status: creating platforms/freebsd/bacula-fd config.status: creating platforms/freebsd/bacula-sd config.status: creating platforms/freebsd/bacula-dir config.status: creating src/config.h config.status: executing default commands Doing make of dependencies ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/scripts ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/lib ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/findlib ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/cats ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/dird ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/stored ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/tools Configuration on Sun Feb 13 19:02:01 MST 2005: Host: i386-portbld-freebsd4.11 -- freebsd 4.11-RELEASE Bacula version: 1.36.1 (26 November 2004) Source code location: . Install binaries: /usr/local/sbin Install config files: /usr/local/etc Scripts directory: /usr/local/share/bacula Working directory: /var/db/bacula PID directory: /var/run Subsys directory: /var/run/subsys C Compiler: cc 2.95.4 C++ Compiler: c++ 2.95.4 Compiler flags: -O -pipe -D_THREAD_SAFE Linker flags: -L/usr/local/lib Libraries: -D_THREAD_SAFE -lwrap -lxpg4 Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: PostgreSQL Database lib: -lcrypt -L/usr/local/lib -lpq Job Output Email: root@localhost Traceback Email: root@localhost SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: bacula Director Group: bacula Storage Daemon User: bacula Storage DaemonGroup: operator File Daemon User: root File Daemon Group: wheel SQL binaries Directory /usr/local/bin Large file support: yes Bacula conio support: no -lreadline -ltermcap readline support: yes TCP Wrappers support: yes ZLIB support: yes enable-smartalloc: yes enable-gnome: no enable-wx-console: no enable-tray-monitor: client-only: no ACL support: no ===> Building for bacula-server-1.36.1_1 ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/scripts ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/lib c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE alloc.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE attr.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE base64.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE berrno.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bsys.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bget_msg.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bnet.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bnet_server.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bpipe.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bshm.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE btime.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE cram-md5.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE crc32.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE daemon.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE edit.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE fnmatch.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE hmac.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE idcache.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE jcr.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE lex.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE alist.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE dlist.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE md5.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE message.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE mem_pool.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE parse_conf.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE queue.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE rwlock.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE scan.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE serial.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE sha1.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE semlock.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE signal.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE smartall.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE tree.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE util.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE var.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE watchdog.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE workq.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE btimers.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE address_conf.c /usr/bin/ar rc libbac.a alloc.o attr.o base64.o berrno.o bsys.o bget_msg.o bnet.o bnet_server.o bpipe.o bshm.o btime.o cram-md5.o crc32.o daemon.o edit.o fnmatch.o hmac.o idcache.o jcr.o lex.o alist.o dlist.o md5.o message.o mem_pool.o parse_conf.o queue.o rwlock.o scan.o serial.o sha1.o semlock.o signal.o smartall.o tree.o util.o var.o watchdog.o workq.o btimers.o address_conf.o ranlib libbac.a ==== Make of lib is good ==== ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/findlib c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE find.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE match.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE find_one.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE attribs.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE create_file.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bfile.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE enable_priv.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE makepath.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE save-cwd.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE winapi.c /bin/rm -f libfind.a /usr/bin/ar cr libfind.a find.o match.o find_one.o attribs.o create_file.o bfile.o enable_priv.o makepath.o save-cwd.o winapi.o ranlib libfind.a ==== Make of findlib is good ==== ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/cats c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE mysql.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb_create.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb_get.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb_update.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb_delete.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb_find.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE bdb_list.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql_create.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql_delete.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql_find.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql_get.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql_list.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sql_update.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE sqlite.c c++ -c -I/usr/local/include -I. -I.. -I/usr/local/include -O -pipe -D_THREAD_SAFE postgresql.c /usr/bin/ar rc libsql.a mysql.o bdb.o bdb_create.o bdb_get.o bdb_update.o bdb_delete.o bdb_find.o bdb_list.o sql.o sql_create.o sql_delete.o sql_find.o sql_get.o sql_list.o sql_update.o sqlite.o postgresql.o ranlib libsql.a ==== Make of cats is good ==== ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/dird c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE dird.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE admin.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE authenticate.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE autoprune.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE backup.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bsr.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE catreq.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE dird_conf.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE expand.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE fd_cmds.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE getmsg.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE inc_conf.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE job.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE jobq.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE mac.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE mountreq.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE msgchan.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE next_vol.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE newvol.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE recycle.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE restore.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE run_conf.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE scheduler.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE sql_cmds.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_acl.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_cmds.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_dotcmds.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_query.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_input.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_label.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_output.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_prune.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_purge.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_restore.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_run.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_select.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_server.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_status.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE ua_tree.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE verify.c c++ -L/usr/local/lib -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o mac.o mountreq.o msgchan.o next_vol.o newvol.o recycle.o restore.o run_conf.o scheduler.o sql_cmds.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o verify.o -lsql -lfind -lbac -lm -lcrypt -L/usr/local/lib -lpq -D_THREAD_SAFE -lwrap -lxpg4 backup.o: In function `backup_cleanup(JCR *, int, char *, FILESET_DBR *)': backup.o(.text+0xadb): undefined reference to `pthread_cancel' job.o: In function `run_job(JCR *)': job.o(.text+0x156): undefined reference to `pthread_mutex_lock' job.o(.text+0x1bc): undefined reference to `pthread_cond_init' job.o(.text+0x461): undefined reference to `pthread_mutex_unlock' job.o(.text+0x4a2): undefined reference to `pthread_mutex_unlock' job.o: In function `job_thread(void *)': job.o(.text+0x4fd): undefined reference to `pthread_self' job.o(.text+0x509): undefined reference to `pthread_detach' job.o: In function `create_unique_job_name(JCR *, char const *)': job.o(.text+0x1558): undefined reference to `pthread_mutex_lock' job.o(.text+0x15e6): undefined reference to `pthread_mutex_unlock' job.o: In function `dird_free_jcr(JCR *)': job.o(.text+0x1890): undefined reference to `pthread_cond_destroy' jobq.o: In function `jobq_init(jobq_t *, int, void *(*)(void *))': jobq.o(.text+0x22): undefined reference to `pthread_attr_init' jobq.o(.text+0x77): undefined reference to `pthread_attr_setdetachstate' jobq.o(.text+0xa2): undefined reference to `pthread_mutex_init' jobq.o(.text+0xe9): undefined reference to `pthread_cond_init' jobq.o(.text+0x129): undefined reference to `pthread_mutex_destroy' jobq.o(.text+0x138): undefined reference to `pthread_attr_destroy' jobq.o: In function `jobq_destroy(jobq_t *)': jobq.o(.text+0x2ed): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x33b): undefined reference to `pthread_cond_broadcast' jobq.o(.text+0x37a): undefined reference to `pthread_cond_wait' jobq.o(.text+0x392): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x3fc): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x40d): undefined reference to `pthread_mutex_destroy' jobq.o(.text+0x41b): undefined reference to `pthread_cond_destroy' jobq.o(.text+0x42d): undefined reference to `pthread_attr_destroy' jobq.o: In function `sched_wait': jobq.o(.text+0x5c4): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x60d): undefined reference to `pthread_mutex_unlock' jobq.o: In function `jobq_add(jobq_t *, JCR *)': jobq.o(.text+0x78d): undefined reference to `pthread_create' jobq.o(.text+0x7d4): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x98c): undefined reference to `pthread_mutex_unlock' jobq.o: In function `jobq_remove(jobq_t *, JCR *)': jobq.o(.text+0xa03): undefined reference to `pthread_mutex_lock' jobq.o(.text+0xab9): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xae5): undefined reference to `pthread_mutex_unlock' jobq.o: In function `start_server(jobq_t *)': jobq.o(.text+0xb50): undefined reference to `pthread_cond_signal' jobq.o(.text+0xbb0): undefined reference to `pthread_create' jobq.o: In function `jobq_server': jobq.o(.text+0xc26): undefined reference to `pthread_mutex_lock' jobq.o(.text+0xc6f): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xe14): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xe52): undefined reference to `pthread_cond_timedwait' jobq.o(.text+0xf47): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xfb9): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x1182): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x11d0): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x12a4): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x12ff): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x13b0): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x1418): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x1719): undefined reference to `pthread_cond_broadcast' jobq.o(.text+0x17c6): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x17e9): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x185d): undefined reference to `pthread_mutex_unlock' mac.o: In function `mac_cleanup(JCR *, int, char *, FILESET_DBR *, char const *)': mac.o(.text+0x8ff): undefined reference to `pthread_cancel' mountreq.o: In function `mount_request(JCR *, BSOCK *, char *)': mountreq.o(.text+0x41): undefined reference to `pthread_mutex_lock' mountreq.o(.text+0x94): undefined reference to `pthread_mutex_unlock' msgchan.o: In function `start_storage_daemon_message_thread(JCR *)': msgchan.o(.text+0x6f6): undefined reference to `pthread_mutex_lock' msgchan.o(.text+0x74c): undefined reference to `pthread_mutex_unlock' msgchan.o(.text+0x7a3): undefined reference to `pthread_create' msgchan.o: In function `msg_thread_cleanup': msgchan.o(.text+0x851): undefined reference to `pthread_mutex_lock' msgchan.o(.text+0x896): undefined reference to `pthread_cond_broadcast' msgchan.o(.text+0x8af): undefined reference to `pthread_mutex_unlock' msgchan.o: In function `msg_thread': msgchan.o(.text+0x90f): undefined reference to `pthread_self' msgchan.o(.text+0x915): undefined reference to `pthread_detach' msgchan.o(.text+0x91a): undefined reference to `pthread_self' msgchan.o(.text+0x92e): undefined reference to `pthread_cleanup_push' msgchan.o(.text+0xa68): undefined reference to `pthread_cleanup_pop' msgchan.o: In function `wait_for_storage_daemon_termination(JCR *)': msgchan.o(.text+0xaa0): undefined reference to `pthread_mutex_lock' msgchan.o(.text+0xb34): undefined reference to `pthread_cond_timedwait' msgchan.o(.text+0xb78): undefined reference to `pthread_mutex_unlock' restore.o: In function `restore_cleanup(JCR *, int)': restore.o(.text+0x597): undefined reference to `pthread_cancel' ua_output.o: In function `do_messages(UAContext *, char const *)': ua_output.o(.text+0x150f): undefined reference to `pthread_cleanup_push' ua_output.o(.text+0x15e6): undefined reference to `pthread_cleanup_pop' ua_server.o: In function `start_UA_server(dlist *)': ua_server.o(.text+0x3c): undefined reference to `pthread_create' ua_server.o: In function `connect_thread': ua_server.o(.text+0xee): undefined reference to `pthread_self' ua_server.o(.text+0xf4): undefined reference to `pthread_detach' ua_server.o: In function `handle_UA_client_request(void *)': ua_server.o(.text+0x274): undefined reference to `pthread_self' ua_server.o(.text+0x27a): undefined reference to `pthread_detach' ../cats/libsql.a(postgresql.o): In function `db_init_database(JCR *, char const *, char const *, char const *, char const *, int, char const *, int)': postgresql.o(.text+0x35): undefined reference to `pthread_mutex_lock' postgresql.o(.text+0xb4): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x31d): undefined reference to `pthread_mutex_unlock' ../cats/libsql.a(postgresql.o): In function `db_open_database(JCR *, s_db *)': postgresql.o(.text+0x369): undefined reference to `pthread_mutex_lock' postgresql.o(.text+0x3ab): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x424): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x547): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x58c): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x5d1): undefined reference to `pthread_mutex_unlock' ../cats/libsql.a(postgresql.o): In function `db_close_database(JCR *, s_db *)': postgresql.o(.text+0x62b): undefined reference to `pthread_mutex_lock' postgresql.o(.text+0x7ec): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bstrerror(int, char *, unsigned int)': bsys.o(.text+0x215): undefined reference to `pthread_mutex_init' bsys.o(.text+0x22f): undefined reference to `pthread_mutex_lock' bsys.o(.text+0x29b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bmicrosleep(long, long)': bsys.o(.text+0xac2): undefined reference to `pthread_mutex_lock' bsys.o(.text+0xb0a): undefined reference to `pthread_cond_timedwait' bsys.o(.text+0xbb1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet.o): In function `resolv_host(int, char const *, dlist *)': bnet.o(.text+0xcce): undefined reference to `pthread_mutex_lock' bnet.o(.text+0xd2d): undefined reference to `pthread_mutex_unlock' bnet.o(.text+0xe58): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet_server.o): In function `bnet_stop_thread_server(pthread *)': bnet_server.o(.text+0x15): undefined reference to `pthread_self' bnet_server.o(.text+0x1c): undefined reference to `pthread_equal' bnet_server.o(.text+0x2e): undefined reference to `pthread_kill' ../lib/libbac.a(bnet_server.o): In function `bnet_thread_server(dlist *, int, workq_tag *, void *(*)(void *))': bnet_server.o(.text+0x7c6): undefined reference to `pthread_mutex_lock' bnet_server.o(.text+0x840): undefined reference to `pthread_mutex_unlock' bnet_server.o(.text+0x8e5): undefined reference to `pthread_mutex_unlock' bnet_server.o(.text+0x9ee): undefined reference to `pthread_mutex_lock' bnet_server.o(.text+0xa5c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getuser(unsigned int, char *, int)': idcache.o(.text+0x12): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getuser_cache(void)': idcache.o(.text+0x1a9): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x229): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getgroup(unsigned int, char *, int)': idcache.o(.text+0x272): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x3bd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getgroup_cache(void)': idcache.o(.text+0x40d): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x493): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `new_jcr(int, void (*)(JCR *))': jcr.o(.text+0x4fc): undefined reference to `pthread_self' jcr.o(.text+0x5c5): undefined reference to `pthread_mutex_init' ../lib/libbac.a(jcr.o): In function `free_common_jcr(JCR *)': jcr.o(.text+0x8c6): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(jcr.o): In function `get_jcr_by_id(unsigned int)': jcr.o(.text+0xc74): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xcb7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_session(unsigned int, unsigned int)': jcr.o(.text+0xd70): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xdb3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_partial_name(char *)': jcr.o(.text+0xe8d): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xecf): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_full_name(char *)': jcr.o(.text+0xf94): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xfd7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_next_jcr(JCR *)': jcr.o(.text+0x1126): undefined reference to `pthread_mutex_lock' jcr.o(.text+0x116b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `jcr_timeout_check(s_watchdog_t *)': jcr.o(.text+0x128f): undefined reference to `pthread_kill' jcr.o(.text+0x12e8): undefined reference to `pthread_kill' jcr.o(.text+0x1341): undefined reference to `pthread_kill' ../lib/libbac.a(message.o): In function `close_msg(JCR *)': message.o(.text+0xb90): undefined reference to `pthread_mutex_lock' message.o(.text+0x1005): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `Qmsg(JCR *, int, long, char const *,...)': message.o(.text+0x25b9): undefined reference to `pthread_mutex_lock' message.o(.text+0x2607): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `dequeue_messages(JCR *)': message.o(.text+0x266c): undefined reference to `pthread_mutex_lock' message.o(.text+0x26f3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_get_pool_memory(char const *, int, int)': mem_pool.o(.text+0x3b): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xaf): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x145): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x1d3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_realloc_pool_memory(char const *, int, char *, int)': mem_pool.o(.text+0x32d): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x385): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x3f8): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_free_pool_memory(char const *, int, char *)': mem_pool.o(.text+0x4ef): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x59f): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x650): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `close_memory_pool(void)': mem_pool.o(.text+0x6b4): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x73c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `POOL_MEM::realloc_pm(int)': mem_pool.o(.text+0xb56): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xbb5): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0xc4e): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_init(s_rwlock_tag *)': rwlock.o(.text+0x2e): undefined reference to `pthread_mutex_init' rwlock.o(.text+0x45): undefined reference to `pthread_cond_init' rwlock.o(.text+0x5c): undefined reference to `pthread_cond_init' rwlock.o(.text+0x7c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x85): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_destroy(s_rwlock_tag *)': rwlock.o(.text+0xb9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0xe3): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0xfc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x10e): undefined reference to `pthread_mutex_destroy' rwlock.o(.text+0x11c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x12d): undefined reference to `pthread_cond_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_read_release(void *)': rwlock.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_write_release(void *)': rwlock.o(.text+0x175): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readlock(s_rwlock_tag *)': rwlock.o(.text+0x19d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x1bd): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x1d4): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x1e7): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x1fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readtrylock(s_rwlock_tag *)': rwlock.o(.text+0x22d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x250): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readunlock(s_rwlock_tag *)': rwlock.o(.text+0x289): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x2a9): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x2b7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writelock(s_rwlock_tag *)': rwlock.o(.text+0x2f1): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x30c): undefined reference to `pthread_self' rwlock.o(.text+0x315): undefined reference to `pthread_equal' rwlock.o(.text+0x328): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x349): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x366): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x379): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x38b): undefined reference to `pthread_self' rwlock.o(.text+0x397): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writetrylock(s_rwlock_tag *)': rwlock.o(.text+0x3c9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x3e0): undefined reference to `pthread_self' rwlock.o(.text+0x3e9): undefined reference to `pthread_equal' rwlock.o(.text+0x3fc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x420): undefined reference to `pthread_self' rwlock.o(.text+0x42c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writeunlock(s_rwlock_tag *)': rwlock.o(.text+0x469): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x4a8): undefined reference to `pthread_self' rwlock.o(.text+0x4ae): undefined reference to `pthread_equal' rwlock.o(.text+0x4f2): undefined reference to `pthread_cond_broadcast' rwlock.o(.text+0x506): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x514): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `smalloc(char const *, int, unsigned int)': smartall.o(.text+0x5b): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x123): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_free(char const *, int, void *)': smartall.o(.text+0x1ea): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x230): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x29a): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x314): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x3af): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_dump(bool)': smartall.o(.text+0x605): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x80a): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_check_rtn(char const *, int, bool)': smartall.o(.text+0x8ad): undefined reference to `pthread_mutex_lock' smartall.o(.text+0xae1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `start_watchdog(void)': watchdog.o(.text+0x1c4): undefined reference to `pthread_create' ../lib/libbac.a(watchdog.o): In function `ping_watchdog(void)': watchdog.o(.text+0x2b3): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x2ed): undefined reference to `pthread_cond_signal' watchdog.o(.text+0x2fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `stop_watchdog(void)': watchdog.o(.text+0x367): undefined reference to `pthread_join' ../lib/libbac.a(watchdog.o): In function `watchdog_thread': watchdog.o(.text+0x83a): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x87f): undefined reference to `pthread_cond_timedwait' watchdog.o(.text+0x88f): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_init(workq_tag *, int, void *(*)(void *))': workq.o(.text+0x14): undefined reference to `pthread_attr_init' workq.o(.text+0x2f): undefined reference to `pthread_attr_setdetachstate' workq.o(.text+0x4b): undefined reference to `pthread_mutex_init' workq.o(.text+0x62): undefined reference to `pthread_cond_init' workq.o(.text+0xb1): undefined reference to `pthread_mutex_destroy' workq.o(.text+0xbd): undefined reference to `pthread_attr_destroy' ../lib/libbac.a(workq.o): In function `workq_destroy(workq_tag *)': workq.o(.text+0xf1): undefined reference to `pthread_mutex_lock' workq.o(.text+0x124): undefined reference to `pthread_cond_broadcast' workq.o(.text+0x142): undefined reference to `pthread_cond_wait' workq.o(.text+0x15a): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x171): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x181): undefined reference to `pthread_mutex_destroy' workq.o(.text+0x18f): undefined reference to `pthread_cond_destroy' workq.o(.text+0x1a0): undefined reference to `pthread_attr_destroy' ../lib/libbac.a(workq.o): In function `workq_add(workq_tag *, void *, workq_ele_tag **, int)': workq.o(.text+0x231): undefined reference to `pthread_mutex_lock' workq.o(.text+0x2c7): undefined reference to `pthread_cond_signal' workq.o(.text+0x2d9): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x310): undefined reference to `pthread_create' workq.o(.text+0x325): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_remove(workq_tag *, workq_ele_tag *)': workq.o(.text+0x398): undefined reference to `pthread_mutex_lock' workq.o(.text+0x41c): undefined reference to `pthread_cond_signal' workq.o(.text+0x42e): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x45c): undefined reference to `pthread_create' workq.o(.text+0x46e): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x47c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_server': workq.o(.text+0x4ce): undefined reference to `pthread_mutex_lock' workq.o(.text+0x501): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x5ce): undefined reference to `pthread_cond_timedwait' workq.o(.text+0x624): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x6a9): undefined reference to `pthread_mutex_lock' workq.o(.text+0x708): undefined reference to `pthread_cond_broadcast' workq.o(.text+0x72d): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x802): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(btimers.o): In function `start_bsock_timer(BSOCK *, unsigned int)': btimers.o(.text+0x209): undefined reference to `pthread_self' ../lib/libbac.a(btimers.o): In function `callback_thread_timer(s_watchdog_t *)': btimers.o(.text+0x39b): undefined reference to `pthread_kill' *** Error code 1 Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/dird.  ====== Error in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/dird ====== ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/stored c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE stored.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE autochanger.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE acquire.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE append.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE askdir.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE authenticate.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE block.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE butil.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE dev.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE device.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE dircmd.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE fd_cmds.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE job.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE label.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE match_bsr.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE mount.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE parse_bsr.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE read.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE read_record.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE record.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE spool.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE status.c c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE stored_conf.c c++ -L/usr/local/lib -L../lib -o bacula-sd stored.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o dev.o device.o dircmd.o fd_cmds.o job.o label.o match_bsr.o mount.o parse_bsr.o read.o read_record.o record.o spool.o status.o stored_conf.o -lz -lbac -lm -D_THREAD_SAFE -lwrap -lxpg4 stored.o: In function `main': stored.o(.text+0x337): undefined reference to `pthread_create' stored.o: In function `newVolSessionId(void)': stored.o(.text+0x3c4): undefined reference to `pthread_mutex_lock' stored.o(.text+0x40d): undefined reference to `pthread_mutex_unlock' stored.o: In function `device_allocation': stored.o(.text+0x693): undefined reference to `pthread_self' stored.o(.text+0x699): undefined reference to `pthread_detach' stored.o(.text+0x7dc): undefined reference to `pthread_cond_init' stored.o: In function `terminate_stored(int)': stored.o(.text+0x96d): undefined reference to `pthread_kill' stored.o(.text+0x9a0): undefined reference to `pthread_cond_signal' acquire.o: In function `acquire_device_for_read(JCR *)': acquire.o(.text+0x5da): undefined reference to `pthread_mutex_lock' acquire.o(.text+0x62e): undefined reference to `pthread_mutex_unlock' acquire.o: In function `acquire_device_for_append(JCR *)': acquire.o(.text+0x732): undefined reference to `pthread_mutex_lock' acquire.o(.text+0x89f): undefined reference to `pthread_mutex_lock' acquire.o(.text+0x8f2): undefined reference to `pthread_mutex_unlock' acquire.o(.text+0xb11): undefined reference to `pthread_mutex_unlock' acquire.o(.text+0xb67): undefined reference to `pthread_mutex_lock' acquire.o(.text+0xc42): undefined reference to `pthread_mutex_lock' acquire.o(.text+0xc96): undefined reference to `pthread_mutex_unlock' acquire.o(.text+0xcd5): undefined reference to `pthread_mutex_unlock' acquire.o: In function `release_device(JCR *)': acquire.o(.text+0x1141): undefined reference to `pthread_mutex_lock' acquire.o(.text+0x11a3): undefined reference to `pthread_mutex_unlock' askdir.o: In function `wait_for_sysop(DCR *)': askdir.o(.text+0x1238): undefined reference to `pthread_mutex_lock' askdir.o(.text+0x13ab): undefined reference to `pthread_cond_timedwait' askdir.o(.text+0x15d5): undefined reference to `pthread_mutex_unlock' dev.o: In function `init_dev(DEVICE *, DEVRES *)': dev.o(.text+0x40b): undefined reference to `pthread_mutex_init' dev.o(.text+0x4f8): undefined reference to `pthread_cond_init' dev.o(.text+0x5eb): undefined reference to `pthread_cond_init' dev.o(.text+0x6de): undefined reference to `pthread_mutex_init' dev.o: In function `open_dev(DEVICE *, char *, int)': dev.o(.text+0xb16): undefined reference to `pthread_self' dev.o: In function `term_dev(DEVICE *)': dev.o(.text+0x34b8): undefined reference to `pthread_mutex_destroy' dev.o(.text+0x34c4): undefined reference to `pthread_cond_destroy' dev.o(.text+0x34d3): undefined reference to `pthread_cond_destroy' dev.o(.text+0x34df): undefined reference to `pthread_mutex_destroy' device.o: In function `fixup_device_block_write_error(DCR *)': device.o(.text+0xf2): undefined reference to `pthread_mutex_lock' device.o(.text+0x240): undefined reference to `pthread_mutex_lock' device.o(.text+0x294): undefined reference to `pthread_mutex_lock' device.o: In function `_lock_device(char const *, int, DEVICE *)': device.o(.text+0x934): undefined reference to `pthread_mutex_lock' device.o(.text+0x976): undefined reference to `pthread_self' device.o(.text+0x97f): undefined reference to `pthread_equal' device.o(.text+0x9a9): undefined reference to `pthread_cond_wait' device.o(.text+0x9bb): undefined reference to `pthread_mutex_unlock' device.o: In function `_unlock_device(char const *, int, DEVICE *)': device.o(.text+0xad7): undefined reference to `pthread_mutex_unlock' device.o: In function `_block_device(char const *, int, DEVICE *, int)': device.o(.text+0xb78): undefined reference to `pthread_self' device.o: In function `_unblock_device(char const *, int, DEVICE *)': device.o(.text+0xc06): undefined reference to `pthread_cond_broadcast' device.o: In function `_steal_device_lock(char const *, int, DEVICE *, s_steal_lock *, int)': device.o(.text+0xc5d): undefined reference to `pthread_self' device.o(.text+0xc6c): undefined reference to `pthread_mutex_unlock' device.o: In function `_give_back_device_lock(char const *, int, DEVICE *, s_steal_lock *)': device.o(.text+0xce2): undefined reference to `pthread_mutex_lock' device.o(.text+0xd3b): undefined reference to `pthread_cond_broadcast' dircmd.o: In function `handle_connection_request(void *)': dircmd.o(.text+0x14d): undefined reference to `pthread_cond_init' dircmd.o: In function `cancel_cmd(JCR *)': dircmd.o(.text+0x4c4): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0x525): undefined reference to `pthread_cond_signal' dircmd.o(.text+0x534): undefined reference to `pthread_mutex_unlock' dircmd.o(.text+0x5b6): undefined reference to `pthread_cond_signal' dircmd.o: In function `do_label(JCR *, int)': dircmd.o(.text+0x7c8): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0x8c0): undefined reference to `pthread_mutex_unlock' dircmd.o: In function `mount_cmd(JCR *)': dircmd.o(.text+0xd64): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0xdec): undefined reference to `pthread_cond_signal' dircmd.o(.text+0xedf): undefined reference to `pthread_cond_signal' dircmd.o(.text+0xffc): undefined reference to `pthread_mutex_unlock' dircmd.o: In function `unmount_cmd(JCR *)': dircmd.o(.text+0x113a): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0x1340): undefined reference to `pthread_mutex_unlock' dircmd.o: In function `release_cmd(JCR *)': dircmd.o(.text+0x147e): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0x1646): undefined reference to `pthread_mutex_unlock' dircmd.o: In function `autochanger_cmd(JCR *)': dircmd.o(.text+0x1788): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0x1861): undefined reference to `pthread_mutex_unlock' dircmd.o: In function `readlabel_cmd(JCR *)': dircmd.o(.text+0x199f): undefined reference to `pthread_mutex_lock' dircmd.o(.text+0x1a6c): undefined reference to `pthread_mutex_unlock' job.o: In function `job_cmd(JCR *)': job.o(.text+0x58b): undefined reference to `pthread_mutex_lock' job.o(.text+0x5f7): undefined reference to `pthread_cond_timedwait' job.o(.text+0x60f): undefined reference to `pthread_mutex_unlock' job.o: In function `handle_filed_connection(BSOCK *, char *)': job.o(.text+0x90f): undefined reference to `pthread_mutex_lock' job.o(.text+0x966): undefined reference to `pthread_cond_signal' job.o(.text+0x975): undefined reference to `pthread_mutex_unlock' job.o: In function `stored_free_jcr(JCR *)': job.o(.text+0x108a): undefined reference to `pthread_cond_destroy' spool.o: In function `begin_data_spool(JCR *)': spool.o(.text+0x154): undefined reference to `pthread_mutex_lock' spool.o(.text+0x193): undefined reference to `pthread_mutex_unlock' spool.o: In function `close_data_spool_file(JCR *)': spool.o(.text+0x451): undefined reference to `pthread_mutex_lock' spool.o(.text+0x4fd): undefined reference to `pthread_mutex_unlock' spool.o: In function `despool_data(DCR *, bool)': spool.o(.text+0x8ca): undefined reference to `pthread_mutex_lock' spool.o(.text+0x952): undefined reference to `pthread_mutex_unlock' spool.o(.text+0x996): undefined reference to `pthread_mutex_lock' spool.o(.text+0xa02): undefined reference to `pthread_mutex_unlock' spool.o: In function `write_block_to_spool_file(DCR *)': spool.o(.text+0xd72): undefined reference to `pthread_mutex_lock' spool.o(.text+0xe22): undefined reference to `pthread_mutex_unlock' spool.o(.text+0xe61): undefined reference to `pthread_mutex_lock' spool.o(.text+0xee1): undefined reference to `pthread_mutex_unlock' spool.o(.text+0xf6b): undefined reference to `pthread_mutex_lock' spool.o(.text+0xfc7): undefined reference to `pthread_mutex_unlock' spool.o: In function `update_attr_spool_size(int)': spool.o(.text+0x1500): undefined reference to `pthread_mutex_lock' spool.o(.text+0x1589): undefined reference to `pthread_mutex_unlock' spool.o: In function `commit_attribute_spool(JCR *)': spool.o(.text+0x169b): undefined reference to `pthread_mutex_lock' spool.o(.text+0x1729): undefined reference to `pthread_mutex_unlock' spool.o: In function `open_attr_spool_file(JCR *, BSOCK *)': spool.o(.text+0x18e1): undefined reference to `pthread_mutex_lock' spool.o(.text+0x1923): undefined reference to `pthread_mutex_unlock' spool.o: In function `close_attr_spool_file(JCR *, BSOCK *)': spool.o(.text+0x19af): undefined reference to `pthread_mutex_lock' spool.o(.text+0x19f9): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bstrerror(int, char *, unsigned int)': bsys.o(.text+0x215): undefined reference to `pthread_mutex_init' bsys.o(.text+0x22f): undefined reference to `pthread_mutex_lock' bsys.o(.text+0x29b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bmicrosleep(long, long)': bsys.o(.text+0xac2): undefined reference to `pthread_mutex_lock' bsys.o(.text+0xb0a): undefined reference to `pthread_cond_timedwait' bsys.o(.text+0xbb1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet.o): In function `resolv_host(int, char const *, dlist *)': bnet.o(.text+0xcce): undefined reference to `pthread_mutex_lock' bnet.o(.text+0xd2d): undefined reference to `pthread_mutex_unlock' bnet.o(.text+0xe58): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet_server.o): In function `bnet_stop_thread_server(pthread *)': bnet_server.o(.text+0x15): undefined reference to `pthread_self' bnet_server.o(.text+0x1c): undefined reference to `pthread_equal' bnet_server.o(.text+0x2e): undefined reference to `pthread_kill' ../lib/libbac.a(bnet_server.o): In function `bnet_thread_server(dlist *, int, workq_tag *, void *(*)(void *))': bnet_server.o(.text+0x7c6): undefined reference to `pthread_mutex_lock' bnet_server.o(.text+0x840): undefined reference to `pthread_mutex_unlock' bnet_server.o(.text+0x8e5): undefined reference to `pthread_mutex_unlock' bnet_server.o(.text+0x9ee): undefined reference to `pthread_mutex_lock' bnet_server.o(.text+0xa5c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `new_jcr(int, void (*)(JCR *))': jcr.o(.text+0x4fc): undefined reference to `pthread_self' jcr.o(.text+0x5c5): undefined reference to `pthread_mutex_init' ../lib/libbac.a(jcr.o): In function `free_common_jcr(JCR *)': jcr.o(.text+0x8c6): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(jcr.o): In function `get_jcr_by_id(unsigned int)': jcr.o(.text+0xc74): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xcb7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_session(unsigned int, unsigned int)': jcr.o(.text+0xd70): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xdb3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_partial_name(char *)': jcr.o(.text+0xe8d): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xecf): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_full_name(char *)': jcr.o(.text+0xf94): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xfd7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_next_jcr(JCR *)': jcr.o(.text+0x1126): undefined reference to `pthread_mutex_lock' jcr.o(.text+0x116b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `jcr_timeout_check(s_watchdog_t *)': jcr.o(.text+0x128f): undefined reference to `pthread_kill' jcr.o(.text+0x12e8): undefined reference to `pthread_kill' jcr.o(.text+0x1341): undefined reference to `pthread_kill' ../lib/libbac.a(message.o): In function `close_msg(JCR *)': message.o(.text+0xb90): undefined reference to `pthread_mutex_lock' message.o(.text+0x1005): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `Qmsg(JCR *, int, long, char const *,...)': message.o(.text+0x25b9): undefined reference to `pthread_mutex_lock' message.o(.text+0x2607): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `dequeue_messages(JCR *)': message.o(.text+0x266c): undefined reference to `pthread_mutex_lock' message.o(.text+0x26f3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_get_pool_memory(char const *, int, int)': mem_pool.o(.text+0x3b): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xaf): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x145): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x1d3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_realloc_pool_memory(char const *, int, char *, int)': mem_pool.o(.text+0x32d): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x385): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x3f8): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_free_pool_memory(char const *, int, char *)': mem_pool.o(.text+0x4ef): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x59f): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x650): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `close_memory_pool(void)': mem_pool.o(.text+0x6b4): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x73c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `POOL_MEM::realloc_pm(int)': mem_pool.o(.text+0xb56): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xbb5): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0xc4e): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_init(s_rwlock_tag *)': rwlock.o(.text+0x2e): undefined reference to `pthread_mutex_init' rwlock.o(.text+0x45): undefined reference to `pthread_cond_init' rwlock.o(.text+0x5c): undefined reference to `pthread_cond_init' rwlock.o(.text+0x7c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x85): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_destroy(s_rwlock_tag *)': rwlock.o(.text+0xb9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0xe3): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0xfc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x10e): undefined reference to `pthread_mutex_destroy' rwlock.o(.text+0x11c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x12d): undefined reference to `pthread_cond_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_read_release(void *)': rwlock.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_write_release(void *)': rwlock.o(.text+0x175): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readlock(s_rwlock_tag *)': rwlock.o(.text+0x19d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x1bd): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x1d4): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x1e7): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x1fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readtrylock(s_rwlock_tag *)': rwlock.o(.text+0x22d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x250): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readunlock(s_rwlock_tag *)': rwlock.o(.text+0x289): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x2a9): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x2b7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writelock(s_rwlock_tag *)': rwlock.o(.text+0x2f1): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x30c): undefined reference to `pthread_self' rwlock.o(.text+0x315): undefined reference to `pthread_equal' rwlock.o(.text+0x328): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x349): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x366): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x379): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x38b): undefined reference to `pthread_self' rwlock.o(.text+0x397): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writetrylock(s_rwlock_tag *)': rwlock.o(.text+0x3c9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x3e0): undefined reference to `pthread_self' rwlock.o(.text+0x3e9): undefined reference to `pthread_equal' rwlock.o(.text+0x3fc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x420): undefined reference to `pthread_self' rwlock.o(.text+0x42c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writeunlock(s_rwlock_tag *)': rwlock.o(.text+0x469): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x4a8): undefined reference to `pthread_self' rwlock.o(.text+0x4ae): undefined reference to `pthread_equal' rwlock.o(.text+0x4f2): undefined reference to `pthread_cond_broadcast' rwlock.o(.text+0x506): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x514): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `smalloc(char const *, int, unsigned int)': smartall.o(.text+0x5b): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x123): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_free(char const *, int, void *)': smartall.o(.text+0x1ea): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x230): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x29a): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x314): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x3af): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_dump(bool)': smartall.o(.text+0x605): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x80a): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_check_rtn(char const *, int, bool)': smartall.o(.text+0x8ad): undefined reference to `pthread_mutex_lock' smartall.o(.text+0xae1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `start_watchdog(void)': watchdog.o(.text+0x1c4): undefined reference to `pthread_create' ../lib/libbac.a(watchdog.o): In function `ping_watchdog(void)': watchdog.o(.text+0x2b3): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x2ed): undefined reference to `pthread_cond_signal' watchdog.o(.text+0x2fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `stop_watchdog(void)': watchdog.o(.text+0x367): undefined reference to `pthread_join' ../lib/libbac.a(watchdog.o): In function `watchdog_thread': watchdog.o(.text+0x83a): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x87f): undefined reference to `pthread_cond_timedwait' watchdog.o(.text+0x88f): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_init(workq_tag *, int, void *(*)(void *))': workq.o(.text+0x14): undefined reference to `pthread_attr_init' workq.o(.text+0x2f): undefined reference to `pthread_attr_setdetachstate' workq.o(.text+0x4b): undefined reference to `pthread_mutex_init' workq.o(.text+0x62): undefined reference to `pthread_cond_init' workq.o(.text+0xb1): undefined reference to `pthread_mutex_destroy' workq.o(.text+0xbd): undefined reference to `pthread_attr_destroy' ../lib/libbac.a(workq.o): In function `workq_destroy(workq_tag *)': workq.o(.text+0xf1): undefined reference to `pthread_mutex_lock' workq.o(.text+0x124): undefined reference to `pthread_cond_broadcast' workq.o(.text+0x142): undefined reference to `pthread_cond_wait' workq.o(.text+0x15a): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x171): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x181): undefined reference to `pthread_mutex_destroy' workq.o(.text+0x18f): undefined reference to `pthread_cond_destroy' workq.o(.text+0x1a0): undefined reference to `pthread_attr_destroy' ../lib/libbac.a(workq.o): In function `workq_add(workq_tag *, void *, workq_ele_tag **, int)': workq.o(.text+0x231): undefined reference to `pthread_mutex_lock' workq.o(.text+0x2c7): undefined reference to `pthread_cond_signal' workq.o(.text+0x2d9): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x310): undefined reference to `pthread_create' workq.o(.text+0x325): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_remove(workq_tag *, workq_ele_tag *)': workq.o(.text+0x398): undefined reference to `pthread_mutex_lock' workq.o(.text+0x41c): undefined reference to `pthread_cond_signal' workq.o(.text+0x42e): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x45c): undefined reference to `pthread_create' workq.o(.text+0x46e): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x47c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_server': workq.o(.text+0x4ce): undefined reference to `pthread_mutex_lock' workq.o(.text+0x501): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x5ce): undefined reference to `pthread_cond_timedwait' workq.o(.text+0x624): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x6a9): undefined reference to `pthread_mutex_lock' workq.o(.text+0x708): undefined reference to `pthread_cond_broadcast' workq.o(.text+0x72d): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x802): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(btimers.o): In function `start_bsock_timer(BSOCK *, unsigned int)': btimers.o(.text+0x209): undefined reference to `pthread_self' ../lib/libbac.a(btimers.o): In function `callback_thread_timer(s_watchdog_t *)': btimers.o(.text+0x39b): undefined reference to `pthread_kill' ../lib/libbac.a(idcache.o): In function `getuser(unsigned int, char *, int)': idcache.o(.text+0x12): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getuser_cache(void)': idcache.o(.text+0x1a9): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x229): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getgroup(unsigned int, char *, int)': idcache.o(.text+0x272): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x3bd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getgroup_cache(void)': idcache.o(.text+0x40d): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x493): undefined reference to `pthread_mutex_unlock' *** Error code 1 Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/stored.  ====== Error in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/stored ====== ==>Entering directory /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/tools c++ -c -I/usr/local/include -I. -I.. -O -pipe -D_THREAD_SAFE bsmtp.c c++ -L/usr/local/lib -L../lib -o bsmtp bsmtp.o -lbac -lm -D_THREAD_SAFE -lwrap -lxpg4 ../lib/libbac.a(bsys.o): In function `bstrerror(int, char *, unsigned int)': bsys.o(.text+0x215): undefined reference to `pthread_mutex_init' bsys.o(.text+0x22f): undefined reference to `pthread_mutex_lock' bsys.o(.text+0x29b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bmicrosleep(long, long)': bsys.o(.text+0xac2): undefined reference to `pthread_mutex_lock' bsys.o(.text+0xb0a): undefined reference to `pthread_cond_timedwait' bsys.o(.text+0xbb1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `new_jcr(int, void (*)(JCR *))': jcr.o(.text+0x4fc): undefined reference to `pthread_self' jcr.o(.text+0x5c5): undefined reference to `pthread_mutex_init' ../lib/libbac.a(jcr.o): In function `free_common_jcr(JCR *)': jcr.o(.text+0x8c6): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(jcr.o): In function `get_jcr_by_id(unsigned int)': jcr.o(.text+0xc74): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xcb7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_session(unsigned int, unsigned int)': jcr.o(.text+0xd70): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xdb3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_partial_name(char *)': jcr.o(.text+0xe8d): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xecf): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_full_name(char *)': jcr.o(.text+0xf94): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xfd7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_next_jcr(JCR *)': jcr.o(.text+0x1126): undefined reference to `pthread_mutex_lock' jcr.o(.text+0x116b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `jcr_timeout_check(s_watchdog_t *)': jcr.o(.text+0x128f): undefined reference to `pthread_kill' jcr.o(.text+0x12e8): undefined reference to `pthread_kill' jcr.o(.text+0x1341): undefined reference to `pthread_kill' ../lib/libbac.a(message.o): In function `close_msg(JCR *)': message.o(.text+0xb90): undefined reference to `pthread_mutex_lock' message.o(.text+0x1005): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `Qmsg(JCR *, int, long, char const *,...)': message.o(.text+0x25b9): undefined reference to `pthread_mutex_lock' message.o(.text+0x2607): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `dequeue_messages(JCR *)': message.o(.text+0x266c): undefined reference to `pthread_mutex_lock' message.o(.text+0x26f3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_get_pool_memory(char const *, int, int)': mem_pool.o(.text+0x3b): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xaf): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x145): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x1d3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_realloc_pool_memory(char const *, int, char *, int)': mem_pool.o(.text+0x32d): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x385): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x3f8): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_free_pool_memory(char const *, int, char *)': mem_pool.o(.text+0x4ef): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x59f): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x650): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `close_memory_pool(void)': mem_pool.o(.text+0x6b4): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x73c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `POOL_MEM::realloc_pm(int)': mem_pool.o(.text+0xb56): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xbb5): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0xc4e): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_init(s_rwlock_tag *)': rwlock.o(.text+0x2e): undefined reference to `pthread_mutex_init' rwlock.o(.text+0x45): undefined reference to `pthread_cond_init' rwlock.o(.text+0x5c): undefined reference to `pthread_cond_init' rwlock.o(.text+0x7c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x85): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_destroy(s_rwlock_tag *)': rwlock.o(.text+0xb9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0xe3): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0xfc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x10e): undefined reference to `pthread_mutex_destroy' rwlock.o(.text+0x11c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x12d): undefined reference to `pthread_cond_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_read_release(void *)': rwlock.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_write_release(void *)': rwlock.o(.text+0x175): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readlock(s_rwlock_tag *)': rwlock.o(.text+0x19d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x1bd): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x1d4): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x1e7): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x1fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readtrylock(s_rwlock_tag *)': rwlock.o(.text+0x22d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x250): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readunlock(s_rwlock_tag *)': rwlock.o(.text+0x289): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x2a9): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x2b7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writelock(s_rwlock_tag *)': rwlock.o(.text+0x2f1): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x30c): undefined reference to `pthread_self' rwlock.o(.text+0x315): undefined reference to `pthread_equal' rwlock.o(.text+0x328): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x349): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x366): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x379): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x38b): undefined reference to `pthread_self' rwlock.o(.text+0x397): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writetrylock(s_rwlock_tag *)': rwlock.o(.text+0x3c9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x3e0): undefined reference to `pthread_self' rwlock.o(.text+0x3e9): undefined reference to `pthread_equal' rwlock.o(.text+0x3fc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x420): undefined reference to `pthread_self' rwlock.o(.text+0x42c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writeunlock(s_rwlock_tag *)': rwlock.o(.text+0x469): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x4a8): undefined reference to `pthread_self' rwlock.o(.text+0x4ae): undefined reference to `pthread_equal' rwlock.o(.text+0x4f2): undefined reference to `pthread_cond_broadcast' rwlock.o(.text+0x506): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x514): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `smalloc(char const *, int, unsigned int)': smartall.o(.text+0x5b): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x123): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_free(char const *, int, void *)': smartall.o(.text+0x1ea): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x230): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x29a): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x314): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x3af): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_dump(bool)': smartall.o(.text+0x605): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x80a): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_check_rtn(char const *, int, bool)': smartall.o(.text+0x8ad): undefined reference to `pthread_mutex_lock' smartall.o(.text+0xae1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `start_watchdog(void)': watchdog.o(.text+0x1c4): undefined reference to `pthread_create' ../lib/libbac.a(watchdog.o): In function `ping_watchdog(void)': watchdog.o(.text+0x2b3): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x2ed): undefined reference to `pthread_cond_signal' watchdog.o(.text+0x2fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `stop_watchdog(void)': watchdog.o(.text+0x367): undefined reference to `pthread_join' ../lib/libbac.a(watchdog.o): In function `watchdog_thread': watchdog.o(.text+0x83a): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x87f): undefined reference to `pthread_cond_timedwait' watchdog.o(.text+0x88f): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet.o): In function `resolv_host(int, char const *, dlist *)': bnet.o(.text+0xcce): undefined reference to `pthread_mutex_lock' bnet.o(.text+0xd2d): undefined reference to `pthread_mutex_unlock' bnet.o(.text+0xe58): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getuser(unsigned int, char *, int)': idcache.o(.text+0x12): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getuser_cache(void)': idcache.o(.text+0x1a9): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x229): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getgroup(unsigned int, char *, int)': idcache.o(.text+0x272): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x3bd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getgroup_cache(void)': idcache.o(.text+0x40d): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x493): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(btimers.o): In function `start_bsock_timer(BSOCK *, unsigned int)': btimers.o(.text+0x209): undefined reference to `pthread_self' ../lib/libbac.a(btimers.o): In function `callback_thread_timer(s_watchdog_t *)': btimers.o(.text+0x39b): undefined reference to `pthread_kill' *** Error code 1 Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/tools.  ====== Error in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/tools ====== ===> Installing for bacula-server-1.36.1_1 ===> bacula-server-1.36.1_1 depends on shared library: pq - found ===> Generating temporary packing list ===> Checking if sysutils/bacula-server already installed ./autoconf/mkinstalldirs /usr/local/sbin ./autoconf/mkinstalldirs /usr/local/etc ./autoconf/mkinstalldirs /usr/local/share/bacula ./autoconf/mkinstalldirs /var/db/bacula ../autoconf/mkinstalldirs /usr/local/etc ../autoconf/mkinstalldirs /usr/local/sbin ../autoconf/mkinstalldirs /usr/local/share/bacula /usr/bin/install -c -o root -g wheel -m 0754 bacula /usr/local/etc/rc.d/bacula.sh.sample ==> Saving existing mtx-changer to mtx-changer.old /usr/bin/install -c -o root -g wheel -m 0754 mtx-changer /usr/local/share/bacula/mtx-changer /usr/bin/install -c -o root -g wheel -m 0754 create_postgresql_database /usr/local/share/bacula/create_postgresql_database /usr/bin/install -c -o root -g wheel -m 0754 update_postgresql_tables /usr/local/share/bacula/update_postgresql_tables /usr/bin/install -c -o root -g wheel -m 0754 make_postgresql_tables /usr/local/share/bacula/make_postgresql_tables /usr/bin/install -c -o root -g wheel -m 0754 grant_postgresql_privileges /usr/local/share/bacula/grant_postgresql_privileges /usr/bin/install -c -o root -g wheel -m 0754 drop_postgresql_tables /usr/local/share/bacula/drop_postgresql_tables /usr/bin/install -c -o root -g wheel -m 0754 drop_postgresql_database /usr/local/share/bacula/drop_postgresql_database /usr/bin/install -c -o root -g wheel -m 0754 create_bacula_database /usr/local/share/bacula/create_bacula_database /usr/bin/install -c -o root -g wheel -m 0754 update_bacula_tables /usr/local/share/bacula/update_bacula_tables /usr/bin/install -c -o root -g wheel -m 0754 make_bacula_tables /usr/local/share/bacula/make_bacula_tables /usr/bin/install -c -o root -g wheel -m 0754 grant_bacula_privileges /usr/local/share/bacula/grant_bacula_privileges /usr/bin/install -c -o root -g wheel -m 0754 drop_bacula_tables /usr/local/share/bacula/drop_bacula_tables /usr/bin/install -c -o root -g wheel -m 0754 drop_bacula_database /usr/local/share/bacula/drop_bacula_database ==> Found existing make_catalog_backup, installing new file as make_catalog_backup.new /usr/bin/install -c -o root -g wheel -m 0754 make_catalog_backup /usr/local/share/bacula/make_catalog_backup.new ==> Found existing delete_catalog_backup, installing new file as delete_catalog_backup.new /usr/bin/install -c -o root -g wheel -m 0754 delete_catalog_backup /usr/local/share/bacula/delete_catalog_backup.new c++ -L/usr/local/lib -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o mac.o mountreq.o msgchan.o next_vol.o newvol.o recycle.o restore.o run_conf.o scheduler.o sql_cmds.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o verify.o -lsql -lfind -lbac -lm -lcrypt -L/usr/local/lib -lpq -D_THREAD_SAFE -lwrap -lxpg4 backup.o: In function `backup_cleanup(JCR *, int, char *, FILESET_DBR *)': backup.o(.text+0xadb): undefined reference to `pthread_cancel' job.o: In function `run_job(JCR *)': job.o(.text+0x156): undefined reference to `pthread_mutex_lock' job.o(.text+0x1bc): undefined reference to `pthread_cond_init' job.o(.text+0x461): undefined reference to `pthread_mutex_unlock' job.o(.text+0x4a2): undefined reference to `pthread_mutex_unlock' job.o: In function `job_thread(void *)': job.o(.text+0x4fd): undefined reference to `pthread_self' job.o(.text+0x509): undefined reference to `pthread_detach' job.o: In function `create_unique_job_name(JCR *, char const *)': job.o(.text+0x1558): undefined reference to `pthread_mutex_lock' job.o(.text+0x15e6): undefined reference to `pthread_mutex_unlock' job.o: In function `dird_free_jcr(JCR *)': job.o(.text+0x1890): undefined reference to `pthread_cond_destroy' jobq.o: In function `jobq_init(jobq_t *, int, void *(*)(void *))': jobq.o(.text+0x22): undefined reference to `pthread_attr_init' jobq.o(.text+0x77): undefined reference to `pthread_attr_setdetachstate' jobq.o(.text+0xa2): undefined reference to `pthread_mutex_init' jobq.o(.text+0xe9): undefined reference to `pthread_cond_init' jobq.o(.text+0x129): undefined reference to `pthread_mutex_destroy' jobq.o(.text+0x138): undefined reference to `pthread_attr_destroy' jobq.o: In function `jobq_destroy(jobq_t *)': jobq.o(.text+0x2ed): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x33b): undefined reference to `pthread_cond_broadcast' jobq.o(.text+0x37a): undefined reference to `pthread_cond_wait' jobq.o(.text+0x392): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x3fc): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x40d): undefined reference to `pthread_mutex_destroy' jobq.o(.text+0x41b): undefined reference to `pthread_cond_destroy' jobq.o(.text+0x42d): undefined reference to `pthread_attr_destroy' jobq.o: In function `sched_wait': jobq.o(.text+0x5c4): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x60d): undefined reference to `pthread_mutex_unlock' jobq.o: In function `jobq_add(jobq_t *, JCR *)': jobq.o(.text+0x78d): undefined reference to `pthread_create' jobq.o(.text+0x7d4): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x98c): undefined reference to `pthread_mutex_unlock' jobq.o: In function `jobq_remove(jobq_t *, JCR *)': jobq.o(.text+0xa03): undefined reference to `pthread_mutex_lock' jobq.o(.text+0xab9): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xae5): undefined reference to `pthread_mutex_unlock' jobq.o: In function `start_server(jobq_t *)': jobq.o(.text+0xb50): undefined reference to `pthread_cond_signal' jobq.o(.text+0xbb0): undefined reference to `pthread_create' jobq.o: In function `jobq_server': jobq.o(.text+0xc26): undefined reference to `pthread_mutex_lock' jobq.o(.text+0xc6f): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xe14): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xe52): undefined reference to `pthread_cond_timedwait' jobq.o(.text+0xf47): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0xfb9): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x1182): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x11d0): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x12a4): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x12ff): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x13b0): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x1418): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x1719): undefined reference to `pthread_cond_broadcast' jobq.o(.text+0x17c6): undefined reference to `pthread_mutex_unlock' jobq.o(.text+0x17e9): undefined reference to `pthread_mutex_lock' jobq.o(.text+0x185d): undefined reference to `pthread_mutex_unlock' mac.o: In function `mac_cleanup(JCR *, int, char *, FILESET_DBR *, char const *)': mac.o(.text+0x8ff): undefined reference to `pthread_cancel' mountreq.o: In function `mount_request(JCR *, BSOCK *, char *)': mountreq.o(.text+0x41): undefined reference to `pthread_mutex_lock' mountreq.o(.text+0x94): undefined reference to `pthread_mutex_unlock' msgchan.o: In function `start_storage_daemon_message_thread(JCR *)': msgchan.o(.text+0x6f6): undefined reference to `pthread_mutex_lock' msgchan.o(.text+0x74c): undefined reference to `pthread_mutex_unlock' msgchan.o(.text+0x7a3): undefined reference to `pthread_create' msgchan.o: In function `msg_thread_cleanup': msgchan.o(.text+0x851): undefined reference to `pthread_mutex_lock' msgchan.o(.text+0x896): undefined reference to `pthread_cond_broadcast' msgchan.o(.text+0x8af): undefined reference to `pthread_mutex_unlock' msgchan.o: In function `msg_thread': msgchan.o(.text+0x90f): undefined reference to `pthread_self' msgchan.o(.text+0x915): undefined reference to `pthread_detach' msgchan.o(.text+0x91a): undefined reference to `pthread_self' msgchan.o(.text+0x92e): undefined reference to `pthread_cleanup_push' msgchan.o(.text+0xa68): undefined reference to `pthread_cleanup_pop' msgchan.o: In function `wait_for_storage_daemon_termination(JCR *)': msgchan.o(.text+0xaa0): undefined reference to `pthread_mutex_lock' msgchan.o(.text+0xb34): undefined reference to `pthread_cond_timedwait' msgchan.o(.text+0xb78): undefined reference to `pthread_mutex_unlock' restore.o: In function `restore_cleanup(JCR *, int)': restore.o(.text+0x597): undefined reference to `pthread_cancel' ua_output.o: In function `do_messages(UAContext *, char const *)': ua_output.o(.text+0x150f): undefined reference to `pthread_cleanup_push' ua_output.o(.text+0x15e6): undefined reference to `pthread_cleanup_pop' ua_server.o: In function `start_UA_server(dlist *)': ua_server.o(.text+0x3c): undefined reference to `pthread_create' ua_server.o: In function `connect_thread': ua_server.o(.text+0xee): undefined reference to `pthread_self' ua_server.o(.text+0xf4): undefined reference to `pthread_detach' ua_server.o: In function `handle_UA_client_request(void *)': ua_server.o(.text+0x274): undefined reference to `pthread_self' ua_server.o(.text+0x27a): undefined reference to `pthread_detach' ../cats/libsql.a(postgresql.o): In function `db_init_database(JCR *, char const *, char const *, char const *, char const *, int, char const *, int)': postgresql.o(.text+0x35): undefined reference to `pthread_mutex_lock' postgresql.o(.text+0xb4): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x31d): undefined reference to `pthread_mutex_unlock' ../cats/libsql.a(postgresql.o): In function `db_open_database(JCR *, s_db *)': postgresql.o(.text+0x369): undefined reference to `pthread_mutex_lock' postgresql.o(.text+0x3ab): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x424): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x547): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x58c): undefined reference to `pthread_mutex_unlock' postgresql.o(.text+0x5d1): undefined reference to `pthread_mutex_unlock' ../cats/libsql.a(postgresql.o): In function `db_close_database(JCR *, s_db *)': postgresql.o(.text+0x62b): undefined reference to `pthread_mutex_lock' postgresql.o(.text+0x7ec): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bstrerror(int, char *, unsigned int)': bsys.o(.text+0x215): undefined reference to `pthread_mutex_init' bsys.o(.text+0x22f): undefined reference to `pthread_mutex_lock' bsys.o(.text+0x29b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bsys.o): In function `bmicrosleep(long, long)': bsys.o(.text+0xac2): undefined reference to `pthread_mutex_lock' bsys.o(.text+0xb0a): undefined reference to `pthread_cond_timedwait' bsys.o(.text+0xbb1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet.o): In function `resolv_host(int, char const *, dlist *)': bnet.o(.text+0xcce): undefined reference to `pthread_mutex_lock' bnet.o(.text+0xd2d): undefined reference to `pthread_mutex_unlock' bnet.o(.text+0xe58): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(bnet_server.o): In function `bnet_stop_thread_server(pthread *)': bnet_server.o(.text+0x15): undefined reference to `pthread_self' bnet_server.o(.text+0x1c): undefined reference to `pthread_equal' bnet_server.o(.text+0x2e): undefined reference to `pthread_kill' ../lib/libbac.a(bnet_server.o): In function `bnet_thread_server(dlist *, int, workq_tag *, void *(*)(void *))': bnet_server.o(.text+0x7c6): undefined reference to `pthread_mutex_lock' bnet_server.o(.text+0x840): undefined reference to `pthread_mutex_unlock' bnet_server.o(.text+0x8e5): undefined reference to `pthread_mutex_unlock' bnet_server.o(.text+0x9ee): undefined reference to `pthread_mutex_lock' bnet_server.o(.text+0xa5c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getuser(unsigned int, char *, int)': idcache.o(.text+0x12): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getuser_cache(void)': idcache.o(.text+0x1a9): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x229): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `getgroup(unsigned int, char *, int)': idcache.o(.text+0x272): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x3bd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(idcache.o): In function `free_getgroup_cache(void)': idcache.o(.text+0x40d): undefined reference to `pthread_mutex_lock' idcache.o(.text+0x493): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `new_jcr(int, void (*)(JCR *))': jcr.o(.text+0x4fc): undefined reference to `pthread_self' jcr.o(.text+0x5c5): undefined reference to `pthread_mutex_init' ../lib/libbac.a(jcr.o): In function `free_common_jcr(JCR *)': jcr.o(.text+0x8c6): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(jcr.o): In function `get_jcr_by_id(unsigned int)': jcr.o(.text+0xc74): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xcb7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_session(unsigned int, unsigned int)': jcr.o(.text+0xd70): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xdb3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_partial_name(char *)': jcr.o(.text+0xe8d): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xecf): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_jcr_by_full_name(char *)': jcr.o(.text+0xf94): undefined reference to `pthread_mutex_lock' jcr.o(.text+0xfd7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `get_next_jcr(JCR *)': jcr.o(.text+0x1126): undefined reference to `pthread_mutex_lock' jcr.o(.text+0x116b): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(jcr.o): In function `jcr_timeout_check(s_watchdog_t *)': jcr.o(.text+0x128f): undefined reference to `pthread_kill' jcr.o(.text+0x12e8): undefined reference to `pthread_kill' jcr.o(.text+0x1341): undefined reference to `pthread_kill' ../lib/libbac.a(message.o): In function `close_msg(JCR *)': message.o(.text+0xb90): undefined reference to `pthread_mutex_lock' message.o(.text+0x1005): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `Qmsg(JCR *, int, long, char const *,...)': message.o(.text+0x25b9): undefined reference to `pthread_mutex_lock' message.o(.text+0x2607): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(message.o): In function `dequeue_messages(JCR *)': message.o(.text+0x266c): undefined reference to `pthread_mutex_lock' message.o(.text+0x26f3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_get_pool_memory(char const *, int, int)': mem_pool.o(.text+0x3b): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xaf): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x145): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x1d3): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_realloc_pool_memory(char const *, int, char *, int)': mem_pool.o(.text+0x32d): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x385): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x3f8): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `sm_free_pool_memory(char const *, int, char *)': mem_pool.o(.text+0x4ef): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x59f): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0x650): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `close_memory_pool(void)': mem_pool.o(.text+0x6b4): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0x73c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(mem_pool.o): In function `POOL_MEM::realloc_pm(int)': mem_pool.o(.text+0xb56): undefined reference to `pthread_mutex_lock' mem_pool.o(.text+0xbb5): undefined reference to `pthread_mutex_unlock' mem_pool.o(.text+0xc4e): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_init(s_rwlock_tag *)': rwlock.o(.text+0x2e): undefined reference to `pthread_mutex_init' rwlock.o(.text+0x45): undefined reference to `pthread_cond_init' rwlock.o(.text+0x5c): undefined reference to `pthread_cond_init' rwlock.o(.text+0x7c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x85): undefined reference to `pthread_mutex_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_destroy(s_rwlock_tag *)': rwlock.o(.text+0xb9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0xe3): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0xfc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x10e): undefined reference to `pthread_mutex_destroy' rwlock.o(.text+0x11c): undefined reference to `pthread_cond_destroy' rwlock.o(.text+0x12d): undefined reference to `pthread_cond_destroy' ../lib/libbac.a(rwlock.o): In function `rwl_read_release(void *)': rwlock.o(.text+0x15d): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_write_release(void *)': rwlock.o(.text+0x175): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readlock(s_rwlock_tag *)': rwlock.o(.text+0x19d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x1bd): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x1d4): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x1e7): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x1fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readtrylock(s_rwlock_tag *)': rwlock.o(.text+0x22d): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x250): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_readunlock(s_rwlock_tag *)': rwlock.o(.text+0x289): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x2a9): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x2b7): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writelock(s_rwlock_tag *)': rwlock.o(.text+0x2f1): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x30c): undefined reference to `pthread_self' rwlock.o(.text+0x315): undefined reference to `pthread_equal' rwlock.o(.text+0x328): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x349): undefined reference to `pthread_cleanup_push' rwlock.o(.text+0x366): undefined reference to `pthread_cond_wait' rwlock.o(.text+0x379): undefined reference to `pthread_cleanup_pop' rwlock.o(.text+0x38b): undefined reference to `pthread_self' rwlock.o(.text+0x397): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writetrylock(s_rwlock_tag *)': rwlock.o(.text+0x3c9): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x3e0): undefined reference to `pthread_self' rwlock.o(.text+0x3e9): undefined reference to `pthread_equal' rwlock.o(.text+0x3fc): undefined reference to `pthread_mutex_unlock' rwlock.o(.text+0x420): undefined reference to `pthread_self' rwlock.o(.text+0x42c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(rwlock.o): In function `rwl_writeunlock(s_rwlock_tag *)': rwlock.o(.text+0x469): undefined reference to `pthread_mutex_lock' rwlock.o(.text+0x4a8): undefined reference to `pthread_self' rwlock.o(.text+0x4ae): undefined reference to `pthread_equal' rwlock.o(.text+0x4f2): undefined reference to `pthread_cond_broadcast' rwlock.o(.text+0x506): undefined reference to `pthread_cond_signal' rwlock.o(.text+0x514): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `smalloc(char const *, int, unsigned int)': smartall.o(.text+0x5b): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x123): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_free(char const *, int, void *)': smartall.o(.text+0x1ea): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x230): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x29a): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x314): undefined reference to `pthread_mutex_unlock' smartall.o(.text+0x3af): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_dump(bool)': smartall.o(.text+0x605): undefined reference to `pthread_mutex_lock' smartall.o(.text+0x80a): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(smartall.o): In function `sm_check_rtn(char const *, int, bool)': smartall.o(.text+0x8ad): undefined reference to `pthread_mutex_lock' smartall.o(.text+0xae1): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `start_watchdog(void)': watchdog.o(.text+0x1c4): undefined reference to `pthread_create' ../lib/libbac.a(watchdog.o): In function `ping_watchdog(void)': watchdog.o(.text+0x2b3): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x2ed): undefined reference to `pthread_cond_signal' watchdog.o(.text+0x2fd): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(watchdog.o): In function `stop_watchdog(void)': watchdog.o(.text+0x367): undefined reference to `pthread_join' ../lib/libbac.a(watchdog.o): In function `watchdog_thread': watchdog.o(.text+0x83a): undefined reference to `pthread_mutex_lock' watchdog.o(.text+0x87f): undefined reference to `pthread_cond_timedwait' watchdog.o(.text+0x88f): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_init(workq_tag *, int, void *(*)(void *))': workq.o(.text+0x14): undefined reference to `pthread_attr_init' workq.o(.text+0x2f): undefined reference to `pthread_attr_setdetachstate' workq.o(.text+0x4b): undefined reference to `pthread_mutex_init' workq.o(.text+0x62): undefined reference to `pthread_cond_init' workq.o(.text+0xb1): undefined reference to `pthread_mutex_destroy' workq.o(.text+0xbd): undefined reference to `pthread_attr_destroy' ../lib/libbac.a(workq.o): In function `workq_destroy(workq_tag *)': workq.o(.text+0xf1): undefined reference to `pthread_mutex_lock' workq.o(.text+0x124): undefined reference to `pthread_cond_broadcast' workq.o(.text+0x142): undefined reference to `pthread_cond_wait' workq.o(.text+0x15a): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x171): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x181): undefined reference to `pthread_mutex_destroy' workq.o(.text+0x18f): undefined reference to `pthread_cond_destroy' workq.o(.text+0x1a0): undefined reference to `pthread_attr_destroy' ../lib/libbac.a(workq.o): In function `workq_add(workq_tag *, void *, workq_ele_tag **, int)': workq.o(.text+0x231): undefined reference to `pthread_mutex_lock' workq.o(.text+0x2c7): undefined reference to `pthread_cond_signal' workq.o(.text+0x2d9): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x310): undefined reference to `pthread_create' workq.o(.text+0x325): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_remove(workq_tag *, workq_ele_tag *)': workq.o(.text+0x398): undefined reference to `pthread_mutex_lock' workq.o(.text+0x41c): undefined reference to `pthread_cond_signal' workq.o(.text+0x42e): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x45c): undefined reference to `pthread_create' workq.o(.text+0x46e): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x47c): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(workq.o): In function `workq_server': workq.o(.text+0x4ce): undefined reference to `pthread_mutex_lock' workq.o(.text+0x501): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x5ce): undefined reference to `pthread_cond_timedwait' workq.o(.text+0x624): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x6a9): undefined reference to `pthread_mutex_lock' workq.o(.text+0x708): undefined reference to `pthread_cond_broadcast' workq.o(.text+0x72d): undefined reference to `pthread_mutex_unlock' workq.o(.text+0x802): undefined reference to `pthread_mutex_unlock' ../lib/libbac.a(btimers.o): In function `start_bsock_timer(BSOCK *, unsigned int)': btimers.o(.text+0x209): undefined reference to `pthread_self' ../lib/libbac.a(btimers.o): In function `callback_thread_timer(s_watchdog_t *)': btimers.o(.text+0x39b): undefined reference to `pthread_kill' *** Error code 1 Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1/src/dird. *** Error code 1 Stop in /usr/ports/sysutils/bacula-server/work/bacula-1.36.1. *** Error code 1 Stop in /usr/ports/sysutils/bacula-server. *** Error code 1 Stop in /usr/ports/sysutils/bacula-server. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iD8DBQFCEAoIbZTbIaRBRXERAuazAJ9xsvHNR35B/TeNOr33l8cs8/IACACfbxdA 3gAak9p+AqqcRYlb3oSsgoc= =X28W -----END PGP SIGNATURE-----