From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 09:43:15 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80E3837B401 for ; Mon, 7 Jul 2003 09:43:15 -0700 (PDT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id E188C43FBD for ; Mon, 7 Jul 2003 09:43:13 -0700 (PDT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.9/8.12.9) with ESMTP id h67GgnU9007753 for ; Mon, 7 Jul 2003 12:42:49 -0400 (EDT) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.9/8.12.6/Submit) id h67GgnTs007752 for freebsd-questions@freebsd.org; Mon, 7 Jul 2003 12:42:49 -0400 (EDT) (envelope-from paul) Date: Mon, 7 Jul 2003 12:42:49 -0400 From: Paul Chvostek To: freebsd-questions@freebsd.org Message-ID: <20030707164249.GA2912@mail.it.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: problem upgrading from 5.0 to 5.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 16:43:15 -0000 I'm confused... I've got a box on which 5.0-RELEASE was installed. I updated the source tree using cvsup to RELENG_5_1 and tried to recompile, and now every time it gets to bin/cat, it chokes. The source tree *is* up to date, I've tried running `make clean update buildworld` to no avail. It always stops in the same place. I could do a proper reinstall from an ISO, but I'd really like to know what's wrong. Any idea what's happening, or where I should look? I'm stumped. Thanks. | ===> bin | ===> bin/cat | cc -O3 -pipe -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -c /var/src/bin/cat/cat.c | cc -O3 -pipe -march=pentiumpro -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror -static -o cat cat.o | /usr/obj/var/src/i386/usr/lib/libc.a(atexit.o): In function `atexit': | atexit.o(.text+0xc7): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0xd8): undefined reference to `_pthread_mutex_lock' | atexit.o(.text+0xe8): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0x109): undefined reference to `_pthread_mutex_lock' | atexit.o(.text+0x11a): undefined reference to `_pthread_mutex_unlock' | atexit.o(.text+0x141): undefined reference to `_pthread_mutex_lock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `flockfile': | _flock_stub.o(.text+0x10): undefined reference to `_pthread_self' | _flock_stub.o(.text+0x25): undefined reference to `_pthread_mutex_lock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `_flockfile_debug': | _flock_stub.o(.text+0x60): undefined reference to `_pthread_self' | _flock_stub.o(.text+0x75): undefined reference to `_pthread_mutex_lock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `ftrylockfile': | _flock_stub.o(.text+0xb5): undefined reference to `_pthread_self' | _flock_stub.o(.text+0xca): undefined reference to `_pthread_mutex_trylock' | /usr/obj/var/src/i386/usr/lib/libc.a(_flock_stub.o): In function `funlockfile': | _flock_stub.o(.text+0x10d): undefined reference to `_pthread_self' | _flock_stub.o(.text+0x149): undefined reference to `_pthread_mutex_unlock' | *** Error code 1 | | Stop in /var/src/bin/cat. |... -- Paul Chvostek Operations / Abuse / Whatever it.canada, hosting and development http://www.it.ca/