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
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
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
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.
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
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
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
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
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
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:
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
-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
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
13 matches
Mail list logo