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 "glusterfs_init_ctx_t" was ./mod_glusterfs/lighttpd/1.5/mod_glusterfs.c.<br><br>Any idea about it?<br><br>Thanks in advance.<br><br>PN<br><br>