<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>【知行合一】-Poople&#039;s Blog &#187; kernel</title>
	<atom:link href="http://99dev.net/archives/tag/kernel/feed" rel="self" type="application/rss+xml" />
	<link>http://99dev.net</link>
	<description>智巧终归庸俗，雄谋只余虚话</description>
	<lastBuildDate>Fri, 23 Jul 2010 09:52:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[Collection]2.6.19内核编译错误</title>
		<link>http://99dev.net/archives/567</link>
		<comments>http://99dev.net/archives/567#comments</comments>
		<pubDate>Thu, 23 Apr 2009 01:09:59 +0000</pubDate>
		<dc:creator>蒼</dc:creator>
				<category><![CDATA[嵌入式开发]]></category>
		<category><![CDATA[kernel]]></category>

		<guid isPermaLink="false">http://99dev.net/archives/567</guid>
		<description><![CDATA[make编译错误提示如下
scripts/mod/sumversion.c: 在函数‘get_src_version’中:     scripts/mod/sumversion.c:387: 错误： ‘PATH_MAX’未声明(在此函数内第一次使用)      scripts/mod/sumversion.c:387: 错误： (即使在一个函数内多次出现，每个未声明的标识符在其      scripts/mod/sumversion.c:387: 错误： 所在的函数内也只报告一次。)      scripts/mod/sumversion.c:387: 警告： 未使用的变量‘filelist’      make[2]: *** [scripts/mod/sumversion.o] 错误 1      make[1]: *** [scripts/mod] 错误 2      make: *** [scripts] 错误 2
<span class="readmore"><a href="http://99dev.net/archives/567" title="[Collection]2.6.19内核编译错误" target="_blank">阅读全文——共628字</a></span>]]></description>
			<content:encoded><![CDATA[<p>make编译错误提示如下</p>
<blockquote><p>scripts/mod/sumversion.c: 在函数‘get_src_version’中:     <br />scripts/mod/sumversion.c:387: 错误： ‘PATH_MAX’未声明(在此函数内第一次使用)      <br />scripts/mod/sumversion.c:387: 错误： (即使在一个函数内多次出现，每个未声明的标识符在其      <br />scripts/mod/sumversion.c:387: 错误： 所在的函数内也只报告一次。)      <br />scripts/mod/sumversion.c:387: 警告： 未使用的变量‘filelist’      <br />make[2]: *** [scripts/mod/sumversion.o] 错误 1      <br />make[1]: *** [scripts/mod] 错误 2      <br />make: *** [scripts] 错误 2</p>
</blockquote>
<p> <span id="more-567"></span>
<p>解决方法：</p>
<p>vim scripts/mod/sumversion.c </p>
<blockquote><p>#if defined(__CYGWIN__)     <br /><font color="#000080">#include &lt;limits.h&gt;</font>      <br />#include &lt;sys/types.h&gt;      <br />#elif defined(__sun__)      <br />#include &lt;inttypes.h&gt;      <br />#else      <br />#include &lt;stdint.h&gt;      <br />#endif      <br />#include &lt;netinet/in.h&gt;      <br />#include &lt;ctype.h&gt;      <br />#include &lt;errno.h&gt;      <br />#include &lt;string.h&gt;      <br />#include &quot;modpost.h&quot;      <br /><font color="#ff0000">#include &lt;limits.h&gt;</font></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://99dev.net/archives/567/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
