From owner-freebsd-current Mon Mar 13 08:20:57 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA12335 for current-outgoing; Mon, 13 Mar 1995 08:20:57 -0800 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA12320 for ; Mon, 13 Mar 1995 08:20:48 -0800 Received: by sequent.kiae.su id AA25643 (5.65.kiae-2 ); Mon, 13 Mar 1995 19:05:30 +0300 Received: by sequent.KIAE.su (UUMAIL/2.0); Mon, 13 Mar 95 19:05:29 +0300 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id SAA00489; Mon, 13 Mar 1995 18:48:21 +0300 To: Remy CARD , Philippe Charnier Cc: current@FreeBSD.org References: <199503131347.OAA07582@hebe.ibp.fr> In-Reply-To: <199503131347.OAA07582@hebe.ibp.fr>; from Remy CARD at Mon, 13 Mar 1995 14:47:35 +0100 (MET) Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 13 Mar 1995 18:48:20 +0300 X-Mailer: Mail/@ [v2.32 FreeBSD] From: "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: _regerror multiply defined Lines: 21 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 961 Sender: current-owner@FreeBSD.org Precedence: bulk In message <199503131347.OAA07582@hebe.ibp.fr> Remy CARD writes: >> >> When making a full rebuild (/usr/obj clobbered, /usr/include 2 days old), I >> noticed a problem with gdb: _regerror multiply defined at link time. > Actually, regerror seems to be defined twice in libcompat. It is >defined in lib/libcompat/4.3/regex.c and in lib/libcompat/regexp/regerror.c. > I have commented out the definition of regerror in the first file >and it seems to be Ok. BTW, I am not sure which file regerror should be >removed from. Wrong move, _both_ regerror are needed. Better to spent some time to fix ld to use sequental linking for mixed (shared & non-shared) libs. -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849