Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 06:09:44 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        jb@cimlogic.com.au (John Birrell)
Cc:        current@FreeBSD.ORG
Subject:   Re: Undefined symbol "___error"
Message-ID:  <199805141009.GAA00344@hda.hda.com>
In-Reply-To: <199805140324.NAA22813@cimlogic.com.au> from John Birrell at "May 14, 98 01:24:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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