delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/27/16:33:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3C04066C.2000200@ece.gatech.edu>
Date: Tue, 27 Nov 2001 16:32:28 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Collin Grady <cgrady AT willamette DOT edu>
CC: Cygwin ML <cygwin AT cygwin DOT com>
Subject: Re: ORBit 0.5.12 in Cygwin?
References: <027501c17786$561fc450$b4a1689e AT MagusLaptop>

Disclaimer: I know nothing about ORBit.

However, I *do* know that the ORBit source distribution contains an 
embedded copy of old popt sourcecode.  Try to configure ORBit to link 
against the popt package that's already distributed as part of the 
cygwin dist.

It seems to me that the "old" version of popt that is included with 
ORBit is somehow frobbed.  By linking against the "system" popt you 
avoid that.

BTW, *where* does your /usr/include/mcheck.h come from?  I don't have one...

--Chuck

Collin Grady wrote:

>      When trying to compile ORBit in Cygwin, I get a strange error in the
> source I don't understand, and was wondering if anyone had an idea if its
> Cygwin, or something wrong on my end in an include.  I dont understand why
> its erroring in mcheck.h, as to me it looks correct code-wise.
> ---
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -Wall -g -O2 -c popt.c -o popt.o
> In file included from system.h:11,
>                  from popt.c:5:
> /usr/include/mcheck.h:28: syntax error before `enum'
> /usr/include/mcheck.h:42: parse error before `__P'
> /usr/include/mcheck.h:42: parse error before `)'
> /usr/include/mcheck.h:47: parse error before `__P'
> /usr/include/mcheck.h:50: parse error before `__P'
> /usr/include/mcheck.h:51: parse error before `__P'
> In file included from /usr/include/stdio.h:40,
>                  from system.h:14,
>                  from popt.c:5:
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/include/stdarg.h:71: syntax error
> before `typedef'
> ---
>      -Collin Grady
> 
> Profanity is the one language all programmers know best.
> 
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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