From owner-freebsd-current Thu May 14 03:59:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01394 for freebsd-current-outgoing; Thu, 14 May 1998 03:59:22 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from helios.dnttm.ru (root@dnttm-gw.rssi.ru [193.232.0.205]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA01375 for ; Thu, 14 May 1998 03:59:11 -0700 (PDT) (envelope-from dima@tejblum.dnttm.rssi.ru) Received: (from uucp@localhost) by helios.dnttm.ru (8.8.5/8.8.5/IP-3) with UUCP id OAA01128; Thu, 14 May 1998 14:40:09 +0400 Received: from tejblum.dnttm.rssi.ru (localhost [127.0.0.1]) by tejblum.dnttm.rssi.ru (8.8.8/8.8.7) with ESMTP id OAA02371; Thu, 14 May 1998 14:40:08 +0400 (MSD) (envelope-from dima@tejblum.dnttm.rssi.ru) Message-Id: <199805141040.OAA02371@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: John Birrell cc: tlambert@primenet.com (Terry Lambert), current@FreeBSD.ORG Subject: Re: Undefined symbol "___error" In-reply-to: Your message of "Thu, 14 May 1998 18:03:16 +1000." <199805140803.SAA25102@cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 14 May 1998 14:40:08 +0400 From: Dmitrij Tejblum Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Birrell wrote: > > Then the __error() change is added to libc version Y + 1 and the header > file that matches it. A rebuild of the system causes libtermcap still > at version X to *need* the new __error() definition. So to ensure that > the program is not broken, the version of libtermcap needs to be bumped > to X + 1. This is a simple example. > > Now consider all the possible shared libraries that use errno.h and > exist on any FreeBSD system anywhere. There are lots. Do I hunt them > all down and bump their major version numbers? > Alternative solution --- add __error() to libc version X (that is, libc.so.2.2) :-|. A few hundreds of megabytes in a chrooted environment (with FreeBSD 2.1-stable), and everything OK. Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message