From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2673 Path: news.gmane.org!not-for-mail From: Olivier Goudron Newsgroups: gmane.linux.lib.musl.general Subject: Re: Question about missing linux/version.h while statically compiling Redis Date: Fri, 25 Jan 2013 14:05:14 +0100 Message-ID: References: <51028122.6010201@gentoo.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1359119131 26799 80.91.229.3 (25 Jan 2013 13:05:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 13:05:31 +0000 (UTC) To: "musl@lists.openwall.com" Original-X-From: musl-return-2674-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 25 14:05:50 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 1TyiyV-0002eF-SP for gllmg-musl@plane.gmane.org; Fri, 25 Jan 2013 14:05:44 +0100 Original-Received: (qmail 16043 invoked by uid 550); 25 Jan 2013 13:05: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 16034 invoked from network); 25 Jan 2013 13:05:26 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=gIGo8A8l71biL16lMGXQEtX79kpzp2tFNCROETtAGH0=; b=MHhY9/jnHj9mD5SIpIiLIocbryxn2tmNVfWdOBBJuBV+oUO6i40MU6IN2Civzk3gLy O1VEzsW5cW3KYsxCCqPZ3DFvpYz9v2EKLNKhAAPGUP9cxOh6llV+gBMSAL8nPzIziDGo aJnbSTuhN2HUbmH8x6IOz69AJ/iEBobj13WU69XGwoKtUFPUomyrpjVce/QB976cOKBE 6RK+V7dnQ/8JyetSlnHe6FMrdZ+IL8RJAhNaYsUFY4Eo611PxH+5GZsWd9/OGpr+HJFA rmUS6Y9MUhMZOD7eHLZ5oLbhQFd9Doy9byBLYHZp7B7plyBgyvQ6Md67gFFdAGYPlKrc Q7fw== X-Received: by 10.152.105.103 with SMTP id gl7mr5082438lab.41.1359119114823; Fri, 25 Jan 2013 05:05:14 -0800 (PST) In-Reply-To: <51028122.6010201@gentoo.org> Xref: news.gmane.org gmane.linux.lib.musl.general:2673 Archived-At: The compilation worked without kernel headers installed when done with glibc. I have installed nevertheless kernel headers but this does not solved the problem. Compilation failed the same way. Thanks for trying to help me, Olivier. 2013/1/25 Luca Barbato : > 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)