Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] socat: fix build failure due to ext2_fs.h header, bump version
Date: Thu, 17 May 2012 15:34:12 +0200	[thread overview]
Message-ID: <20120517153412.1c5c10d3@skate> (raw)
In-Reply-To: <1337253358-5050-1-git-send-email-thomas.petazzoni@free-electrons.com>

Le Thu, 17 May 2012 13:15:57 +0200,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :

> In kernel >= 3.3, the ext2_fs.h can no longer be imported from
> userspace. This has been fixed for internal toolchains by adding a
> patch to kernel headers, but this doesn't work with toolchains
> generated by Crosstool-NG, or potentially upcoming external
> toolchains.
> 
> socat in fact has a test in its configure.in, but the configure was
> generated too long ago, and the generated test relies on the
> preprocessor result and not the compiler result (but warns that in the
> future, the compiler result will be used instead of the preprocessor
> result).
> 
> So, by running autoconf on this package, we fix the problem: it
> properly checks whether ext2_fs is usable or not, and acts
> accordingly. Of course, it means that with recent versions of the
> kernel, ext2-specific features of socat are unavailable, and we'll
> have to wait for the socat developers to adapt their code so that they
> use the e2fsprogs headers.

Forgot to say so in the commit log, but this fixes:
 http://autobuild.buildroot.org/results/fb8f118d0051d01f41cdc50a90df05f9d648e433/build-end.log

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2012-05-17 13:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 11:15 [Buildroot] [PATCH 1/2] socat: fix build failure due to ext2_fs.h header, bump version Thomas Petazzoni
2012-05-17 11:15 ` [Buildroot] [PATCH 2/2] socat: disable documentation build/installation Thomas Petazzoni
2012-05-17 13:34 ` Thomas Petazzoni [this message]
2012-05-17 21:46 ` [Buildroot] [PATCH 1/2] socat: fix build failure due to ext2_fs.h header, bump version Peter Korsgaard

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=20120517153412.1c5c10d3@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox