Date: Mon, 13 Mar 1995 18:48:20 +0300 From: "Andrey A. Chernov, Black Mage" <ache@astral.msk.su> To: Remy CARD <Remy.Card@masi.ibp.fr>, Philippe Charnier <charnier@lirmm.fr> Cc: current@FreeBSD.org Subject: Re: _regerror multiply defined Message-ID: <ZI4b6PlaR1@astral.msk.su> In-Reply-To: <199503131347.OAA07582@hebe.ibp.fr>; from Remy CARD at Mon, 13 Mar 1995 14:47:35 %2B0100 (MET) References: <199503131347.OAA07582@hebe.ibp.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZI4b6PlaR1>