"Undefined reference" means that when the linker went looking for the actual binary, compiled code that provides this function, it couldn't find it.
This means that the compiler had no problems with it, so the compiler must have seen the function declaration; typically in the header. This being a boost function, it means that you've include the right header (hence why the compiler is happy) but you have not linked against the boost library that contains the actual binary instructions that are the actual function operations.
Make sure you've got the right boost library, and that you've linked against it.