由于link顺序错误导致的undefined reference
其实我之前就遇到过这个问题,也强调过,GNU-G++在link阶段是依赖输入的.o或者.a文件的顺序的。如果顺序错误会导致undefined reference错误见这篇随笔:http://www.cnblogs.com/qrlozte/p/4137704.html刚才我遇到的问题是什么呢?代码demo.cpp:其中ZJ::open_max在util.h中声明,在$(PATH_ONE)...