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=draconx-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=uaSaMGmypwaW5r8F+i82qU2ncrds5ExJwGjSKPAU2sU=; b=Bt5gp+Q8YdIVAQcxiko0udhKN7jbQrpUoCQF4M63ISuXpq7y69CL5F1y+r6UODC2el 04zPOwjf2QlrYDXcIbUtO0UXs2R0XOE9BRbil+Zt+k2684qe9f0+26r3IQS5AFNhy0wP mxhNJf8OYyKrZKP8zGTmHHf2HxoMvsEKFQdhoWFD8gV8aDGDLOaUA6xJlFc1RFx0Cj2U egzF82GLhSvw6AAxrGV52v0P9GU6Rud4nZV9AJTllwVw2Y8Hf33f2TkGCgTWFf5Sc70m 1ulCWtB1AhRg4EJQg5mON43ncQ1NrxkLB7SxaP4h05dWRh2GddQ6VXYw3+nlzV1LL2Jn BoIQ== 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=uaSaMGmypwaW5r8F+i82qU2ncrds5ExJwGjSKPAU2sU=; b=SGzI4HfH5znT/auA9EsmmnQzvuHYg7XSzA3cG0zzF63OvkNLaUmtlthhtDO6jQf0e1 O7VESeDWm6CM6iNuA28AgXgK7T2yEGP2FAgQTZAd4dIVbyRZs2QRZU/2fwKzV5Q24ZML e+RoesY5VQ7ZD4wHGI8A+0F3GbPWUYR3MiEh0lh/gGZZs7B9h08M9z6alf5q5KWg7eAU SJHrlRN8/vtTCgOMBEwGQq8SKPv0obphKgbSR4RoCrpUy/6eQUclLVN2h+2GZdYD74qs B2kZF9o/MaLHTnCRTHfkCLtSRyF0DpjKfEoHutwuBp4NFaNPflbX9OgWThfmkTBa15Mc GSMQ== X-Gm-Message-State: APjAAAWUaLIxZhE36HKsUzattbjybekUMfDdzOjanCUGrTG7FQ9O8AZt bwlW6xb2FEvAJngaSA7iAjA3iQUoBM4/8EzROK30xDoagyka8A== X-Google-Smtp-Source: APXvYqxvDHRjmSvscDcl6oVRK/ow+0PdBkwgH4rVkHCDUF6+N2o4HBGk+qHfTdxM+qDGAaWVXEHNjaBwmNUTis2JHgc= X-Received: by 2002:a0d:ca97:: with SMTP id m145mr12853858ywd.173.1575054581226; Fri, 29 Nov 2019 11:09:41 -0800 (PST) MIME-Version: 1.0 X-Originating-IP: [162.243.96.244] In-Reply-To: <20191129180210.507F38038A58@turkos.aspodata.se> References: <20191129180210 DOT 507F38038A58 AT turkos DOT aspodata DOT se> From: "Nick Bowler (nbowler AT draconx DOT ca) [via geda-user AT delorie DOT com]" Date: Fri, 29 Nov 2019 14:09:39 -0500 Message-ID: Subject: Re: [geda-user] fam.h To: geda-user AT delorie DOT com Content-Type: multipart/mixed; boundary="000000000000d15282059880f8c2" 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 --000000000000d15282059880f8c2 Content-Type: text/plain; charset="UTF-8" On 2019-11-29, karl AT aspodata DOT se wrote: > If I configure geda-gaf with: > ===== > export GUILE_CFLAGS="-pthread -I/usr/local/guile_2.0.9/include/guile/2.0" > export GUILE_LIBS="-L/usr/local/guile_2.0.9/lib -lguile-2.0 -latomic_ops > -lgc" > export GUILE=/usr/local/guile_2.0.9/bin/guile > export GUILE_SNARF=/usr/local/guile_2.0.9/bin/guile-snarf > > ./configure --enable-doxygen --disable-update-xdg-database --without-libfam > ===== > > why does it complain about missing fam.h ? Unfortunately it looks like the --without-libfam option in geda-gaf 1.10.0 doesn't work quite right as the stubs till use the enum FAMCodes type and the fam.h header is included unconditionally in order to get this type. Using 'int' instead should avoid the need for this header so I applied the attached patch to avoid this problem. Alternately a stub type could be defined when FAM is disabled. Cheers, Nick --000000000000d15282059880f8c2 Content-Type: text/x-patch; charset="US-ASCII"; name="geda-1.10.0-optional-fam.patch" Content-Disposition: attachment; filename="geda-1.10.0-optional-fam.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 ZGlmZiAtLWdpdCBhL2dzY2hlbS9pbmNsdWRlL3Byb3RvdHlwZS5oIGIvZ3NjaGVtL2luY2x1ZGUv cHJvdG90eXBlLmgKaW5kZXggNmI5MzI0MTMxZTIzLi5hMGVlNWM5NGRhNzUgMTAwNjQ0Ci0tLSBh L2dzY2hlbS9pbmNsdWRlL3Byb3RvdHlwZS5oCisrKyBiL2dzY2hlbS9pbmNsdWRlL3Byb3RvdHlw ZS5oCkBAIC0zOTksMTAgKzM5OSw5IEBAIGdib29sZWFuIHhfZXZlbnRfZ2V0X3BvaW50ZXJfcG9z aXRpb24gKEdzY2hlbVRvcGxldmVsICp3X2N1cnJlbnQsIGdib29sZWFuIHNuYXBwCiB2b2lkIHhf Y29tcHNlbGVjdF9kZXNlbGVjdCAoR3NjaGVtVG9wbGV2ZWwgKndfY3VycmVudCk7CiB2b2lkIHhf Y29tcHNlbGVjdF9zZWxlY3RfcHJldmlvdXNfc3ltYm9sIChHc2NoZW1Ub3BsZXZlbCAqd19jdXJy ZW50KTsKIC8qIHhfZmFtLmMgKi8KLWVudW0gRkFNQ29kZXM7CiB2b2lkIHhfZmFtX2luaXQgKHZv aWQpOwogdm9pZCB4X2ZhbV9mcmVlICh2b2lkKTsKLWdwb2ludGVyIHhfZmFtX21vbml0b3IgKGNv bnN0IGdjaGFyICpwYXRoLCB2b2lkICgqZXhpc3RzX2V2ZW50KSAoY29uc3QgZ2NoYXIgKnBhdGgs IGVudW0gRkFNQ29kZXMgY29kZSwgZ3BvaW50ZXIgdXNlcl9kYXRhKSwgdm9pZCAoKnJlZ3VsYXJf ZXZlbnQpIChjb25zdCBnY2hhciAqcGF0aCwgZW51bSBGQU1Db2RlcyBjb2RlLCBncG9pbnRlciB1 c2VyX2RhdGEpLCBnc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ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgZ3BvaW50ZXIgdXNlcl9kYXRhKSwKICAgICAgICAgICAgICAgIGdw b2ludGVyIHVzZXJfZGF0YSkKIHsK --000000000000d15282059880f8c2--