[prev in list] [next in list] [prev in thread] [next in thread]
List: yaffs
Subject: [Yaffs] yaffs2 and linux 2.6.22: compilation error
From: laborer2008 laborer <laborer2008 () gmail ! com>
Date: 2010-09-16 13:17:30
Message-ID: AANLkTineYKz9f09a1wZwMo48MN8DUrM5+kh+f=oVPL1c () mail ! gmail ! com
[Download RAW message or body]
Hi, all
I'm using kernel 2.6.22 and found an error when compiling it with yaffs2:
fs/built-in.o: In function `yaffs_BackgroundThread':
yaffs_mtdif2.c:(.text+0xab8cc): undefined reference to `set_freezable'
make: *** [.tmp_vmlinux1] Error 1
I researched the issue and found the commit of the error:
http://www.aleph1.co.uk/gitweb?p=yaffs2/.git;a=commitdiff;h=c565b5da13774bc9d5f661d93a127ba86a8769e7
The fact that the function 'set_freezable' missing in the 2.6.22 kernel API.
2.6.22 kernel was released at 1 Sep 2007. The function 'set_freezable' was
added to Torvalds' branch in commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=831441862956fffa17b9801db37e6ea1650b0f69(17
Jul 2007).
It seems this change is not included in the kernel 2.6.22(2.6.23 and high).
And so this bug affects all earlier kernels.
Moreover, I found reports of similar error:
http://www.yaffs.net/lurker/message/20100815.213438.93e67729.ca.html
[Attachment #3 (text/html)]
Hi, all<br><br><span id="result_box" class="long_text"><span title="Я использую ядро \
2.6.22 и о наружил оши ку при компиляции с yaffs2" \
onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">I'm using kernel 2.6.22 \
and found an error when compiling it with yaffs2</span></span>:<br> \
<br>fs/built-in.o: In function \
`yaffs_BackgroundThread':<br>yaffs_mtdif2.c:(.text+0xab8cc): undefined reference \
to `set_freezable'<br>make: *** [.tmp_vmlinux1] Error 1<br><br><span \
id="result_box" class="long_text"><span title="Я исследовал про лему и о наружил \
момент появления оши ки" onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">I researched the issue and \
found the commit of the error</span></span>: <a \
href="http://www.aleph1.co.uk/gitweb?p=yaffs2/.git;a=commitdiff;h=c565b5da13774bc9d5f6 \
61d93a127ba86a8769e7">http://www.aleph1.co.uk/gitweb?p=yaffs2/.git;a=commitdiff;h=c565b5da13774bc9d5f661d93a127ba86a8769e7</a><br>
<br><span id="result_box" class="long_text"><span title="Дело в том что функция \
set_freezable отсутствует в API ядра 2.6" \
onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">The fact that the function \
'set_freezable' missing in the 2.6.22 kernel API</span></span>. 2.6.22 kernel \
was released at 1 Sep 2007. The function '<span id="result_box" \
class="long_text"><span title="Дело в том что функция set_freezable отсутствует в API \
ядра 2.6" onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">set_freezable</span></span>' \
was added to Torvalds' branch in commit <a \
href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h= \
831441862956fffa17b9801db37e6ea1650b0f69">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=831441862956fffa17b9801db37e6ea1650b0f69</a> \
(17 Jul 2007). <br> <span id="result_box" class="long_text"><span title="Похоже это \
изменение не включено в ядро 2.6.22" \
onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">It seems this change is not \
included in the</span></span> kernel 2.6.22(2.6.23 and high).<br> <span \
id="result_box" class="short_text"><span title="И поэтому этой оши ке подвержены все \
олее ранние выпуски" onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">And so this bug affects all \
earlier kernels.</span></span><br> <br><span id="result_box" class="short_text"><span \
title="Более того, я нашёл соо щения о похожей оши ке" \
onmouseover="this.style.backgroundColor='#ebeff9'" \
onmouseout="this.style.backgroundColor='#fff'">Moreover, I found reports of \
similar error: <a href="http://www.yaffs.net/lurker/message/20100815.213438.93e67729.c \
a.html">http://www.yaffs.net/lurker/message/20100815.213438.93e67729.ca.html</a></span></span><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic