Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 25 Jan 2013 14:05:14 +0100
From: Olivier Goudron <olivier.goudron@...il.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: Re: Question about missing linux/version.h while statically
 compiling Redis

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 <lu_zero@...too.org>:
> 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)

Powered by blists - more mailing lists

Your e-mail address:

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