
IST-033576 D2.1.4
A.1.4 Building 32-bit application support on a 64-bit platform
BLCR’s build logic is capable of building both 64-bit and 32-bit libraries at the
same time on most 64-bit platforms it supports. However, because this feature
is new and does not work well with certain setups, it is disabled by default. To
enable it you’ll want to pass configure the following option:
• –enable-multilib If configuration fails with this option specified, you can
still configure without it to get only application 64-bit support.
A.1.5 Compiling BLCR
Just type make:
% make
A.1.6 Testing your build (optional, but recommended)
As with many autotools-based packages, BLCR includes a check make target.
However, it cannot run the tests until the kernel modules are loaded (and will
tell you so if you forget). Since the not-yet-installed kernel modules are located
throughout the BLCR build directory, an ’insmod’ make target is provided to au-
tomate this task. If you are not running as root, make insmod will try to use the
sudo utility to perform the insmod operations as root. However, it is not necessary
(or recommended) to run the tests themselves as root. So, we recommend run the
following as a non-root user if sudo is installed and configured to allow your user:
% make insmod che ck
Which may prompt for a password, depending on how sudo is configured. If
the sudo utility is not installed (or not configured for your user), the following
steps are equivalent:
% s u
Pa ssw ord : [ t y p e r o o t pa ss w or d h e r e ]
# make insmod
# e x i t
% make c he ck
If the modules fail to load, then your kernel is not supported and you’ll need
to report this as a bug to the BLCR team, after first checking the bug database to
ensure the problem isn’t already known (or even fixed). Similarly, if one or more
tests fail, we’ll want to know that too. However, if the only failures are one or two
XtreemOS–Integrated Project 34/49
Commenti su questo manuale