[Pvfs2-users] Compiling kernel module of orangefs 2.8.7 for kernel 3.2

Emmanuel Florac eflorac at intellique.com
Wed Feb 12 09:23:54 EST 2014

Le Wed, 12 Feb 2014 11:00:23 +0100 (CET)
Matthieu Dorier <matthieu.dorier at irisa.fr> écrivait:

> I try to install OrangeFS 2.8.7 on a Debian Wheezy with kernel
> version 3.2.0-4-amd64, but when doing make kmod I end up with the
> errors bellow. By searching on google I found a patch for OrangeFS
> 2.8.5 here:
> http://www.beowulf-underground.org/pipermail/pvfs2-developers/2012-March/004971.html
> but besides not being for the 2.8.7 version, it doesn't seem to
> change anything in pvfs2-kernel.h. 
> Also I'm compiling this with gcc 4.7.2. Any idea (or patch) to solve
> this problem? Thank you, 

I just built it without problem. Here is the sequence:

# installing kernel source
apt-get install  linux-source-3.2
cd /usr/src
apt-get source linux

# configuring the kernel source
cp /boot/config-3.2.0-4-amd64 /usr/src/linux-3.2.54/.config
cd /usr/src/linux-3.2.54/
make arch_prepare
make scripts
make prepare
make modules_prepare

# compiling orangefs
cd /usr/src/orangefs-2.8.7
./configure --prefix=/usr --with-kernel=/usr/src/linux-3.2.54
make kmod

Let me know how it turns out for you. I have the proper packages at
hand if necessary.

Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02

More information about the Pvfs2-users mailing list