mac编译C语言出现symbol not found for architecture x86_64

我是在mac电脑的终端直接make all的,有makefile文件

Undefined symbols for architecture x86_64:

"_test_yylex_internal", referenced from:

  _main in test_yylex-23b473.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

求问大神怎么解决啊?在学校的电脑上是可以运行的

http://blog.sina.com.cn/s/blog_470740c80100y45c.html

你的编译环境是32位的, 不支持64位编译。-m32选项来进行32位编译