From owner-freebsd-current Thu May 14 19:55:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16225 for freebsd-current-outgoing; Thu, 14 May 1998 19:55:11 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp02.primenet.com (daemon@smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16197 for ; Thu, 14 May 1998 19:54:59 -0700 (PDT) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id TAA11867; Thu, 14 May 1998 19:54:59 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpd011853; Thu May 14 19:54:52 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id TAA18419; Thu, 14 May 1998 19:54:50 -0700 (MST) From: Terry Lambert Message-Id: <199805150254.TAA18419@usr01.primenet.com> Subject: Re: Undefined symbol "___error" To: jdp@polstra.com (John Polstra) Date: Fri, 15 May 1998 02:54:50 +0000 (GMT) Cc: current@FreeBSD.ORG In-Reply-To: <199805141626.JAA21297@austin.polstra.com> from "John Polstra" at May 14, 98 09:26:07 am 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 > In article <199805141009.GAA00344@hda.hda.com>, > Peter Dufault wrote: > > > 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. > > Ick! Hacks like that are practically impossible to get rid of > again, ever. I think I have a better hack, and it's self-eliminating with ELF. See my other posting. One might even decide to encapsulate it with a manifest constant test that goes in make.conf and disappears when the other libraries major numbers go up at release time (or at the ELF switchover). 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