Skip site navigation (1)Skip section navigation (2)
Date:      12 Jan 2002 00:49:54 -0500
From:      Joe Clarke <marcus@marcuscom.com>
To:        Charles Burns <burnscharlesn@hotmail.com>
Cc:        freebsd-gnome@FreeBSD.ORG
Subject:   Re: gnomecontrolcenter doesn't build
Message-ID:  <1010814594.18912.0.camel@shumai.marcuscom.com>
In-Reply-To: <F29Ks6MWNHCWksLbZc30001f5ba@hotmail.com>
References:  <F29Ks6MWNHCWksLbZc30001f5ba@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2002-01-11 at 22:03, Charles Burns wrote:
> Greetings,
> 
> I have tried to build GNOME for just over a week now and it always breaks
> when building `/usr/ports/sysutils/gnomecontrolcenter`.
> I posted this before but got no answer. I'm not sure if nobody knows or if
> its just a stupid question.
> I have updated everything through CVS about 20 times in the last 9 days and
> rebuilt the world/kernel about as many.
> I have "make clean"'ed the gnomecontrolcenter port and all of GNOME, have
> done "make distclean", have tried downloading the files manually and putting
> them into /usr/ports/distfiles ... just about everything.
> 
> The system compiles 87 other ports (I counted) before it ever gets to
> gnomecontrolcenter. The short version of the actual error experienced is:
> 
> /usr/X11R6/lib/libgnomesupport.so: undefined reference to `strerror_r'
> gmake[4]: *** [file-types-capplet] Error 1
> 
> Long version is at the end of this email.
> 
> What I would really like to know is:
> 1) Is there a work-around? Can I edit some .C file or replace a binary
> somewhere?
> 2) If this isn't happening to anyone else, what are you doing differently?
> I have built GNOME before with version 4.4 CVS's about 2 weeks after
> release, but it sure doesn't work now.
> 
> Here is some information that may be applicable:
> - I am using the XFree-4 port (version 4.1); not 3.3.6

Yep, I've got this, too (and XFREE86_VERSION=4 set in /etc/make.conf).

> - Everything else builds fine, including the buildworld process
> - Error occurs in the same spot every time, and with the same error.

What version of FreeBSD are you using now?  strerror_r was implemented
in FreeBSD -stable 3 weeks ago.  I originally built gnome without it, so
I went back and rebuilt libgnomesupport and control-center, and it
worked.  I'm on 4.5-RC1.  Perhaps you downgraded libc_r,  or have a
version of libgnomesupport not compiled against your libc_r.

For grins, I'm going to email you my old libgnomesupport.a and .so.5. 
They don't have a reference to strerror_r, and should work on your
system.  However, this isn't a good solution.  You _should_ be able to
run:

nm -D /usr/lib/libc_r.so.4 | grep strerror_r

and see:

000731f4 T strerror_r

The T means the external text symbol for strerror_r is defined in
libc_r.so.4.  If you don't see this (like you see a U for strerror_r),
then you should make sure you have rev 1.2.14.2 of
/usr/src/lib/libc/string/strerror.c, and rebuild libc and libc_r.

Joe

> 
> System:
> Dualie AthlonMP on the Tyan Tiger AMD760 board, with good cooling.
> FreeBSD has a dedicated SCSI hard drive on an Adaptec 29160 card.
> Geforce3, 512MB RAM, cable internet connection. (no other applicable
> hardware)
> 
[Long version elided]



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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