bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool issue with missing include


From: Vincent R.
Subject: Re: libtool issue with missing include
Date: Mon, 18 Jan 2010 21:36:59 +0100
User-agent: RoundCube Webmail/0.2

On Mon, 18 Jan 2010 21:20:26 +0100, Ralf Wildenhues
<address@hidden> wrote:
> Hello Vincent,
> 
> * Vincent R. wrote on Mon, Jan 18, 2010 at 12:38:09PM CET:
>> Sorry I don't want to subscribe to libtool ML just to report a bug.
> 
> You don't have to be subscribed to report a bug there.  I'm forwarding
> your report:
> 
>> Yesterday I have installed latest version of msys/mingw with latest
>> stable version of automake/autoconf/libtool and I tried to compile
>> cairo or one of its dependencies(don't remember which one) but I got
>> en error due to libtool C wrapper: _P_WAIT was not defined and I have
>> to add <process.h> to ltmain.sh.
>> Just wanted to report it.
> 
> Thanks for the report.  Which compiler did you use?  Asking because the
> current code has something like
> 
> #ifdef _MSC_VER
> # define _CRT_SECURE_NO_DEPRECATE 1
> #endif
> #include <stdio.h>
> #include <stdlib.h>
> #ifdef _MSC_VER
> # include <direct.h>
> # include <process.h>
> # include <io.h>
> #else
> # include <unistd.h>
> # include <stdint.h>
> # ifdef __CYGWIN__
> #  include <io.h>
> # endif
> #endif
> 
> which would include process.h but only for MSVC.
> 
> My MinGW cross compilation environment includes process.h from unistd.h,
> but I'm not sure that we can expect that (the cwrapper doesn't use
> _P_WAIT on cygwin).

I was using mingw but the problem maybe due to my bad mingw install ...
So for now please ignore my report.
Sorry for the noise.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]