Ruby bindings compile issues

Hello All

I am trying to compile the ruby bindings for wsman on RedHat EL 5(Update1) and am running into some issues - My system has Ruby 1.8.5, Swig 1.3.29, OpenWsman 2.0 installed. Can anyone point out what I am doing wrong?

Errors from make listed below:

(cd src; ruby extconf.rb; make)
creating Makefile
make[1]: Entering directory `/root/Downloads/rwsman/src'
i386-redhat-linux-gcc -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux -I. -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC -I/usr/local/include/openwsman -I/usr/local/include/openwsman/u -c rwsman_client.c
rwsman_client.c: In function client_parse:
rwsman_client.c:261: warning: passing argument 1 of wsmc_read_memory from incompatible pointer type
rwsman_client.c:261: warning: passing argument 2 of wsmc_read_memory makes integer from pointer without a cast
rwsman_client.c:261: warning: passing argument 3 of wsmc_read_memory makes pointer from integer without a cast
rwsman_client.c:261: warning: passing argument 4 of wsmc_read_memory makes integer from pointer without a cast
rwsman_client.c:261: error: too many arguments to function wsmc_read_memory
make[1]: *** [rwsman_client.o] Error 1
make[1]: Leaving directory `/root/Downloads/rwsman/src'
make: *** [all] Error 2

Thanks!
Raajeev