<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Rob,<br>
<br>
make completes without the --enable-shared configure option,<br>
but make kmod fails:<br>
<br>
<br>
src/apps/kernel/linux/pvfs2-client-core.c: In function
'post_io_readahead_request':<br>
src/apps/kernel/linux/pvfs2-client-core.c:1612: error: too few
arguments to function 'PVFS_isys_io'<br>
make: *** [src/apps/kernel/linux/pvfs2-client-core.o] Error 1<br>
error: Bad exit status from /var/tmp/rpm-tmp.45240 (%build)<br>
<br>
<br>
from src/apps/kernel/linux/pvfs2-client-core.c<br>
<br>
ret = PVFS_isys_io(<br>
vfs_request->in_upcall.req.io.refn,
vfs_request->file_req, 0,<br>
vfs_request->io_tmp_buf, vfs_request->mem_req,<br>
&vfs_request->in_upcall.credentials,<br>
&vfs_request->response.io,<br>
vfs_request->in_upcall.req.io.io_type,<br>
&vfs_request->op_id, (void *)vfs_request);<br>
<br>
<br>
from include/pvfs2-sysint.h<br>
<br>
PVFS_error PVFS_isys_io(<br>
PVFS_object_ref ref,<br>
PVFS_Request file_req,<br>
PVFS_offset file_req_offset,<br>
void *buffer,<br>
PVFS_Request mem_req,<br>
const PVFS_credentials *credentials,<br>
PVFS_sysresp_io *resp,<br>
enum PVFS_io_type type,<br>
PVFS_sys_op_id *op_id,<br>
<b> PVFS_hint hints,</b><br>
void *user_ptr);<br>
<br>
<br>
I'm not sure if line 1612 in src/apps/kernel/linux/pvfs2-client-core.c<br>
should be:<br>
<br>
&vfs_request->op_id, NULL, (void *)vfs_request);<br>
<br>
or something like:<br>
<br>
&vfs_request->op_id, vfs_request->hints, (void
*)vfs_request);<br>
<br>
<br>
<br>
Tony<br>
<br>
<pre class="moz-signature" cols="72">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
</pre>
<br>
<br>
Robert Latham wrote:
<blockquote cite="mid:20090225222957.GB1408@mcs.anl.gov" type="cite">
<pre wrap="">On Wed, Feb 25, 2009 at 04:44:03PM -0500, Tony Kew wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
</blockquote>
</body>
</html>