<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[实践OK]CentOS7下编译apache的依赖链接库时解决编译libiconv时的gets undeclared here错误]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Unix/LinuxC技术]]></category>
<pubDate>Thu, 07 May 2015 08:56:32 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	wget -c http://www.itkb.ro/userfiles/file/libiconv-glibc-2.16.patch.gz<br/>cd libiconv-1.14/srclib<br/>patch -p1 stdio.in.h<br/>俺运行patch后好久都没有反应 :( 最后人肉修改<br/>这个补丁的内容如上，用unzip包解压后rz上CentOS7上去，修改成下面这样：<br/>/data/software/libiconv-1.14/srclib/stdio.in.h<br/><textarea name="code" class="C" rows="15" cols="100">
_GL_FUNCDECL_RPL (gets, char *, (char *s) _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (gets, char *, (char *s));
# else
_GL_CXXALIAS_SYS (gets, char *, (char *s));
#&nbsp;&nbsp;undef gets
# endif
_GL_CXXALIASWARN (gets);
/* It is very rare that the developer ever has full control of stdin,
&nbsp;&nbsp; so any use of gets warrants an unconditional warning.&nbsp;&nbsp;Assume it is
&nbsp;&nbsp; always declared, since it is required by C89.&nbsp;&nbsp;*/
#if defined(__GLIBC__) &amp;&amp; !defined(__UCLIBC__) &amp;&amp; !__GLIBC_PREREQ(2, 16)&nbsp;&nbsp; 
 _GL_WARN_ON_USE (gets, &quot;gets is a security hole - use fgets instead&quot;);
#endif
#endif

</textarea><br/><br/>参考来自：http://forum.z27315.com/topic/15662-%E8%A7%A3%E5%86%B3%E7%BC%96%E8%AF%91libiconv%E6%97%B6%E7%9A%84gets-undeclared-here%E9%94%99%E8%AF%AF/
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践OK]CentOS7下编译apache的依赖链接库时解决编译libiconv时的gets undeclared here错误]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>