I get boost::thread_resource_error: Resource temporarily unavailable
In first place it didn't build and i had to change:
const CScriptID& hash = boost::get(address);
To:
const CScriptID& hash = boost::get(address);
Thank you, this can be different for different compilers. What system were you compiling for?