关于undefined reference to问题汇总记录 问题描述 程序的开发过程中,经常发祥明明包含了相应的头文件却报undefined reference to的问题。 1.c文件没有被包含(如果使用到了makefile文件要注意) 2.错误的包含include包含顺序