delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/17/05:08:07

X-Recipient: archive-cygwin AT delorie DOT 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 AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sys/sysinfo.h : No such file error
References: <e111e1200803161720s9d9ac3es3c9d42b359c75b0f AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


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