<br>
Hi developers,<br>
<br>
I have been trying to compile maemo kernel-source
in my scratchbox (0.9.8) in order to build pwc usbcam driver module
(pwc.ko) for nokia770. So I followed the instruction at the page,
&#39;HowTo KernelCompilation&#39;:<a href="http://maemo.org/maemowiki/HowTo_KernelCompilation" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://maemo.org/maemowiki/HowTo_KernelCompilation</a>

.<br>
<br>
I completed the preparation procedure as follows:<br>
<br>
1. Install a gcc 3.4 toolchain, scratchbox-toolchain-arm-gcc3
<div id="mb_0">.4.cs-glibc-0.9.8.5.tar.gz<br><br><div>2. Start sbox and create a new target for kernel compilation
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">$ sbox-config -ct MAEMO_KERNEL <br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">


</blockquote>select newly installed gcc 3.4
 toolchain<br>select qemu-arm as CPU transparency mode<br>select debian devkit<br></blockquote><br>3. Select the newly created target, install ARM rootstrap, and finish toolchain setup<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">

$ sbox-config -st MAEMO_KERNEL <br>$ sbox-config -er /scratchbox/packages/Maemo_Dev_Platform_RS_v2.1_arm.tgz
<br>$ sbox-config -cc<br>$ sbox-config -cf<br></blockquote><br>4. I checked /etc/apt/source.list<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">

#maemo:essential<br>deb <a href="http://catalogue.tableteer.nokia.com/certified/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://catalogue.tableteer.nokia.com/certified/
</a>&nbsp;&nbsp;&nbsp;&nbsp; mistral user<br>deb <a href="http://catalogue.tableteer.nokia.com/non-certified/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://catalogue.tableteer.nokia.com/non-certified/</a> mistral user
<br>deb <a href="http://repository.maemo.org/extras/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://repository.maemo.org/extras/</a> scirocco free non-free<br>deb-src <a href="http://repository.maemo.org/extras/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org/extras/
</a> scirocco free non-free<br>deb <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://repository.maemo.org/</a> scirocco free non-free<br>deb-src <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org/</a> scirocco free non-free
<br></blockquote><br>5. Create a directory to work in<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">mkdir ~/kernel-build 
<br></blockquote><br><br>-------------------------------------------------------------------------------------------<br><br><br>My problem began with this compilation procedure. When I tried to
update with &#39;apt-get update&#39;, I got the following messages:
<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">[sbox-MAEMO_KERNEL: ~] &gt; apt-get update<br>Err <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://repository.maemo.org</a> scirocco/free Packages<br>&nbsp;&nbsp;404 Not Found [IP: <a href="http://143.215.203.7/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">143.215.203.7</a>
 80]<br>Err <a href="http://catalogue.tableteer.nokia.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://catalogue.tableteer.nokia.com</a> mistral/user Packages<br>&nbsp;&nbsp;404 Not Found [IP: <a href="http://84.53.139.99/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

84.53.139.99</a> 80]<br>Ign <a href="http://catalogue.tableteer.nokia.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://catalogue.tableteer.nokia.com</a> mistral/user Release<br>Ign <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/free Release
<br>Hit <a href="http://catalogue.tableteer.nokia.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://catalogue.tableteer.nokia.com
</a> mistral/user Packages<br>Err <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/non-free Packages<br>&nbsp;&nbsp;404 Not Found [IP: 
<a href="http://143.215.203.7/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">143.215.203.7</a> 80]<br>Ign <a href="http://catalogue.tableteer.nokia.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://catalogue.tableteer.nokia.com</a> mistral/user Release<br>Ign <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/non-free Release
<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org
</a> scirocco/free Sources<br>Ign <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/free Release<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://repository.maemo.org</a> scirocco/non-free Sources
<br>Ign <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/non-free Release<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://repository.maemo.org</a> scirocco/free Packages<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://repository.maemo.org</a> scirocco/free Release<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/non-free Packages
<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org
</a> scirocco/non-free Release<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/free Sources<br>Ign <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://repository.maemo.org</a> scirocco/free Release
<br>Hit <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/non-free Sources<br>Ign <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://repository.maemo.org</a> scirocco/non-free Release<br>Failed to fetch 
<a href="http://catalogue.tableteer.nokia.com/certified/dists/mistral/user/binary-arm/Packages.gz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://catalogue.tableteer.nokia.com/certified/dists/mistral/user/binary-arm/Packages.gz
</a>&nbsp;&nbsp;404 Not Found [IP: <a href="http://84.53.139.99/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
84.53.139.99</a><br>Failed to fetch <a href="http://repository.maemo.org/extras/dists/scirocco/free/binary-arm/Packages.gz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org/extras/dists/scirocco/free/binary-arm/Packages.gz
</a>&nbsp;&nbsp;404 Not Found [IP: 
<a href="http://143.215.203.7/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">143.215.203.7</a> 80]<br>Failed to fetch <a href="http://repository.maemo.org/extras/dists/scirocco/non-free/binary-arm/Packages.gz" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://repository.maemo.org/extras/dists/scirocco/non-free/binary-arm/Packages.gz
</a>&nbsp;&nbsp;404 Not Found [IP: <a href="http://143.215.203.7/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">143.215.203.7</a> 80]<br>Reading Package Lists... Done<br>W: Couldn&#39;t stat source package list 
<a href="http://catalogue.tableteer.nokia.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://catalogue.tableteer.nokia.com
</a> mistral/user Packages (/var/lib/apt/lists/catalogue.tableteer.nokia.com_certified_dists_mistral_user_binary-arm_Packages) - stat (2 No such file or directory)<br>W: Couldn&#39;t stat source package list <a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


http://repository.maemo.org</a> scirocco/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_free_binary-arm_Packages) - stat (2 No such file or directory)<br>W: Couldn&#39;t stat source package list 
<a href="http://repository.maemo.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://repository.maemo.org</a> scirocco/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_scirocco_non-free_binary-arm_Packages) - stat (2 No such file or directory)
<br>W: You may want to run apt-get update to correct these problems<br>E: Some index files failed to download, they have been ignored, or old ones used instead.</blockquote><div><br>
<br>Does anyone have some ideas about this problem?<br>
<br>
Thanks,<br>
Jaeseok Yun <br>
</div><br></div></div>