X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <47DE42E4.C940C6A7@dessent.net>
Date: Mon, 17 Mar 2008 03:07:32 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: sys/sysinfo.h : No such file error
References: <e111e1200803161720s9d9ac3es3c9d42b359c75b0f@mail.gmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Shashidhar Dakuri wrote:

> src/src_sharpSAT/MainSolver/FormulaCache.h:9:25: sys/sysinfo.h: No such file or
> directory

That is a glibc header, meaing the program you're trying to build is not
portable and depends on linux-specific features.  Headers with the sys/
prefix tend to mean system-specific so it's generally a bad idea to use
them if you care about portability.

If you want to build it you'll have to either remove the code that needs
that interface or figure out a way to portably achieve the same goal. 
Or you could reimplement the interface in Cygwin, which is what has
happened for a number of linux-specific APIs, but not yet this one.

Brian

--
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/

