From owner-freebsd-current Mon May 18 12:48:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13834 for freebsd-current-outgoing; Mon, 18 May 1998 12:48:51 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (root@smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13823 for ; Mon, 18 May 1998 12:48:47 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id MAA00436; Mon, 18 May 1998 12:17:26 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp04.primenet.com, id smtpd000379; Mon May 18 12:17:19 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id MAA11031; Mon, 18 May 1998 12:17:12 -0700 (MST) From: Terry Lambert Message-Id: <199805181917.MAA11031@usr01.primenet.com> Subject: Re: Undefined symbol "___error" To: jahan@pc.jaring.my (Jahan) Date: Mon, 18 May 1998 19:17:12 +0000 (GMT) Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <3560AD80.BF17AA1B@pc.jaring.my> from "Jahan" at May 18, 98 02:52:00 pm X-Mailer: ELM [version 2.4 PL25] 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 Jim Bryant wrote: > > i'll submit a diff tonight/tomorrow that will satisfy the requirements > for the call without even relinking the target; a do-nothing stub that > should have been factored in when the original __error was removed. You misapprehend the problem. Nothing was removed from libc. Something was added, and referenced by a header file (errno.h). The problem occurs when you rebuild shared libraries for no good reason, but don't also EITHER bump their major version number, OR relink the application against the new libc at the same time. See my other posting for a tested fix using weak symbols in the libraries you rebuild, which is the best place to solve the problem until the library version numbers are bumped prior to 3.0's release (which is when they should be bumped to avoid 3.0 being released with libraries like "libc.so.2649.0"). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message