Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2010 22:31:53 -0600
From:      "William D. Colburn (Schlake)" <schlake@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   /usr/src fails to compile in 8.0 after cvsup to RELENG_8
Message-ID:  <AANLkTimiPyZqzkI_gFNQEiOfpTuDgy7bAQzF3HD4dHwa@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
My server's boot disk finally died after four years of disk errors.
I'm not sure what version I ran; whatever was stable in 2004.  So I
grabbed an old hard disk from work, and a copy of 8.0 release for AMD
off the website.  I eventually got it installed (it was a nightmare
because the install CD could not write to /dev/ad0 to initialize
partitions) and ran cvsup on /usr/share/examples/stable-supfile
(RELENG_8).  I can make the kernel just fine, but if I try to make the
world I get this:

cc -O2 -pipe  -I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/usr.bin/zinject/../../compat/opensolaris/include
-I/usr/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys
-I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common
-I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head
-I/usr/src/cddl/usr.bin/zinject/../../lib/libumem
-DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector
-Wno-unknown-pragmas  -o zinject zinject.o translate.o -lavl -lgeom
-lm -lnvpair -lumem -luutil -lzfs -lzpool
/lib/libthr.so.3: undefined reference to `__pselect@FBSDprivate_1.0'
*** Error code 1

I searched, but I couldn't find anything on this problem.

I tried compiling bits and pieces (starting with libthr, then libc)
and installing them one at a time, but I just made things worse, so I
refreshed from the base packages on the CD, removed all of /usr/src,
and refetched it, so I'm at least stable again without the ability to
make world.

FreeBSD eeep.domain.actdsltmp 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE
#0: Wed Jun 16 17:42:41 MDT 2010
schlake@eeep.domain.actdsltmp:/usr/obj/usr/src/sys/GENERIC  amd64


Many thanks in  advance.

-- 
-- Schlake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimiPyZqzkI_gFNQEiOfpTuDgy7bAQzF3HD4dHwa>