Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2006 17:35:40 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        "Steve Kirk" <skirk@insomniacgames.com>
Cc:        freebsd-gnome@FreeBSD.org
Subject:   Re: Problems with glib20 on FreeBSD6.1
Message-ID:  <200606011735.42241.jkim@FreeBSD.org>
In-Reply-To: <514005087A4DA54CB81C428C81EAB93D01E8F279@EXCHANGE.insomniacgames.com>
References:  <514005087A4DA54CB81C428C81EAB93D01E8F279@EXCHANGE.insomniacgames.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 01 June 2006 05:18 pm, Steve Kirk wrote:
> I was trying not to be *too* verbose in that - I did indeed do both
> [build|install][world|kernel] :)

:-)

> I'm going to remove my world/kernel source trees & completely
> re-cvsup & rebuild/reinstall world & kernel today (again).  Never
> hurts to try at least.
>
> I have, over the last day, built up a separate 6.1 box from scratch
> (from 6.1 ISO's), and, as you, confirmed no problem.  So I have to
> imagine it's some pthread issue specific to my box/install.  Tho
> I'm frustrated at not being able to track it down or find where I
> can correct it.
>
> The hard part is that this is happening on a production server, so
> it's no trivial matter to take it down, reinstall from scratch.  So
> I'm hoping for some brilliant flash of insight before I resort to
> that (or hari-kari). :)

Alternatively, you can try:

cd /usr/src/lib/libc
make clean
make cleandepend
make depend
make
make install
cd /usr/src/lib/libpthread	<--- depending on your pthread library
make clean
make cleandepend
make depend
make
make install

Note that __usleep() is defined in libc.

I hope it helps.

Jung-uk Kim

> Thanks!
> Steve
>
>
> -----Original Message-----
> From: Jung-uk Kim [mailto:jkim@FreeBSD.org]
> Sent: Thursday, June 01, 2006 1:44 PM
> To: freebsd-gnome@FreeBSD.org
> Cc: Steve Kirk
> Subject: Re: Problems with glib20 on FreeBSD6.1
>
> On Thursday 01 June 2006 01:01 pm, Steve Kirk wrote:
> --- >8 --- SNIP!!! --- >8 ---
>
> > I have cvsup'd src (RELENG_6) a couple days ago & did a
> > buildworld/buildkernel - no change.
>
> --- >8 --- SNIP!!! --- >8 ---
>
> You have missed 'make installworld' step, I guess? ;-)
>
> Your config.log shows:
>
> configure:35434: cc -o conftest -O2 -fno-strict-aliasing -pipe 
> -Wall -I/usr/local/include -D_REENTRANT -D_POSIX4_DRAFT_SOURCE
> -D_POSIX4A_DRAFT10_SOURCE -U_OSF_SOURCE
> -L/usr/local/lib -lintl conftest.c -pthread    >&5
> /usr/lib/libpthread.so: undefined reference to `__usleep'
>
> It shouldn't happen with *proper* RELENG_6 installation, which I
> just verified.
>
> Jung-uk Kim



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