Skip site navigation (1)Skip section navigation (2)
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 ??
Message-ID:  <m0wr5HM-000JehC@spirit>
References:  <199707231617.SAA24245@sos.freebsd.dk>

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




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