[Pvfs2-developers] FW: compile kernel module on powerpc64

Walter B. Ligon III walt at CLEMSON.EDU
Wed Nov 7 14:25:41 EST 2007


Can anyone help out with this?

Walt

Hi Walt,

It's been awhile since we last spoke. I hope everything is going well!

I'm trying to install PVFS2 on our Apple cluster and I hit a snag. I 
posted the email below to the mailing list, after havinng subscribed but 
the message bounced back saying I'm not allowed to post to the mailing 
list. 

Anyway, I was hoping you could help.

Thanks,
Stephen

-----Original Message-----
From: SFICKLIN at exchange.clemson.edu
Sent: Wed 11/7/2007 1:21 PM
To: pvfs2-users at beowulf-underground.org
Subject: compile kernel module on powerpc64

Hello,

I'm trying to compile PVFS 2.6.3 on a powerpc64 machine (Xserve G5) 
running yellow dog linux kernel version 2.6.22.  I can compile the 
server, configure and test it without problems in a cluster setup.  The 
problem occurs when I try to compile ther kernel module.  Here are the 
error messeges I'm getting:

WARNING: Symbol version dump 
/lib/modules/2.6.22-0.ydl.rc4/build/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.o
In file included from 
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:7:
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-kernel.h:1267: 
error: conflicting types for ???kzalloc???
include/linux/slab_def.h:55: error: previous definition of ???kzalloc??? 
was here
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c: 
In function ???pvfs2_inode_removexattr???:
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:1007: 
error: ???XATTR_REPLACE??? undeclared (first use in this function)
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:1007: 
error: (Each undeclared identifier is reported only once
/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.c:1007: 
error: for each function it appears in.)
gmake[3]: *** 
[/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-utils.o] 
Error 1
gmake[2]: *** 
[_module_/local/software/src/compile/pvfs-2.6.3/src/kernel/linux-2.6] 
Error 2
gmake[1]: *** [default] Error 2
gmake: *** [just_kmod] Error 2


Here's my configure command: 

   ./configure --prefix=/local/software/pvfs-2.6.3 
--with-mpi=/usr/local/mpich \
     --with-kernel=/lib/modules/2.6.22-0.ydl.rc4/build

I looked on the mailing lists and found some comments last May about 
problems building on powerpc64 but couldn't find an answer to the 
problem.  Is there anything I can do to get this to compile?

Thanks,
Stephen



More information about the Pvfs2-developers mailing list