2013年10月16日 - seems you need to link with the obj file that implements tolayer5(). Update: your function declaration doesn't match the implementation:
stackoverflow.com