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]" 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Precedence: bulk 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