Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 CC: Cygwin ML Subject: Re: ORBit 0.5.12 in Cygwin? References: <027501c17786$561fc450$b4a1689e AT MagusLaptop> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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/