problem upgrading from 5.0 to 5.1
Paul Chvostek
paul+fbsd at it.ca
Mon Jul 7 09:43:15 PDT 2003
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 <paul at it.ca>
Operations / Abuse / Whatever
it.canada, hosting and development http://www.it.ca/
More information about the freebsd-questions
mailing list