Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Did all the files compile correctly? If one didn't (containing memcpy) the symbols in it won't be generated, and you'll get that error.
Alternatively check all files are included in the linker command.