Tony,
On Feb 26, 2009, at 2:17 PM, Tony Kew wrote:
Dear Rob,
make completes without the --enable-shared configure option,
but make kmod fails:
src/apps/kernel/linux/pvfs2-client-core.c: In function
'post_io_readahead_request':
src/apps/kernel/linux/pvfs2-client-core.c:1612: error: too few
arguments to function 'PVFS_isys_io'
make: *** [src/apps/kernel/linux/pvfs2-client-core.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.45240 (%build)
from src/apps/kernel/linux/pvfs2-client-core.c
ret = PVFS_isys_io(
vfs_request->in_upcall.req.io.refn, vfs_request->file_req, 0,
vfs_request->io_tmp_buf, vfs_request->mem_req,
&vfs_request->in_upcall.credentials,
&vfs_request->response.io,
vfs_request->in_upcall.req.io.io_type,
&vfs_request->op_id, (void *)vfs_request);
from include/pvfs2-sysint.h
PVFS_error PVFS_isys_io(
PVFS_object_ref ref,
PVFS_Request file_req,
PVFS_offset file_req_offset,
void *buffer,
PVFS_Request mem_req,
const PVFS_credentials *credentials,
PVFS_sysresp_io *resp,
enum PVFS_io_type type,
PVFS_sys_op_id *op_id,
PVFS_hint hints,
void *user_ptr);
I'm not sure if line 1612 in src/apps/kernel/linux/pvfs2-client-core.c
should be:
&vfs_request->op_id, NULL, (void *)vfs_request);
or something like:
&vfs_request->op_id, vfs_request->hints, (void
*)vfs_request);
Hi Tony,
This one should work.
Thanks,
-sam
Tony
Tony Kew
SAN Administrator
The Center for Computational Research
New York State Center of Excellence
in Bioinformatics & Life Sciences
701 Ellicott Street, Buffalo, NY 14203
CoE Office: (716) 881-8930 Fax: (716) 849-6656
CSE Office: (716) 645-3797 x2174
Cell: (716) 560-0910
"I love deadlines, I love the whooshing noise they make as they go
by."
Douglas
Adams
Robert Latham wrote:
On Wed, Feb 25, 2009 at 04:44:03PM -0500, Tony Kew wrote:
Dear All,
The latest release of PVFS v2.8.0 is failing to compile for me
under RHEL5:
$ uname -a
Linux ramones.ccr.buffalo.edu 2.6.18-128.1.1.el5PAE #1 SMP Mon Jan
26
14:18:23 EST 2009 i686 i686 i386 GNU/Linux
$ ./configure --prefix=/usr --libdir=/usr/lib \
--enable-perf-counters --enable-mmap-racache \
--enable-fast --enable-shared \
--with-kernel=/lib/modules/`uname -r`/build
Hi Tony. I don't have a fix for you but it appears to be a problem
with '--enable-shared'. Can you use static libraries until we send
you a fix?
==rob
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users
_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users