From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2672 Path: news.gmane.org!not-for-mail From: Luca Barbato Newsgroups: gmane.linux.lib.musl.general Subject: Re: Question about missing linux/version.h while statically compiling Redis Date: Fri, 25 Jan 2013 13:57:06 +0100 Message-ID: <51028122.6010201@gentoo.org> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1359118641 22587 80.91.229.3 (25 Jan 2013 12:57:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 12:57:21 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2673-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 25 13:57:40 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 1Tyiqc-0006nR-Cm for gllmg-musl@plane.gmane.org; Fri, 25 Jan 2013 13:57:34 +0100 Original-Received: (qmail 12020 invoked by uid 550); 25 Jan 2013 12:57:16 -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 12012 invoked from network); 25 Jan 2013 12:57:16 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-Enigmail-Version: 1.4.6 Xref: news.gmane.org gmane.linux.lib.musl.general:2672 Archived-At: On 25/01/13 13:43, Olivier Goudron wrote: > Hello, > > I am using a 32bits Debian host. > I have installed musl-libc from git today. > I have configured musl-libc with : > ./configure --prefix=/usr/local/musl --exec-prefix=/usr/local --disable-shared > The "hello word" compilation test work. > > I am trying to statically compile redis with musl-libc wrapper. > I start the compilation with : CC=musl-gcc make > And the compilation stop with error : > In file included from ae.c:45: > 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. > Possibly you need all the kernel headers (linux-headers package)