www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2019/11/10/10:22:51

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=aFyeRkxBzM8r3pIfWeNdvvRhL/zZ2TAbteEtzsDNTkQ=;
b=mDRCXeTEp+UFoWZSEn9OJXmT2qLjbl52LRStlwYP0KPnNR1gpAww6EvEvOSMO+6OSg
JHSSB9ccxRFvVNllCy1evW7Pw/CZw1ugnnoL4OAoe2jYR3bOGrm0fqv9CcCj8aaWzxMF
85kIYfq5ZL82wQYkPR9gIcNyfyPq/2kPx9maJvZBBO63hc+ErHEY+U9P1jO/FFAbj82y
6OYXKDC3xq+GAYvg8+Q4BaL+Bg+0Zv1jjsMqOdIKJdkNuZG1cwWV88u3rVyB4pSsprqt
K1MMHb8eH+w/+Th8dQO2C/qcMIO35ihhmuFs/kL5aZC2T1PXV+HFodcdAhmmMgYDzCYB
kvTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=aFyeRkxBzM8r3pIfWeNdvvRhL/zZ2TAbteEtzsDNTkQ=;
b=hcFivfmEF3sUCikYRsAoRl1W4OaRuGes/1vPjsq0BXQuPcbzrfqVO9tTqhvFe+oaI6
O1tKb7JKCzcGZVW4Yjhg4dKOV12Qi8d50xQtpqfibt5cCxd3wmsznOoP+s0z/jOSi11O
CiUuxWSqP7S0bQO5vk3VCUmAGMBqUvQlSgoblk87mYqg9Rj95l+lv7b/n9HysAOXMVdy
IsW6qxl+pJl9t8CT3vTjuHGywOwMB1CIpdMdf084VFg4PuFee0yhDmpIEBrQ0FFsM3AO
Malz8+w4IJvbijA3hNMdQ3T3yvs5bKOfDm1PU2Ah2N/JbFTAsFnM7Oa52vlZmTEMCYZv
P5yg==
X-Gm-Message-State: APjAAAWzOtaf8D4DX8MnvqRJqX1GhcFvM66dbOpaOmbYZ9ZaS0KZwdfS
aZHxFRLyBlDZ8zLl9882+SpIVOVb2/Yo8XWAYhFafg==
X-Google-Smtp-Source: APXvYqworyV1buYqEiA65phK5PDdPuCrZkbJPhA7PeUPbE0jkBKeuWfVjjVY3i4iEdwIjXqbT2Q8eG9HFGbRWTkmk0A=
X-Received: by 2002:a05:600c:2105:: with SMTP id u5mr16060052wml.47.1573398058503;
Sun, 10 Nov 2019 07:00:58 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAGBFkM0w0ik25nU9Bo+5ZhMXAhJdkw91FCu3=9-OX9NPGwehQg@mail.gmail.com>
References: <CAGBFkM3HyN2HHiYFbGPqucG6-1BsZm_au+cYQx1x=PHk7po4YQ AT mail DOT gmail DOT com>
<CAOh3dDZuEQm7b_uQXULz4axoAY7M5Hx_1q1s+p35FaoAaBx_1w AT mail DOT gmail DOT com> <CAGBFkM0w0ik25nU9Bo+5ZhMXAhJdkw91FCu3=9-OX9NPGwehQg AT mail DOT gmail DOT com>
From: "Alan Corey (alan01346 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Date: Sun, 10 Nov 2019 10:00:56 -0500
Message-ID: <CAOh3dDZJM-U=U4Kak4XNz18kQkJZOH0vwt=YSNM-WVfXyhWyAA@mail.gmail.com>
Subject: Re: [geda-user] Trouble building gschem 1.10.0
To: geda-user AT delorie DOT com
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

Something weird is going on, something's missing that probably defines
that.  Did you run configure?  Did you read the documentation and
install everything it told you to?  I'm not sure if I've ever built
gschem from sources but it was years ago if I did. I used OpenBSD for
15 years and it was good practice at solving these mysteries.  Now I
use Debian or Raspbian and try to live with the version of things in
the packages/debs first, then if something's not new enough (some are
years old) I build from sources.  If you fetched with git there's
probably no configure, you need to run autogen.sh to make one (and
maybe other stuff).

Try this: cd out  to the outermost level of the project's files.  Then do
  grep -r G_PARAM_EXPLICIT_NOTIFY .
The -r says search recursively, the . at the end means start at the
current directory.  If you find it it will probably be in a header
file (.h extension) and you can try including that file by putting a
-i<filename> in your CFLAGS but you'll probably just run into another
one.  You shouldn't have to do it this way.  If I do
  apt-get install geda-gschem
it will automatically install everything needed.

I'm not sure how you made the c99 an environment variable but remember
to take it out later.  It won't always be appropriate and having
something old (and probably forgotten) like that is the #1 cause of
the error message "the compiler cannot create executables".  Which is
not an easy problem to solve because there can be many reasons for it.

Specifying it on the line calling whatever needs it applies it only to
that.  You can do
  export CFLAGS="whatever" on a command line and it only applies to
that terminal session.  What I do lately is put stuff like that into a
little script which sets up everything and runs whatever.  That way
it's not cluttering up your environment, plus you can duplicate
exactly what you did later by running the same script again.

On 11/10/19, gene glick (geneglick AT optonline DOT net) [via
geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
> On Sat, Nov 9, 2019 at 9:51 PM Alan Corey (alan01346 AT gmail DOT com) [via
> geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
>
>> You need to set GCC into c99 mode.  Get a "-std=c99" or " -std=gnu99 "
>> into your CFLAGS variable somehow.  Something like
>> CFLAGS="-std=c99" ./configure
>>
>>
> I made that an environment variable and the build proceeds. Now another
> error:
>
> gschem_change_notification.c: In function 'class_init':
> gschem_change_notification.c:257:46: error: 'G_PARAM_EXPLICIT_NOTIFY'
> undeclared (first use in this function)
>                           G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
>                                               ^
> gschem_change_notification.c:257:46: note: each undeclared identifier is
> reported only once for each function it appears in
> make[4]: *** [gschem-gschem_change_notification.o] Error 1
>


-- 
-------------
No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Cities are cages built to contain excess people and keep them from
cluttering up nature.
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach

- Raw text -


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