From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2674 Path: news.gmane.org!not-for-mail From: John Spencer Newsgroups: gmane.linux.lib.musl.general Subject: Re: Question about missing linux/version.h while statically compiling Redis Date: Fri, 25 Jan 2013 14:59:44 +0100 Message-ID: <51028FD0.9050604@barfooze.de> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359122431 26056 80.91.229.3 (25 Jan 2013 14:00:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 14:00:31 +0000 (UTC) Cc: musl@lists.openwall.com To: olivier.goudron@gmail.com Original-X-From: musl-return-2675-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 25 15:00:51 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Tyjpq-0003YD-P0 for gllmg-musl@plane.gmane.org; Fri, 25 Jan 2013 15:00:50 +0100 Original-Received: (qmail 11570 invoked by uid 550); 25 Jan 2013 14:00:32 -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 11562 invoked from network); 25 Jan 2013 14:00:32 -0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Mail/1.0 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:2674 Archived-At: On 01/25/2013 01:43 PM, Olivier Goudron wrote: > config.h:87:27: error: linux/version.h: Aucun fichier ou dossier de ce type > > What should i do ? > > Can i copy the linux/version.h from my local glibc include directory > to musl-libc include directory ? > > Thanks in advance, Olivier. > as linux/ suggests, this is a linux header, and not related to the libc in use. i.e. everything in linux/ is provided by the linux kernel. sabotage linux has a package linux-kernel-headers which has a download url for a header tarball that includes linux/version.h: http://mirror.wzff.de/sabotage/tarballs/kernel-headers-3.3.4-1.tar.gz alternatively since the uapi split you may now be able to download the kernel headers straight from kernel.org well-behaving programs do not include kernel headers, so you might want to file a bug at the redis bugtracker. the inclusion from config.h suggests that there was a configure check for this header which for some reason (you may want to inspect config.log) succeeded despite the lack of this header on your system. btw: french error messages are not very helpful