From owner-freebsd-current Thu May 14 03:14:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA25323 for freebsd-current-outgoing; Thu, 14 May 1998 03:14:25 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA25318 for ; Thu, 14 May 1998 03:14:22 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id GAA00344; Thu, 14 May 1998 06:09:46 -0400 (EDT) From: Peter Dufault Message-Id: <199805141009.GAA00344@hda.hda.com> Subject: Re: Undefined symbol "___error" In-Reply-To: <199805140324.NAA22813@cimlogic.com.au> from John Birrell at "May 14, 98 01:24:38 pm" To: jb@cimlogic.com.au (John Birrell) Date: Thu, 14 May 1998 06:09:44 -0400 (EDT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Terry Lambert wrote: > > > > does this mean that ALL third party programs that use curses MUST be > > > > recompiled?!?!?! > > > > > > Recompiled, no. Relinked, yes. > > > > Actually, it's a define in a header file, si it's "recompiled". > > No, it's "relinked" so that a program will know to use the later libc. > The problem here is not that the libc major number needs to be bumped, > but *all* other libraries that use errno.h need a major number bump. > Bruce pointed this out. The choices are bump all major numbers when compiling against the new header (the correct but inconvenient solution since the change is semi-hidden) or some hack in ld.so, e.g., ld.so looks for lib__error.so.1.0 for undefined symbols with two leading underscores. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message