X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=CDXNo5lO5miVsEc3OVJGLCkG1F7M0bZKTzWx8Kh/HGY=; b=aEZ1kK6NC6USqyL1V+zPJenmGnlaV1Qlj7pcyG07ywRw4wu7OjzzLLTkP6JRVljpBO bXofLKdLecqf8tNfU/eJzj7rZMvF0aBWLbAlcQW/fPMU9RPRkP69Q/70ZaoSLPYM37li nS0VZyhxhBO6JY9K/YqOrZ+Q+aL1F+5pn6iUE= MIME-Version: 1.0 In-Reply-To: <20111026105142.0f36c506@svelte> References: <20111026105142 DOT 0f36c506 AT svelte> From: Alberto Maccioni Date: Thu, 27 Oct 2011 15:52:47 +0200 Message-ID: Subject: Re: [geda-user] pcb-20110918 compile error To: geda-user AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9REFTbW001391 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 Hello, sorry for the duplication, I did't see the message in my inbox and I thought it had been lost; maybe it was just my input filter. Anyways, I'm working in cygwin, so also under windows, but up to this version I could compile without too many problems. Indeed I have: /* Define to 1 if you have the `_spawnvp' function. */ #define HAVE__SPAWNVP 1 I commented the define and it works. Is there a faq for cygwin users? I guess this tip would help many people. Thanks a lot, Alberto 2011/10/26 Colin D Bennett : > On Wed, 26 Oct 2011 09:51:43 +0200 > Alberto Maccioni wrote: > >> Hello, I'm trying to compile pcb without gl (./configure >> --disable-gl), but I get the following error: >> ... >> action.c: In function 'pcb_spawnvp': >> action.c:7245:3: warning: implicit declaration of function >> '_spawnvp' action.c:7245:26: error: '_P_WAIT' undeclared (first >> use in this function) action.c:7245:26: note: each undeclared >> identifier is reported only once for each function it appears in >> ... >> Any idea of what is the problem? > > What OS and system architecture are you on?  Are you building on > Windows?  Unless you are on Windows, I don't think that section of > pcb_spawnvp() should be compiled. > > Look at your config.h generated in the pcb workspace by the > configure script.  You should see a section line this: > > /* Define to 1 if you have the `_spawnvp' function. */ > /* #undef HAVE__SPAWNVP */ > > It is generated by the configure script. > > P.S. please don't just duplicate your message, it is impolite and > just adds noise. > > > Regards, > Colin >