Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 1997 17:43:52 +0200
From:      Ollivier Robert <roberto@eurocontrol.fr>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: undelete(2) in unistd.h conflicts with mail/extern.h
Message-ID:  <19970414174352.17499@caerdonn.eurocontrol.fr>
In-Reply-To: <199704141526.BAA16626@godzilla.zeta.org.au>; from Bruce Evans on Tue, Apr 15, 1997 at 01:26:27AM %2B1000
References:  <199704141526.BAA16626@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Bruce Evans:
> Oops.  Perhaps it shouldn't be declared there.  Lite2 neglected to
> declare it and still has undelete() in cmd2.c.  The problem is not simply
> visibility in headers.  undelete() is extern in both cmd2.c and libc so
> it's not clear how the right one is linked.

AFAIK, the right one. -lc is specified after all the object files so
_undelete in cmd2.o should be picked up before the undelete.o one.

-- 
Ollivier ROBERT -=- Eurocontrol EEC/TS -=- Ollivier.Robert@eurocontrol.fr
FreeBSD caerdonn.eurocontrol.fr 3.0-CURRENT #1: Wed Apr  9 15:05:08 CEST 1997
roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/CAERDONN2 i386



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