修改的地方不少:

config.h文件中

delete or comment the lines 29 - 30 as follows:

///* Define as good substitute value for EILSEQ. */

//#undef EILSEQ

很多教材没有说明这个


详细说明:http://blog.csdn.net/yinyhy/article/details/10155759

http://www.cnblogs.com/fishseewater/archive/2010/10/05/1844469.html