3.3 Undefined symbols for architecture x86_64

请问一下升级到了3.3以后。导出的C++类编译的时候出现了下面错误,请问怎么解决呢?

Undefined symbols for architecture x86_64:
“register_all_Joystick(lua_State*)”, referenced from:
quick_module_register(lua_State*) in AppDelegate.o
ld: symbol(s) not found for architecture x86_64

http://blog.prosight.me/C/C%2B%2B代码编译时出现-ld--symbol(s)-not-found-for-architecture-x86_64错误/