Hello Eric,
On Thursday 19 January 2012 21:38:22 Eric Blake wrote:
That's an unusual mix, where the syscall exists (since 2.6.27)
but libc
is too old to use the syscall.
The original kernel was 2.6.26, but which later was updated to 2.6.32 for better support
of newer hardware.
Then how about this patch:
From 330f666036943a0fc423a4b5db2ca294fb2a4298 Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake(a)redhat.com>
Date: Thu, 19 Jan 2012 13:35:39 -0700
Subject: [PATCH] build: skip lxc with too-old glibc
...
Looks good: Now the missing support is detected and LXC is automatically disabled or
refuses to compile. I did NOT test if it still compiles on newer systems.
Reported by Philipp Hahn.
You may add a "Testes-by:
me" if needed.
Thank you for your work and the patch.
BYtE
Philipp
--
Philipp Hahn Open Source Software Engineer hahn(a)univention.de
Univention GmbH Linux for Your Business fon: +49 421 22 232- 0
Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99
http://www.univention.de/