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><br>PN<br><br>