From owner-freebsd-current Wed Jul 23 10:33:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA01823 for current-outgoing; Wed, 23 Jul 1997 10:33:11 -0700 (PDT) Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id KAA01810 for ; Wed, 23 Jul 1997 10:33:01 -0700 (PDT) Received: (qmail 18012 invoked from network); 23 Jul 1997 17:32:49 -0000 Received: from spirit.dynas.se (HELO host.domain) (172.16.1.10) by karon.dynas.se with SMTP; 23 Jul 1997 17:32:49 -0000 Received: by spirit (Smail3.1.28.1 #32) id m0wr5HM-000JehC; Wed, 23 Jul 97 19:32:48 +0200 Message-Id: Date: Wed, 23 Jul 97 19:32:48 +0200 From: micke@dynas.se (Mikael Hybsch) To: sos@sos.freebsd.dk, freebsd-current@freebsd.org Subject: Re: who broke libedit ?? Newsgroups: local.freebsd-current References: <199707231617.SAA24245@sos.freebsd.dk> MIME-Version: 1.0 Content-Type: Text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by hub.freebsd.org id KAA01815 Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I had the same problem some says ago. The real problem is some odd code in the shell-script makeline. When used with -h, it tries to extract the basename of the file without extention by first splitting the full path filename on '.' and then calling `basename $1` instead of the reverse. My /usr/src was a symbolic link to /spare/3.0-src. The workaround I used was to rename it to /spare/3_0-src. In local.freebsd-current you write: >current of today yields: >cc -O -pipe -I. -I/u1/src-3.0-CURRENT/lib/libedit -c editline.c -o editline.o >In file included from /u1/src-3.0-CURRENT/lib/libedit/chared.h:130, > from /u1/src-3.0-CURRENT/lib/libedit/el.h:96, > from /u1/src-3.0-CURRENT/lib/libedit/chared.c:47, > from editline.c:4: >common.h:2: warning: garbage at end of `#ifndef' argument >common.h:3: warning: missing white space after `#define _h_src' >In file included from /u1/src-3.0-CURRENT/lib/libedit/chared.h:131, > from /u1/src-3.0-CURRENT/lib/libedit/el.h:96, > from /u1/src-3.0-CURRENT/lib/libedit/chared.c:47, > from editline.c:4: >vi.h:2: warning: garbage at end of `#ifndef' argument >In file included from /u1/src-3.0-CURRENT/lib/libedit/chared.h:132, > from /u1/src-3.0-CURRENT/lib/libedit/el.h:96, > from /u1/src-3.0-CURRENT/lib/libedit/chared.c:47, > from editline.c:4: > > ... > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- >Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > Even more code to hack -- will it ever end >.. -- -- Mikael Hybsch Email: micke@dynas.se DynaSoft, Dynamic Software AB Phone: +46-8-7250900 Box 10704 Fax: +46-8-6494970 S-121 29 STOCKHOLM, SWEDEN