I am able to compile the .so file and load it to apache. However, username seems not passed to the module properly. I am not sure if I mis-configured the system or something has to be changed for arm.
[Sun Aug 18 17:18:03 2013] [error] [client 192.168.0.190] **** PW AUTH at T=1376860683 user "(null)"
[Sun Aug 18 17:18:03 2013] [error] [client 192.168.0.190] (2)No such file or directory: check_password: Could not open password file: /media/http_cred/(null)
[Sun Aug 18 17:18:03 2013] [error] [client 192.168.0.190] user peter: authentication failure for "/protected/": Password Mismatch
Thanks,
Peter