| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
| X-Recipient: | geda-user AT delorie DOT com |
| Message-ID: | <20210225104632.6906.qmail@stuge.se> |
| Date: | Thu, 25 Feb 2021 10:46:32 +0000 |
| From: | "Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
| To: | geda-user AT delorie DOT com |
| Subject: | Re: [geda-user] FreeBSD 12.2 "make all-recursive" error |
| References: | <202102240343 DOT 11O3hWQT023998 AT delorie DOT com> |
| <alpine DOT DEB DOT 2 DOT 21 DOT 2102241333000 DOT 1262 AT nimbus> | |
| MIME-Version: | 1.0 |
| In-Reply-To: | <alpine.DEB.2.21.2102241333000.1262@nimbus> |
| Reply-To: | geda-user AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | geda-user AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
Roland Lutz wrote:
> Hmm. The identifier "action_add_last_component" is declared in the
> generated source file "gschem/src/actions.decl.x" which is included by
> "gschem/src/gschem_compselect_dockable.c". Maybe the sed command on your
> system behaves differently, resulting in a broken actions.decl.x?
>
> actions.decl.x should contain a series of lines like this:
>
> > extern GschemAction *action_add_last_component;
--8<-- gschem/src/Makefile.am
actions.decl.x: actions.decl.h actions.c Makefile
$(AM_V_GEN)$(CPP) -I$(srcdir) -c $< | \
sed -e '/^.*KEEP_LINE /!d' -e 's/^.*KEEP_LINE //' > $@.tmp && \
mv $@.tmp $@
-->8--
On my system, this happens:
$ cpp -c actions.decl.h
cpp: fatal error: '-c' is not a valid option to the preprocessor
compilation terminated.
$ cpp actions.decl.h | grep -c KEEP_LINE
135
$
So maybe just drop the -c is enough?
While touching this rule (and the actions.init.x one) maybe also remove &&
since make stops on any error.
//Peter
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |