Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51028FD0.9050604@barfooze.de>
Date: Fri, 25 Jan 2013 14:59:44 +0100
From: John Spencer <maillist-musl@...fooze.de>
To: olivier.goudron@...il.com
CC: musl@...ts.openwall.com
Subject: Re: Question about missing linux/version.h while statically
 compiling Redis

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.