> Hi,
Hello
> You'll need to use the 2.8.4 (OrangeFS) release at
> http://www.orangefs.org/download/. For kernel versions newer than
2.6.33
> you'll need to use the latest Orange-Branch code from CVS, directions
at
> http://www.orangefs.org/support/.
Yes, I tried both, OrangeFS 2.8.4 and latest trunk from CVS too but nothing
helped.
Seems Debian is placing kernel headers in wrong place, I had to copy whole
/usr/src/linux-headers-2.6.32-5-common to /usr/src/linux-headers-2.6.32-5-amd4
and use configuration like this: ./configure
--with-kernel=/usr/src/linux-headers-2.6.32-5-amd4
After this I was able to issue "make kmod" and got pvfs.ko in
src/kernel/linux-2.6/ directory...
I am writing this mail because someone willing to compile either pvfs or
OrangeFS on Debian squeeze will definitely face this problem so one can solve
it like I did.
> Let me know if you still receive compilation errors with the latest
code and
> we can look further.
>
> Michael
Seems it's not PVFS/OrangeFS fault, it's kernel headers which should be used
appropriately. I looked in the log file and found that linux/slab.h wasn't
found on the system, I went to the kernel dir to find out where it was and
surprisingly found it in /usr/src/linux-headers-2.6.32-5/common/ instead of
/usr/src/linux-headers-2.6.32-5-amd4/ so I just copied whole dir (because when
I tried to use that *common/ directory PVFS alerted and said I need to have
built source of the kernel tree). After this - compilation of the kernel module
went smoothly and I have got the module working very well.
Thank you very much for trying to help me.
--
xokaido T. GNUcious <[email protected]>
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users