Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 1998 02:54:50 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        jdp@polstra.com (John Polstra)
Cc:        current@FreeBSD.ORG
Subject:   Re: Undefined symbol "___error"
Message-ID:  <199805150254.TAA18419@usr01.primenet.com>
In-Reply-To: <199805141626.JAA21297@austin.polstra.com> from "John Polstra" at May 14, 98 09:26:07 am

next in thread | previous in thread | raw e-mail | index | archive | help
> In article <199805141009.GAA00344@hda.hda.com>,
> Peter Dufault  <dufault@hda.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805150254.TAA18419>