<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Problem compiling  Linux Kernel 4.4.89 Oxnas</title>
        <description> Error compiled kernel linux-4.4.89


  CC      drivers/ata/libahci_platform.o
  CC      drivers/ata/sata_oxnas.o
drivers/ata/sata_oxnas.c:32:24: fatal error: mach/utils.h: Нет такого файла или каталога (no found)
 #include &amp;lt;mach/utils.h&amp;gt;
                        ^
compilation terminated.
scripts/Makefile.build:258: ошибка выполнения рецепта для цели «drivers/ata/sata_oxnas.o»
make[2]: *** [drivers/ata/sata_oxnas.o] Ошибка 1
scripts/Makefile.build:403: ошибка выполнения рецепта для цели «drivers/ata»
make[1]: *** [drivers/ata] Ошибка 2
Makefile:964: ошибка выполнения рецепта для цели «drivers»
make: *** [drivers] Ошибка 2
user@debian:~/Openwrt/linux-stable$

no found mach/utils.h

linux-4.4.89-oxnas-tld-1.patch worked fine (creates including utils.h)
linux-stable/arch/arm/mach-oxnas/include/mach/utils.h  in place
config-4.4.89-oxnas-tld-1 replaced in .config

What could be the problem?

P.S. 
Sources received this way

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git checkout v4.4.89
</description>
        <link>https://forum.doozan.com/read.php?2,46984,46984#msg-46984</link>
        <lastBuildDate>Thu, 12 Mar 2026 20:38:57 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,46984,47339#msg-47339</guid>
            <title>Re: Problem compiling  Linux Kernel 4.4.89 Oxnas</title>
            <link>https://forum.doozan.com/read.php?2,46984,47339#msg-47339</link>
            <description><![CDATA[ See <a href="https://wiki.debian.org/CrossCompiling"  rel="nofollow">Debian Cross Compiling</a> for how to use a Debian environment for cross compilation.<br />
<br />
Ray]]></description>
            <dc:creator>rayknight</dc:creator>
            <category>Debian</category>
            <pubDate>Tue, 09 Jan 2018 00:40:35 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,46984,47174#msg-47174</guid>
            <title>Re: Problem compiling  Linux Kernel 4.4.89 Oxnas</title>
            <link>https://forum.doozan.com/read.php?2,46984,47174#msg-47174</link>
            <description><![CDATA[ The kernel under <b>AMR</b> did not compile before, the error seems due to the selected ARCH = x86_64 by default, so it did not find the file <b>utils.h</b>, because The <b>arch/x86</b> branch is used, not <b>arch/arm</b><br />
<br />
Advise the normal cross compilation instruction for AMR (what useToolchain) on a computer with Debian 8. <br />
<br />
Or compilation must be performed on the NAS itself.<br />
<br />
Thank you]]></description>
            <dc:creator>sakatgg</dc:creator>
            <category>Debian</category>
            <pubDate>Mon, 08 Jan 2018 05:53:17 -0600</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,46984,46984#msg-46984</guid>
            <title>Problem compiling  Linux Kernel 4.4.89 Oxnas</title>
            <link>https://forum.doozan.com/read.php?2,46984,46984#msg-46984</link>
            <description><![CDATA[ Error compiled kernel linux-4.4.89<br />
<br />
<pre class="bbcode">
  CC      drivers/ata/libahci_platform.o
  CC      drivers/ata/sata_oxnas.o
drivers/ata/sata_oxnas.c:32:24: fatal error: mach/utils.h: Нет такого файла или каталога (no found)
 #include &lt;mach/utils.h&gt;
                        ^
compilation terminated.
scripts/Makefile.build:258: ошибка выполнения рецепта для цели «drivers/ata/sata_oxnas.o»
make[2]: *** [drivers/ata/sata_oxnas.o] Ошибка 1
scripts/Makefile.build:403: ошибка выполнения рецепта для цели «drivers/ata»
make[1]: *** [drivers/ata] Ошибка 2
Makefile:964: ошибка выполнения рецепта для цели «drivers»
make: *** [drivers] Ошибка 2
user@debian:~/Openwrt/linux-stable$</pre>
<br />
no found <b>mach/utils.h</b><br />
<br />
linux-4.4.89-oxnas-tld-1.patch worked fine (creates including <b>utils.h</b>)<br />
linux-stable/arch/arm/mach-oxnas/include/<b>mach/utils.h</b>  in place<br />
config-4.4.89-oxnas-tld-1 replaced in .config<br />
<br />
What could be the problem?<br />
<br />
P.S. <br />
Sources received this way<br />
<pre class="bbcode">
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git checkout v4.4.89
</pre>]]></description>
            <dc:creator>sakatgg</dc:creator>
            <category>Debian</category>
            <pubDate>Fri, 05 Jan 2018 14:25:25 -0600</pubDate>
        </item>
    </channel>
</rss>
