From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Make
Date: Tue, 9 Aug 2011 15:29:52 -0400 [thread overview]
Message-ID: <20110809192952.GT132@brightrain.aerifal.cx> (raw)
In-Reply-To: <da9fc6ea49d9e1b2e5c1855a089b9555@smtp1.ispfr.net>
On Tue, Aug 09, 2011 at 09:10:23PM +0200, nicolas@atelier-web.com wrote:
> On Mon, 8 Aug 2011 16:56:18 -0400, Rich Felker <dalias@aerifal.cx> wrote:
> > On Mon, Aug 08, 2011 at 03:03:09PM +0200, nicolas@atelier-web.com wrote:
> >> But make depends on ld-linux.so.2 ans on librt.so.1 which are not
> >> provided
> >> by musl..
> >
> > Actually maybe I misunderstood - are you trying to use a glibc-linked
> > "make" in a chroot that only has musl? If so, it won't work. You could
> > instead static-link all your glibc programs (so they'll work in the
> > chroot) then replace them with musl-linked ones as soon as you can..
> >
> > Rich
>
> Hmm,
> Okay, thanks for these explanations :)
> I tried something, i began to try to use the gcc wrapper to link make to
> musl,
> but i had some errors : some headers were missing (ar.h / sys/cdefs.h)
I'm doubtful that make was trying to include sys/cdefs.h. I certainly
never ran into this issue when building it. It may try ar.h, but
configure should really be detecting the presence or absence of these.
Are you trying to use a make source tree that was already configured
for glibc?
> So I tried to use the system's headers (Archlinux) but the compilation
> failed. (copy to /usr/local/musl/include)
This is definitely wrong, in general. If a program is trying to
include a header that doesn't exist, the first thing you try should be
just removing the #include line. :-)
Rich
next prev parent reply other threads:[~2011-08-09 19:29 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-07 18:57 Compilation error nicolas
2011-08-07 19:36 ` Szabolcs Nagy
2011-08-07 19:34 ` Rich Felker
2011-08-07 19:50 ` Rich Felker
2011-08-07 21:01 ` nicolas
2011-08-07 20:52 ` Rich Felker
2011-08-07 22:09 ` Szabolcs Nagy
2011-08-07 22:00 ` Rich Felker
2011-08-07 22:05 ` Rich Felker
2011-08-08 7:08 ` Szabolcs Nagy
2011-08-17 10:33 ` Szabolcs Nagy
2011-08-17 13:39 ` Rich Felker
2011-08-17 14:47 ` Szabolcs Nagy
2011-08-17 14:59 ` Szabolcs Nagy
2011-08-17 18:18 ` Rich Felker
2011-08-08 13:03 ` Make nicolas
2011-08-08 20:55 ` Make Rich Felker
2011-08-08 20:56 ` Make Rich Felker
2011-08-09 19:10 ` Make nicolas
2011-08-09 19:29 ` Rich Felker [this message]
2011-08-09 20:23 ` Make Szabolcs Nagy
2011-08-10 19:19 ` Make nicolas
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=20110809192952.GT132@brightrain.aerifal.cx \
--to=dalias@aerifal.cx \
--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).