From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8593 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: linux/vt.h Date: Thu, 1 Oct 2015 16:15:12 -0400 Message-ID: <20151001201512.GK8645@brightrain.aerifal.cx> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1443730530 3152 80.91.229.3 (1 Oct 2015 20:15:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 20:15:30 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8605-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 01 22:15:30 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZhkGG-0006nA-4a for gllmg-musl@m.gmane.org; Thu, 01 Oct 2015 22:15:28 +0200 Original-Received: (qmail 12285 invoked by uid 550); 1 Oct 2015 20:15:26 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 12261 invoked from network); 1 Oct 2015 20:15:25 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8593 Archived-At: On Thu, Oct 01, 2015 at 01:02:51PM -0700, Jorge Almeida wrote: > Greetings > > includes , but there is no such thing There are a couple of headers like this that are questionable to have in musl at all, but it seemed like the most sensible place to have them. I think sys/soundcard.h and sys/kd.h are also like this. These are headers that really have nothing to do with libc or userspace stuff; they just define ioctl interfaces to the Linux kernel. But for various historical reasons they were in sys/ rather than linux/ where the kernel headers would go. In order to use these, you need to have kernel headers installed. There are several ways to get them, but the easiest is the way provided by the kernel: https://www.kernel.org/doc/Documentation/kbuild/headers_install.txt You should point INSTALL_HDR_PATH to the location of the musl include dir if you use this method. Alternatively if you don't want to download and extract the whole kernel source, Sabotage Linux has a working kernels headers package; you can simply download from their mirrors listed in the package file: https://github.com/sabotage-linux/sabotage/blob/master/pkg/kernel-headers Hope this helps. BTW once the wiki is back up we should put this on the FAQ if it's not already there.. Rich