Re: Build problems - unistd.h

2007-06-02 Thread Scott Peterson
You really should not edit unistd.h or any other system header, ever. That's a very bad practice to get into. If "#undef pipe" in dbus-binding-tool-glib.c works, then go with that, but even that's a horrible hack. The best way would be to find out why this macro that seems to be relevant only to

Re: Build problems - unistd.h

2007-06-01 Thread Brian Dessent
Scott Peterson wrote: > On that advice, I now get a new error: > > /home/Scott/downloads/dbus-glib-0.73/dbus/dbus-binding-tool-glib.c:800: > undefine > d reference to `_g_file_open_tmp_utf8' > > This is nearly identical to the error I got when commenting out line > 108 of unistd.h: > > /home/S

Re: Build problems - unistd.h

2007-06-01 Thread Scott Peterson
On that advice, I now get a new error: /home/Scott/downloads/dbus-glib-0.73/dbus/dbus-binding-tool-glib.c:800: undefine d reference to `_g_file_open_tmp_utf8' This is nearly identical to the error I got when commenting out line 108 of unistd.h: /home/Scott/downloads/dbus-glib-0.73/dbus/dbus-bin

Re: Build problems - unistd.h

2007-05-31 Thread Igor Peshansky
On Thu, 31 May 2007, Scott Peterson wrote: > Sorry about the large email: didn't realize how big it was when I cut > and pasted. > Line 108 is indeed: > > int _EXFUN(pipe, (int __fildes[2] )); > > I've greped around for "define pipe" and the only results I could find > are /usr/include/glib-1.

Re: Build problems - unistd.h

2007-05-30 Thread Scott Peterson
Sorry about the large email: didn't realize how big it was when I cut and pasted. Line 108 is indeed: int _EXFUN(pipe, (int __fildes[2] )); I've greped around for "define pipe" and the only results I could find are /usr/include/glib-1.2/glib.h and /usr/include/glib-2.0/glib/gwin32.h. Both fi

Re: Build problems - unistd.h

2007-05-29 Thread Matthew Woehlke
Greg Chicares wrote: On 2007-05-30 00:12Z, Scott Peterson wrote: Here's the content of the intermediate file dbus-binding-tool-glib.i: [major snip] On 2007-05-29 02:07Z, you had written: In file included from /usr/include/unistd.h:4, from dbus-binding-tool-glib.c:39: /usr/inc

Re: Build problems - unistd.h

2007-05-29 Thread Greg Chicares
On 2007-05-30 00:12Z, Scott Peterson wrote: > > Here's the content of the intermediate file dbus-binding-tool-glib.i: [major snip] On 2007-05-29 02:07Z, you had written: > > In file included from /usr/include/unistd.h:4, > from dbus-binding-tool-glib.c:39: > /usr/include/sys/unis

Re: Build problems - unistd.h

2007-05-29 Thread Brian Dessent
Scott Peterson wrote: > Here's the content of the intermediate file dbus-binding-tool-glib.i: Did you really have to send a 350 KB message to thousands of people? Some people consider that a little wasteful when exactly one line of all of that was relevant. If you're going to do that at least s

Re: Build problems - unistd.h

2007-05-29 Thread Brian Dessent
Scott Peterson wrote: > Eric, when I try make CC="gcc -E" I get this error in the output: > .libs/dbus-glib.o: file not recognized: File format not recognized You just created an .o file consisting of the output of the preprocessor. That's obviously not going to work in the context of make where

Re: Build problems - unistd.h

2007-05-29 Thread Scott Peterson
Eric, when I try make CC="gcc -E" I get this error in the output: .libs/dbus-glib.o: file not recognized: File format not recognized I'm building dbus-glib from source and I get this error when I make: In file included from /usr/include/unistd.h:4, from dbus-binding-tool-glib.c:

Re: Build problems - unistd.h

2007-05-28 Thread Brian Dessent
Scott Peterson wrote: > I'm building dbus-glib from source and I get 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 not

Re: Build problems - unistd.h

2007-05-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Scott Peterson on 5/28/2007 8:07 PM: > I'm building dbus-glib from source and I get 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

Build problems - unistd.h

2007-05-28 Thread Scott Peterson
I'm building dbus-glib from source and I get 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? -- Scott. -- Unsubscribe info: http://cygw