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 |
Date: | Sun, 12 Jul 2015 06:45:36 +0200 (CEST) |
X-X-Sender: | igor2 AT igor2priv |
To: | "Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
X-Debug: | to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" |
From: | gedau AT igor2 DOT repo DOT hu |
Subject: | [geda-user] gd vs. scconfig (was: Re: developer excitement? was Re: gEDA/gschem |
still alive?) | |
In-Reply-To: | <CAM2RGhQLqJbffYZdN55DPOAQPyajX261eTsiL+DqNxswvJy8=Q@mail.gmail.com> |
Message-ID: | <alpine.DEB.2.00.1507120636350.6924@igor2priv> |
References: | <CAM2RGhTpfbqM7zNn72TBOjeL7B7LPT1PxSEU3+9aDdChFrPFTg AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1507090507530 DOT 6924 AT igor2priv> <CAM2RGhS5LH=GXuH_r6B1DednLe8vDe5A6-sfs+DbRco+-rL9iQ AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1507100537210 DOT 6924 AT igor2priv> |
<CAM2RGhTpAFRGtZmAhrOvuRgFSvM1T_BJ2EaRDOGHc=BTWGhupA AT mail DOT gmail DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1507120546430 DOT 6924 AT igor2priv> <CAM2RGhQLqJbffYZdN55DPOAQPyajX261eTsiL+DqNxswvJy8=Q AT mail DOT gmail DOT com> | |
User-Agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
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 |
On Sun, 12 Jul 2015, Evan Foss (evanfoss AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Apologies. The file is attached No problem, and thank you for testing! The relevant lines are near the end. After running gdlib-config --libs, we get: stdout: '-ljpeg -lfontconfig -lfreetype -lz -lm And then the test program compiles but doesn't link: ========= output dump start ============ /tmp/ccxK4ZrN.o: In function `main': scc_75198.c:(.text+0xf): undefined reference to `gdImageCreateTrueColor' The reason is clearly that gdlib-config --libs does not say -lgd should be used. We can fix it in several ways: 1. We assume on some systems this is the default behavior and -lgd needs to be added manually; Icam add an extra test in scconfig that tries this combination 2. We could assume your gdlib-config differs from mine; you could try to figure with what arguments your gdlib-config should be called with to yield -lgd. 3. Low probabilty, but it may be that your gd installation is broken and gdlib-config --libs should include -lgd. Please let me know in what direction you'd like to proceed. I also suggest to take this off the list - I am pretty sure noone else is interested in a gs vs. scconfig debug session. Regards, Igor2
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |