Hi All,<br>I am a newbie to the world of OE and Bitbake.<br>I want to generate a <b>helloworld </b>executable with <span style="background-color: rgb(102, 255, 255);">MACHINE=x86 and DISTRO=celinux-test</span> as parameters.<br>
<br>( although I am not sure about which distro to use..! please correct me if above parameters are wrong. )<br><br>All environment setup has been done acc to <br><u><a href="http://docs.openembedded.org/usermanual/usermanual.html#gettingoe_configuring_oe">http://docs.openembedded.org/usermanual/usermanual.html#gettingoe_configuring_oe</a></u><br clear="all">
<br><span style="background-color: rgb(51, 204, 0);">I am using CentOS 5.4 kernel 2.6.18</span><br style="background-color: rgb(51, 204, 0);"><span style="background-color: rgb(51, 204, 0);">tools and utilities required are also installed. ( texi2html, chrpath, texinfo etc. )</span><br style="background-color: rgb(51, 204, 0);">
<span style="background-color: rgb(51, 204, 0);">python version in use is 2.6</span><br><br><br>When I run the command :<br>$bitbake /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a><br>
<br>it says:<br><span style="background-color: rgb(255, 0, 0);">NOTE: Handling BitBake files: / (6783/8369) [81 %]NOTE: <type 'exceptions.TypeError'>:list indices must be integers, not NoneType while evaluating:</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 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 ${@['', 'file://wireless.patch;patch=1'][bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d, 1) and bb.data.getVar('PREFERRED_VERSION_linux-libc-headers', d, 1).split('.')[2] < '30']} file://fix-includes.patch;patch=1;pnum=0 file://libgps-check.patch;patch=1</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 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, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: Exception:<type 'exceptions.TypeError'> Message:list indices must be integers, not NoneType</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">ERROR: Printing the environment of the function</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: 0001:def __anonfunc():</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">ERROR: 0002: __anon_183__home_nikunj_oe__openembedded_classes_staging_bbclass(d)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: 0003: __anon_453_classes_base_bbclass(d)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">ERROR: 0004: __anon_148__home_nikunj_oe__openembedded_classes_package_bbclass(d)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: 0005: __anon_318_classes_package_ipk_bbclass(d)</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 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, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Handling BitBake files: | (8369/8369) [100 %]</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">NOTE: Parsing finished. 0 cached, 8076 parsed, 292 skipped, 0 masked.</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: Parsing errors found, exiting...</span><br style="background-color: rgb(255, 0, 0);"><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(51, 204, 0);">=> To avoid this long parsing use "-b" option with the bitbake.</span><br>
<br><br>When i ran with " -b " option.<br>$ bitbake -b /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a><br><br>it says:<br><span style="background-color: rgb(255, 0, 0);">NOTE: Preparing runqueue</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Executing runqueue</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">NOTE: Running task 1 of 11 (ID: 5, /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_setscene)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Running task 2 of 11 (ID: 4, /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_fetch)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Running task 3 of 11 (ID: 0, /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_unpack)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Unpacking ../openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a> to tmp/work/armv5te-linux/helloworld-1.0.0-r1/</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Running task 4 of 11 (ID: 1, /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_patch)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Running task 5 of 11 (ID: 6, /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_configure)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Running task 6 of 11 (ID: 7, /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_compile)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: function do_compile failed</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">ERROR: log data follows (/home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/log.do_compile.12888)</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">| /home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/run.do_compile.12888: line 242: arm-linux-gcc: command not found</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Task failed: /home/nikunj/oe/build/tmp/work/armv5te-linux/helloworld-1.0.0-r1/temp/log.do_compile.12888</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">ERROR: TaskFailed event exception, aborting</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: Build of /home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a> do_compile failed</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">ERROR: Task 7 (/home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>, do_compile) failed</span><br style="background-color: rgb(255, 0, 0);">
<span style="background-color: rgb(255, 0, 0);">NOTE: Tasks Summary: Attempted 5 tasks of which 0 didn't need to be rerun and 1 failed.</span><br style="background-color: rgb(255, 0, 0);"><span style="background-color: rgb(255, 0, 0);">ERROR: '/home/nikunj/oe/openembedded/recipes/helloworld/<a href="http://helloworld_1.0.0.bb">helloworld_1.0.0.bb</a>' failed</span><br>
<br><br>Can anyone help me..!!<br><br>Thanks,<br><br>Nikunj<br>BTech<br>Bangalore, India<br>