mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Olivier Goudron <olivier.goudron@gmail.com>
To: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: Re: Question about missing linux/version.h while statically compiling Redis
Date: Fri, 25 Jan 2013 14:05:14 +0100	[thread overview]
Message-ID: <CABv4eg2Agg05e90Z4JWm=X=AsoROrGPBdfR9TcS49-_8McAYPQ@mail.gmail.com> (raw)
In-Reply-To: <51028122.6010201@gentoo.org>

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@gentoo.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)


  reply	other threads:[~2013-01-25 13:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-25 12:43 Olivier Goudron
2013-01-25 12:57 ` Luca Barbato
2013-01-25 13:05   ` Olivier Goudron [this message]
2013-01-25 13:59 ` John Spencer
2013-01-25 15:01   ` Szabolcs Nagy
2013-01-25 15:52     ` Olivier Goudron
2013-01-25 16:23       ` Szabolcs Nagy
2013-01-25 16:28       ` John Spencer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABv4eg2Agg05e90Z4JWm=X=AsoROrGPBdfR9TcS49-_8McAYPQ@mail.gmail.com' \
    --to=olivier.goudron@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).