According to the error message my interpretation is as follows..
You gave a addres to a pointer in the arguments list by using & (address of)
.. I see you initialised the pointer as an array but passed its address
instead try not using the pointer initializing but instead this
bmap array[10] and also dont pass address of in =&bla[]