安装lumanager 出错 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
2016-08-19 11:57
190 查看
解决方法:
定位有问题的stdio.h文件
找的 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
注释 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
然后加上下面代码
定位有问题的stdio.h文件
找的 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
注释 _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
然后加上下面代码
#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); #endif
相关文章推荐
- Cannot use isset() on the result of an expression (you can use "null !== expression" instead)
- 修复VirtualBox "This kernel requires the following features not present on the CPU: pae Unable to boot – please use a kernel appropriate for your CPU"(安装深度Linux的时候就需要)
- 安装oralce后在cmd模式下运行java命令出错:Exception in thread "main" java.lang.UnsupportedClassVersionError: org/getopt/luke/Luke (Unsupported
- 安装LFS6.3 VFS:Cannot open root device "sda" 或VFS:Unable to mount root fs on unknown-block(0,0)
- Ruby on Rails安装过程中出现"no such file to load -- mkmf"错误的解决方法。
- On Ubuntu Failed to install software, message is "xxxx正要被安装"
- win7下安装 office 2007提示"在安装过程中出错" 解决方法
- 安装Visual Studio 2008出错的问题:"Pre/Post/Install() failed...HRESULT -2147023293"
- "在安装SQL2005时出现: 执行安装向导期间出错" 解决方法
- nginx: [warn] the "log_format" directive may be used only on "http" level 解决方法
- error: #error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."解决
- 安装Oracle9I出现&quot;加载数据库时出错:areasQueries错误&quot;
- Visual Studio 安装部署时出现以下问题"验证时出错。HRESULT = '80040155' "之解决办法
- E:安装源配置文件“/etc/apt/sources.list"第59行有错误(发行版解析) 出错原因
- Avoid using "px" as units; use "dp" instead
- 安装SP2后,提示"'Preserving/Deleting template record with size","The expected version of the product was not found on the “错误
- APACHE 安装出错 configure: error: Cannot use an external APR with the bundled APR-util
- Cannot Boot WEBrick: "WARN TCPServer Error: Address already in use "
- E:安装源配置文件“/etc/apt/sources.list"第59行有错误(发行版解析) 出错原因