checking vsnprintf has C99 compatible return value. configure: error解决方法
checking vsnprintf has C99 compatible return value... configure: errorchecking vsnprintf has C99 co
checking vsnprintf has C99 compatible return value... configure: error
checking vsnprintf has C99 compatible return value... configure: error: in `/flickr/flickcurl-1.22':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
config.log
configure:12712: checking vsnprintf has C99 compatible return value
configure:12715: error: in `/flickr/flickcurl-1.22':
configure:12717: error: cannot run test program while cross compiling
怎么解决
[解决办法]
#ifndef WIN32
#define _vsnprintf vsnprintf
#endif
[解决办法]没法知道
你至少给出config.log的相关信息才知道具体的错误
[解决办法]都不知道你具体的环境,大家都在猜呢。
[解决办法]configure:12712: checking vsnprintf has C99 compatible return value
configure:12715: error: in `/flickr/flickcurl-1.22':
configure:12717: error: cannot run test program while cross compiling
打开你的configure的12712行, 应该有段代码是测试vsnprintf的, 具体出错行可能在12715到12717,
应该有个判断,如果不通过则就会出错, 可以尝试着把这个判断强制置为true, 或者把出错处代码注释掉并跳到正确处。
configure: error: cannot run test program while cross compiling
可能是你是交叉编译,所以测试程序无法在pc机上运行导致的问题。