/usr/include/c++/4.3/cstdlib:107: error: ‘::div_t’ has not been declared
/usr/include/c++/4.3/cstdlib:108: error: ‘::ldiv_t’ has not been declared
/usr/include/c++/4.3/cstdlib:110: error: ‘::abort’ has not been declared
/usr/include/c++/4.3/cstdlib:111: error: ‘::abs’ has not been declared
/usr/include/c++/4.3/cstdlib:112: error: ‘::atexit’ has not been declared
/usr/include/c++/4.3/cstdlib:113: error: ‘::atof’ has not been declared
/usr/include/c++/4.3/cstdlib:114: error: ‘::atoi’ has not been declared
/usr/include/c++/4.3/cstdlib:115: error: ‘::atol’ has not been declared
/usr/include/c++/4.3/cstdlib:116: error: ‘::bsearch’ has not been declared
/usr/include/c++/4.3/cstdlib:117: error: ‘::calloc’ has not been declared
/usr/include/c++/4.3/cstdlib:118: error: ‘::div’ has not been declared
/usr/include/c++/4.3/cstdlib:119: error: ‘::exit’ has not been declared
/usr/include/c++/4.3/cstdlib:120: error: ‘::free’ has not been declared
/usr/include/c++/4.3/cstdlib:121: error: ‘::getenv’ has not been declared
/usr/include/c++/4.3/cstdlib:122: error: ‘::labs’ has not been declared
/usr/include/c++/4.3/cstdlib:123: error: ‘::ldiv’ has not been declared
/usr/include/c++/4.3/cstdlib:124: error: ‘::malloc’ has not been declared
/usr/include/c++/4.3/cstdlib:126: error: ‘::mblen’ has not been declared
/usr/include/c++/4.3/cstdlib:127: error: ‘::mbstowcs’ has not been declared
/usr/include/c++/4.3/cstdlib:128: error: ‘::mbtowc’ has not been declared
mingdengzhao 于 2009-04-23 13:25:36发表:
确定C++函数库是否安装正确 1,
检查程序头文件是否缺少相关函数得头文件
embedman 于 2009-04-16 23:28:01发表:
应该是库的问题,建议检查下库导入正确没。
wenhuan2008 于 2009-04-12 11:26:05发表:
你是用的GCC吧
如果头文件导入了的话,应该是在编译时没导入库,加上 -l(你的库) 试试。