From owner-freebsd-gnome Fri Jan 11 21:49:46 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 94FA037B41E for ; Fri, 11 Jan 2002 21:49:36 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id g0C5mqY52380; Sat, 12 Jan 2002 00:48:52 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: gnomecontrolcenter doesn't build From: Joe Clarke To: Charles Burns Cc: freebsd-gnome@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 12 Jan 2002 00:49:54 -0500 Message-Id: <1010814594.18912.0.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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