On Thu, Jan 04, 2007 at 09:26:11PM +0530, Vikrant Kumar wrote: > pvfs-2.6.1 fails while doing "make kmod". Any clues? Here is a small > snippet of the error. > > CC > /home/packages/sources/pvfs-2.6.1/src/kernel/linux-2.6/pvfs2.mod.o > LD [M] > /home/packages/sources/pvfs-2.6.1/src/kernel/linux-2.6/pvfs2.ko > CC src/apps/kernel/linux/pvfs2-client-core.o > src/apps/kernel/linux/pvfs2-client-core.c: In function > `post_io_readahead_request': > src/apps/kernel/linux/pvfs2-client-core.c:1417: error: > `pvfs2_bufmap_desc_count' undeclared (first use in this function) > src/apps/kernel/linux/pvfs2-client-core.c:1417: error: (Each > undeclared identifier is reported only once > src/apps/kernel/linux/pvfs2-client-core.c:1417: error: for each > function it appears in.) > make: *** [src/apps/kernel/linux/pvfs2-client-core.o] Error 1 > deva02:/home/packages/sources/pvfs-2.6.1 # ls src/apps/kernel/linux/
Hi Vikrant. That code (post_io_readahead_request) is protected by an ifdef (#ifdef USE_MMAP_RA_CACHE). did you configure pvfs with --enable-mmap-racache ? The short-term workaround might be to re-run configure without that option. It's definitely a bug on our end that we don't even compile when mmap-racache is selected, but be warned that even if we fix the compile issue, there were at one time some bugs with the mmap readahead cache. ==rob -- Rob Latham Mathematics and Computer Science Division A215 0178 EA2D B059 8CDF Argonne National Lab, IL USA B29D F333 664A 4280 315B _______________________________________________ Pvfs2-users mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
