Hi PN, 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.
regards, On Fri, May 8, 2009 at 11:13 AM, PN <[email protected]> wrote: > Dear all, > > I found that there is a ./extras/benchmarking/ directory which contains > files that help to do the testing. > When I try to compile the glfs-bm.c, it shown up some errors: > > # gcc glfs-bm.c -lglusterfsclient -o glfs-bm > glfs-bm.c: In function ‘do_mode_libglusterfsclient_iface_fileio_write’: > glfs-bm.c:360: warning: assignment makes integer from pointer without a > cast > glfs-bm.c:366: warning: passing argument 1 of ‘glusterfs_write’ makes > pointer from integer without a cast > glfs-bm.c:369: warning: passing argument 1 of ‘glusterfs_close’ makes > pointer from integer without a cast > glfs-bm.c:372: warning: passing argument 1 of ‘glusterfs_close’ makes > pointer from integer without a cast > glfs-bm.c: In function ‘do_mode_libglusterfsclient_iface_fileio_read’: > glfs-bm.c:394: warning: assignment makes integer from pointer without a > cast > glfs-bm.c:400: warning: passing argument 1 of ‘glusterfs_read’ makes > pointer from integer without a cast > glfs-bm.c:403: warning: passing argument 1 of ‘glusterfs_close’ makes > pointer from integer without a cast > glfs-bm.c:406: warning: passing argument 1 of ‘glusterfs_close’ makes > pointer from integer without a cast > glfs-bm.c: In function ‘do_mode_libglusterfsclient’: > glfs-bm.c:525: error: ‘glusterfs_init_ctx_t’ undeclared (first use in > this function) > glfs-bm.c:525: error: (Each undeclared identifier is reported only once > glfs-bm.c:525: error: for each function it appears in.) > glfs-bm.c:525: error: expected ‘;’ before ‘ctx’ > glfs-bm.c:532: error: ‘ctx’ undeclared (first use in this function) > > I try to lookup the code in the glusterfs package, but seems nowhere > defined glusterfs_init_ctx_t. > > Another file that use "glusterfs_init_ctx_t" was > ./mod_glusterfs/lighttpd/1.5/mod_glusterfs.c. > > Any idea about it? > > Thanks in advance. > > PN > > > _______________________________________________ > Gluster-users mailing list > [email protected] > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users > > -- Raghavendra G
_______________________________________________ Gluster-users mailing list [email protected] http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users
