dbus-glib Build Problem

Ralf Habacker ralf.habacker at freenet.de
Mon May 28 23:43:58 PDT 2007

Thiago Macieira schrieb:
> Scott Peterson wrote:
>> I'm trying to build dbus-glib on cygwin and I'm getting this error when
>> I make:
>> In file included from /usr/include/unistd.h:4,
>>                 from dbus-binding-tool-glib.c:39:
>> /usr/include/sys/unistd.h:108: error: parse error before numeric
>> constant
>> Ideas?
> There's something in that line of sys/unistd.h that is being #define'd to 
> something else.
> What's on that line?
> sys/unistd.h has 1 line here.
in cygwin 1.5.21-2 unistd.h version line  108 contains

   int     _EXFUN(pipe, (int __fildes[2] ));

Probably __fildes is being redefined. You may compile with make CC="gcc
-save-temps" and take a look into dbus-binding-tool-glib.i then to see
what's going wrong.


More information about the dbus mailing list