Hi PN,<br><br>libglusterfscient - the library glfs-bm uses - has undergone some significant changes. glfs-bm.c is yet to be ported to these changes, which will be done shortly.<br><br>regards,<br><br><div class="gmail_quote">
On Fri, May 8, 2009 at 11:13 AM, PN <span dir="ltr">&lt;<a href="mailto:poknam@gmail.com">poknam@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br><br>I found that there is a ./extras/benchmarking/ directory which contains files that help to do the testing.<br>When I try to compile the glfs-bm.c, it shown up some errors:<br clear="all"><br># gcc glfs-bm.c -lglusterfsclient -o glfs-bm<br>


glfs-bm.c: In function ‘do_mode_libglusterfsclient_iface_fileio_write’:<br>glfs-bm.c:360: warning: assignment makes integer from pointer without a cast<br>glfs-bm.c:366: warning: passing argument 1 of ‘glusterfs_write’ makes pointer from integer without a cast<br>


glfs-bm.c:369: warning: passing argument 1 of ‘glusterfs_close’ makes pointer from integer without a cast<br>glfs-bm.c:372: warning: passing argument 1 of ‘glusterfs_close’ makes pointer from integer without a cast<br>


glfs-bm.c: In function ‘do_mode_libglusterfsclient_iface_fileio_read’:<br>glfs-bm.c:394: warning: assignment makes integer from pointer without a cast<br>glfs-bm.c:400: warning: passing argument 1 of ‘glusterfs_read’ makes pointer from integer without a cast<br>


glfs-bm.c:403: warning: passing argument 1 of ‘glusterfs_close’ makes pointer from integer without a cast<br>glfs-bm.c:406: warning: passing argument 1 of ‘glusterfs_close’ makes pointer from integer without a cast<br>


glfs-bm.c: In function ‘do_mode_libglusterfsclient’:<br>glfs-bm.c:525: error: ‘glusterfs_init_ctx_t’ undeclared (first use in this function)<br>glfs-bm.c:525: error: (Each undeclared identifier is reported only once<br>


glfs-bm.c:525: error: for each function it appears in.)<br>glfs-bm.c:525: error: expected ‘;’ before ‘ctx’<br>glfs-bm.c:532: error: ‘ctx’ undeclared (first use in this function)<br><br>I try to lookup the code in the glusterfs package, but seems nowhere defined glusterfs_init_ctx_t.<br>


<br>Another file that use &quot;glusterfs_init_ctx_t&quot; was ./mod_glusterfs/lighttpd/1.5/mod_glusterfs.c.<br><br>Any idea about it?<br><br>Thanks in advance.<br><font color="#888888"><br>PN<br><br>
</font><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>