www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/02/24/07:43:30

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Wed, 24 Feb 2021 13:42:02 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Don Kuenz (mail AT crcomp DOT net) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] FreeBSD 12.2 "make all-recursive" error
In-Reply-To: <202102240343.11O3hWQT023998@delorie.com>
Message-ID: <alpine.DEB.2.21.2102241333000.1262@nimbus>
References: <202102240343 DOT 11O3hWQT023998 AT delorie DOT com>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
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

Hi Don,

On Wed, 24 Feb 2021, Don Kuenz (mail AT crcomp DOT net) [via 
geda-user AT delorie DOT com] wrote:
>    git clone git://git.geda-project.org/geda-gaf.git
>    autoreconf --install --force

with gEDA/gaf, invoking autoreconf manually won't work; you need to 
actually invoke the autogen.sh script.[0]

>    ./autogen.sh
>    ./configure --prefix=$HOME/geda
>    make all-recursive

Why are you running "make all-recursive" instead of "make"/"make all"?

> The $HOME/geda directory does not yet exist at the point of error:

That's correct; it is only created at installation time.

>    gschem_compselect_dockable.c: In function 'select_symbol':
>    gschem_compselect_dockable.c:210:34: error: 'action_add_last_component' undeclared (first use in this function)
>      210 |     gschem_action_set_sensitive (action_add_last_component,
>          |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
>    gschem_compselect_dockable.c:210:34: note: each undeclared identifier is reported only once for each function it appears in
>    *** Error code 1

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;

If it doesn't, it may be helpful if you post the contents of the file.

Roland


[0] http://wiki.geda-project.org/geda:gaf_building_git_version

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019