Hi,<br>Thanks alot for your reply.<br>I am getting the same error as before. <br><br>$ bitbake ../openembedded/recipes/images/<a href="http://helloworld-image.bb">helloworld-image.bb</a><br><span style="background-color: rgb(255, 102, 0);"><br>

NOTE: Handling BitBake files: \ (6783/8369) [81 %]NOTE: &lt;type &#39;exceptions.TypeError&#39;&gt;:list indices must be integers, not NoneType while evaluating:</span><br style="background-color: rgb(255, 102, 0);"><span style="background-color: rgb(255, 102, 0);"><a href="http://projects.linuxtogo.org/frs/download.php/14/prismstumbler-0.7.4pre1.tar.gz">http://projects.linuxtogo.org/frs/download.php/14/prismstumbler-0.7.4pre1.tar.gz</a>            file://gpsapi.patch;patch=1       ${@[&#39;&#39;, &#39;file://wireless.patch;patch=1&#39;][bb.data.getVar(&#39;PREFERRED_VERSION_linux-libc-headers&#39;, d, 1) and bb.data.getVar(&#39;PREFERRED_VERSION_linux-libc-headers&#39;, d, 1).split(&#39;.&#39;)[2] &lt; &#39;30&#39;]}            file://fix-includes.patch;patch=1;pnum=0            file://libgps-check.patch;patch=1</span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">ERROR: Error in executing: /home/nikunj/oe//openembedded/recipes/prismstumbler/prismstumbler_0.7.3+<a href="http://0.7.4pre1.bb">0.7.4pre1.bb</a></span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">ERROR: Exception:&lt;type &#39;exceptions.TypeError&#39;&gt; Message:list indices must be integers, not NoneType</span><br style="background-color: rgb(255, 102, 0);"><span style="background-color: rgb(255, 102, 0);">ERROR: Printing the environment of the function</span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">ERROR:  0001:def __anonfunc():</span><br style="background-color: rgb(255, 102, 0);"><span style="background-color: rgb(255, 102, 0);">ERROR:  0002:    __anon_183__home_nikunj_oe__openembedded_classes_staging_bbclass(d)</span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">ERROR:  0003:    __anon_453_classes_base_bbclass(d)</span><br style="background-color: rgb(255, 102, 0);"><span style="background-color: rgb(255, 102, 0);">ERROR:  0004:    __anon_148__home_nikunj_oe__openembedded_classes_package_bbclass(d)</span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">ERROR:  0005:    __anon_318_classes_package_ipk_bbclass(d)</span><br style="background-color: rgb(255, 102, 0);"><span style="background-color: rgb(255, 102, 0);">ERROR: list indices must be integers, not NoneType while parsing /home/nikunj/oe//openembedded/recipes/prismstumbler/prismstumbler_0.7.3+<a href="http://0.7.4pre1.bb">0.7.4pre1.bb</a></span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">NOTE: Handling BitBake files: - (8369/8369) [100 %]</span><br style="background-color: rgb(255, 102, 0);"><span style="background-color: rgb(255, 102, 0);">NOTE: Parsing finished. 7625 cached, 453 parsed, 290 skipped, 0 masked.</span><br style="background-color: rgb(255, 102, 0);">

<span style="background-color: rgb(255, 102, 0);">ERROR: Parsing errors found, exiting...</span><br><br>??? <br><br><br>Thanks,<br><br clear="all">Nikunj<br>Bangalore - India<br><br>
<br><br><div class="gmail_quote">2010/5/14 Bjørn Forsman <span dir="ltr">&lt;<a href="mailto:bjorn.forsman@gmail.com">bjorn.forsman@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">On 14 May 2010 14:25, nikunj badjatya &lt;<a href="mailto:nikunjbadjatya@gmail.com">nikunjbadjatya@gmail.com</a>&gt; wrote:<br>
</div><div class="im">&gt; Hi All,<br>
&gt; I am a newbie to the world of OE and Bitbake.<br>
&gt; I want to generate a helloworld executable with MACHINE=x86 and<br>
&gt; DISTRO=celinux-test as parameters.<br>
&gt;<br>
&gt; ( although I am not sure about which distro to use..! please correct me if<br>
&gt; above parameters are wrong. )<br>
<br>
</div><div class="im">I cannot comment on which distro to use. I have only used Angstrom on<br>
an ARM device.<br>
<br>
</div><div><div></div><div class="h5">&gt; All environment setup has been done acc to<br>
&gt; <a href="http://docs.openembedded.org/usermanual/usermanual.html#gettingoe_configuring_oe" target="_blank">http://docs.openembedded.org/usermanual/usermanual.html#gettingoe_configuring_oe</a><br>
&gt;<br>
&gt; I am using CentOS 5.4 kernel 2.6.18<br>
&gt; tools and utilities required are also installed. ( texi2html, chrpath,<br>
&gt; texinfo etc. )<br>
&gt; python version in use is 2.6<br>
&gt;<br>
&gt;<br>
&gt; When I run the command :<br>
&gt; $bitbake /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a><br>
&gt;<br>
&gt; it says:<br>
&gt; NOTE: Handling BitBake files: / (6783/8369) [81 %]NOTE: &lt;type<br>
&gt; &#39;exceptions.TypeError&#39;&gt;:list indices must be integers, not NoneType while<br>
&gt; evaluating:<br>
&gt; <a href="http://projects.linuxtogo.org/frs/download.php/14/prismstumbler-0.7.4pre1.tar.gz" target="_blank">http://projects.linuxtogo.org/frs/download.php/14/prismstumbler-0.7.4pre1.tar.gz</a><br>
&gt; file://gpsapi.patch;patch=1       ${@[&#39;&#39;,<br>
&gt; &#39;file://wireless.patch;patch=1&#39;][bb.data.getVar(&#39;PREFERRED_VERSION_linux-libc-headers&#39;,<br>
&gt; d, 1) and bb.data.getVar(&#39;PREFERRED_VERSION_linux-libc-headers&#39;, d,<br>
&gt; 1).split(&#39;.&#39;)[2] &lt; &#39;30&#39;]}<br>
&gt; file://fix-includes.patch;patch=1;pnum=0<br>
&gt; file://libgps-check.patch;patch=1<br>
&gt; ERROR: Error in executing:<br>
&gt; /home/nikunj/oe//openembedded/recipes/prismstumbler/prismstumbler_0.7.3+<a href="http://0.7.4pre1.bb" target="_blank">0.7.4pre1.bb</a><br>
&gt; ERROR: Exception:&lt;type &#39;exceptions.TypeError&#39;&gt; Message:list indices must be<br>
&gt; integers, not NoneType<br>
&gt; ERROR: Printing the environment of the function<br>
&gt; ERROR:  0001:def __anonfunc():<br>
&gt; ERROR:  0002:<br>
&gt; __anon_183__home_nikunj_oe__openembedded_classes_staging_bbclass(d)<br>
&gt; ERROR:  0003:    __anon_453_classes_base_bbclass(d)<br>
&gt; ERROR:  0004:<br>
&gt; __anon_148__home_nikunj_oe__openembedded_classes_package_bbclass(d)<br>
&gt; ERROR:  0005:    __anon_318_classes_package_ipk_bbclass(d)<br>
&gt; ERROR: list indices must be integers, not NoneType while parsing<br>
&gt; /home/nikunj/oe//openembedded/recipes/prismstumbler/prismstumbler_0.7.3+<a href="http://0.7.4pre1.bb" target="_blank">0.7.4pre1.bb</a><br>
&gt; NOTE: Handling BitBake files: | (8369/8369) [100 %]<br>
&gt; NOTE: Parsing finished. 0 cached, 8076 parsed, 292 skipped, 0 masked.<br>
&gt; ERROR: Parsing errors found, exiting...<br>
<br>
</div></div><div class="im">AFAIK, using bitbake with absolute paths to recipes is a bad thing.<br>
Try &#39;bitbake helloword-image&#39; instead. Note that it builds an *image*,<br>
not just a helloworld executable.<br>
<br>
</div><div><div></div><div class="h5">&gt; =&gt; To avoid this long parsing use &quot;-b&quot; option with the bitbake.<br>
&gt;<br>
&gt;<br>
&gt; When i ran with &quot; -b &quot; option.<br>
&gt; $ bitbake -b<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a><br>
&gt;<br>
&gt; it says:<br>
&gt; NOTE: Preparing runqueue<br>
&gt; NOTE: Executing runqueue<br>
&gt; NOTE: Running task 1 of 11 (ID: 5,<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_setscene)<br>
&gt; NOTE: Running task 2 of 11 (ID: 4,<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_fetch)<br>
&gt; NOTE: Running task 3 of 11 (ID: 0,<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_unpack)<br>
&gt; NOTE: Unpacking ../openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a> to<br>
&gt; tmp/work/armv5te-linux/helloworld-1.0.0-r1/<br>
&gt; NOTE: Running task 4 of 11 (ID: 1,<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_patch)<br>
&gt; NOTE: Running task 5 of 11 (ID: 6,<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_configure)<br>
&gt; NOTE: Running task 6 of 11 (ID: 7,<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_compile)<br>
&gt; ERROR: function do_compile failed<br>
&gt; ERROR: log data follows<br>
&gt; (/home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/log.do_compile.12888)<br>
&gt; |<br>
&gt; /home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/run.do_compile.12888:<br>
&gt; line 242: arm-linux-gcc: command not found<br>
&gt; NOTE: Task failed:<br>
&gt; /home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/log.do_compile.12888<br>
&gt; ERROR: TaskFailed event exception, aborting<br>
&gt; ERROR: Build of<br>
&gt; /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a><br>
&gt; do_compile failed<br>
&gt; ERROR: Task 7<br>
&gt; (/home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>,<br>
&gt; do_compile) failed<br>
&gt; NOTE: Tasks Summary: Attempted 5 tasks of which 0 didn&#39;t need to be rerun<br>
&gt; and 1 failed.<br>
&gt; ERROR: &#39;/home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb" target="_blank">helloworld_1.0.0.bb</a>&#39;<br>
&gt; failed<br>
<br>
</div></div><div class="im">When you bypass building recipe dependencies with the -b flag, things<br>
may go bad.<br>
As your log shows, the toolchain has not even been built! You can see<br>
that from the line:<br>
<br>
</div><div class="im">&gt; /home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/run.do_compile.12888:<br>
&gt; line 242: arm-linux-gcc: command not found<br>
<br>
</div><div><div></div><div class="h5">To sum up: try &#39;bitbake helloworld-image&#39;.<br>
<br>
Best regards,<br>
</div></div><font color="#888888">Bjørn Forsman<br>
</font></blockquote></div><br>