delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/01/17:34:53

X-Spam-Check-By: sourceware.org
Message-ID: <ee9b16d00706011434h295e1afer8fdd345aac480ae@mail.gmail.com>
Date: Fri, 1 Jun 2007 17:34:23 -0400
From: "Scott Peterson" <lunchtimemama AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Build problems - unistd.h
Cc: pechtcha AT cs DOT nyu DOT edu
In-Reply-To: <Pine.GSO.4.63.0705311030070.13828@access1.cims.nyu.edu>
MIME-Version: 1.0
References: <ee9b16d00705281855m57914fcag37e88f9a52b47315 AT mail DOT gmail DOT com> <ee9b16d00705291413j579cc046vcd3d8d8517c3f6ef AT mail DOT gmail DOT com> <ee9b16d00705291712s4b79ba95u66054f4dc66709a5 AT mail DOT gmail DOT com> <ee9b16d00705302103l50d883aej5e1e30328109b099 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0705311030070 DOT 13828 AT access1 DOT cims DOT nyu DOT edu>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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-binding-tool-glib.c:799: undefine
d reference to `_g_file_open_tmp_utf8'

Note that the errors differ only in their line numbers. Whatever does it mean?

On 5/31/07, Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> wrote:
> 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.2/glib.h and
> > /usr/include/glib-2.0/glib/gwin32.h. Both files define precisely the
> > method you mention:
> >
> > #define pipe(phandles)        _pipe (phandles, 4096, _O_BINARY)
> >
> > Here's the kicker: I commented out both instances of that #define and
> > the build still fails with the same error. Is there anyway I can find
> > out precisely where the preprocessor is getting that method? C really
> > isn't my thing so when I have problems like this with prerequisite
> > packages, I'm really at a loss. Thanks everyone for lending me a hand
> > with this!
>
> You could try simply inserting '#undef pipe' before '#include <unistd.h>'.
>         Igor
> --
>                                 http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_            pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
> ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
>      |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
>     '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> Freedom is just another word for "nothing left to lose"...  -- Janis Joplin
>



-- 
Scott.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019