<br><br><div class="gmail_quote">2009/6/6 Woody Dickson <span dir="ltr">&lt;<a href="mailto:woodydickson@gmail.com">woodydickson@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>I am trying to bitbake a hello world and I am getting this error:<br><br>[root@localhost build]#  /stuff/bitbake/bin/bitbake -b  /stuff/helloworld/files/packages/myhelloworld/<a href="http://myhelloworld_0.1.bb" target="_blank">myhelloworld_0.1.bb</a> <br>

ERROR: Read the comments in your conf/local.conf<br>NOTE: exceptions.SystemExit:1 while evaluating:<br>${@bb.fatal(&#39;Read the comments in your conf/local.conf&#39;)}<br><br><br>Does anyone know what is wrong?<br><br>I have attached my conf/local.conf here:<br>

<br>#<br># OpenEmbedded local configuration file (sample)<br>#<br># Please visit the Wiki at <a href="http://openembedded.org/" target="_blank">http://openembedded.org/</a> for more info.<br>#<br>#<br># Be SURE to read this file in its entirety and the GettingStarted page on the<br>

# wiki before proceeding.<br>#<br># Once you have done that, remove the line at the end of this<br># file and build away.<br># <br># WARNING: lines starting with a space (&#39; &#39;) will result in parse failures.<br># Remove &#39;# &#39; from commented lines to activate them.<br>

#<br># NOTE: Do NOT use $HOME in your paths, BitBake does NOT expand ~ for you.  If you<br># must have paths relative to your homedir use ${HOME} (note the {}&#39;s there<br># you MUST have them for the variable expansion to be done by BitBake).  Your<br>

# paths should all be absolute paths (They should all start with a / after<br># expansion.  Stuff like starting with ${HOME} or ${TOPDIR} is ok).<br><br># Use this to specify where BitBake should place the downloaded sources into<br>

DL_DIR = &quot;${HOME}/sources&quot;<br><br># Delete the line below. Then specify which .bb files to consider for<br># your build. Typically this will be something like BBFILES = &quot;/path/to/openembedded/recipes/*/*.bb&quot;<br>

BBFILES := &quot;/stuff/helloworld/files/packages/*/*.bb&quot;<br><br># Use the BBMASK below to instruct BitBake to _NOT_ consider some .bb files<br># This is a regulary expression, so be sure to get your parenthesis balanced.<br>

BBMASK = &quot;&quot;<br><br># Uncomment this if you want to use a prebuilt toolchain. You will need to<br># provide packages for toolchain and additional libraries yourself. You also<br># have to set PATH in your environment to make sure BitBake finds additional binaries.<br>

# ASSUME_PROVIDED += &quot;virtual/${TARGET_PREFIX}gcc virtual/libc&quot;<br><br># Uncomment this if you&#39;re building for an arch that uses emulated locale <br># generation under qemu (mainly arm glibc) and have an external gcc 3.x compiler<br>

# that OE recognises. This will mean the gcc-native build is skipped, speeding <br># builds up.<br># ASSUME_PROVIDED += &quot;gcc3-native&quot;<br><br># Uncomment this if you are building Linux 2.4 Embedix kernels.<br># i.e. openzaurus-sa-2.4.18 and openzaurus-pxa-2.4.18 - and don&#39;t forget<br>

# to rename the binaries as instructed in the Wiki.<br># Most users do not need this anymore thankfully!<br># ASSUME_PROVIDED += &quot;virtual/arm-linux-gcc-2.95&quot;<br><br># Select between multiple alternative providers, if more than one is eligible.<br>

PREFERRED_PROVIDERS = &quot;virtual/qte:qte virtual/libqpe:libqpe-opie&quot;<br>PREFERRED_PROVIDERS += &quot; virtual/libsdl:libsdl-x11&quot;<br>PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial&quot;<br>

PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate&quot;<br>PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}gcc:gcc-cross&quot;<br>PREFERRED_PROVIDERS += &quot; virtual/${TARGET_PREFIX}g++:gcc-cross&quot;<br>

<br># Uncomment this to specify where BitBake should create its temporary files.<br># Note that a full build of everything in OpenEmbedded will take GigaBytes of hard<br># disk space, so make sure to free enough space. The default TMPDIR is<br>

# &lt;build directory&gt;/tmp<br># Don&#39;t use symlinks in in the path to avoid problems<br># TMPDIR = /usr/local/projects/oetmp<br><br># Uncomment this to specify a machine to build for. See the conf directory<br># for machines currently known to OpenEmbedded. This will automatically take care<br>

# of TARGET_ARCH<br>MACHINE = &quot;om-gta01&quot;<br><br># Use this to specify the target architecture. Note that this is only<br># needed when building for a machine not known to OpenEmbedded. Better use<br># the MACHINE attribute (see above)<br>

# TARGET_ARCH = &quot;arm&quot;<br><br># Use this to specify the target operating system.  The default is &quot;linux&quot;,<br># for a normal linux system with glibc. Set this to &quot;linux-uclibc&quot; if you want<br>
# to build a uclibc based system.<br>
# Normally the DISTRO of your choosing will take care of this <br># TARGET_OS = &quot;linux&quot;<br># TARGET_OS = &quot;linux-uclibc&quot;<br><br># Uncomment this to select a distribution policy. See the conf directory<br>

# for distributions currently known to OpenEmbedded.<br># Although it no longer contain version number in the (file-)name<br># openzaurus-unstable is a so called &quot;versioned&quot;  distro, i.e. they <br># explicitely select specific versions of various packages.<br>

# Stay away from unversioned distros unless you really know what you are doing<br>DISTRO = &quot;angstrom-2008.1&quot;<br><br># So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION<br># to generate binary locale packages at build time using qemu-native and<br>

# thereby guarantee i18n support on all devices. If your build breaks on <br># qemu-native consider disabling ENABLE_BINARY_LOCALE_GENERATION (note that<br># this breaks i18n on devices with less than 128MB RAM) or installing<br>

# a working third-party qemu (e.g. provided by your distribution) and<br># adding qemu-native to ASSUME_PROVIDED. Caveat emptor, since third-party<br># qemus lack patches needed to work with various OE targets.<br># ENABLE_BINARY_LOCALE_GENERATION = &quot;0&quot;<br>

# ASSUME_PROVIDED += &quot;qemu-native&quot;<br><br># If ENABLE_BINARY_LOCALE_GENERATION is set to &quot;1&quot;, you can limit locales<br># generated to the list provided by GLIBC_GENERATE_LOCALES. This is huge<br># time-savior for developmental builds. Format: list of locale.encoding pairs<br>

# with spaces as separators.<br># GLIBC_GENERATE_LOCALES = &quot;en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8&quot;<br><br># Uncomment this to select a particular major kernel version if the MACHINE setting<br># supports more than one major kernel version. Currently this is suported by the<br>

# following MACHINE types: poodle, tosa and simpad.<br># MACHINE_KERNEL_VERSION = &quot;2.6&quot;<br><br># Uncomment one of these to build packages during the build process.<br># This is done automatically if you set DISTRO (see above)<br>

# INHERIT = &quot;package_ipk&quot;<br># INHERIT = &quot;package_tar&quot;<br><br># Add the required image file system types below. Valid are <br># jffs2, tar(.gz|bz2), cpio(.gz), cramfs, ext2(.gz), ext3(.gz)<br># squashfs, squashfs-lzma<br>

IMAGE_FSTYPES = &quot;jffs2 tar&quot;<br><br># Uncomment this to disable the parse cache (not recommended).<br># CACHE = &quot;&quot;<br><br># Uncomment this if you want BitBake to emit debugging output<br># BBDEBUG = &quot;yes&quot;<br>

<br># Uncomment these two if you want BitBake to build images useful for debugging. <br># Note that INHIBIT_PACKAGE_STRIP needs a package format to be defined.<br># Also note that OE now produces -dbg packages which contain debugging symbols.<br>

# DEBUG_BUILD = &quot;1&quot;<br># INHIBIT_PACKAGE_STRIP = &quot;1&quot;<br><br># Uncomment these to build a package such that you can use gprof to profile it.<br># NOTE: This will only work with &#39;linux&#39; targets, not<br>

# &#39;linux-uclibc&#39;, as uClibc doesn&#39;t provide the necessary<br># object files.  Also, don&#39;t build glibc itself with these<br># flags, or it&#39;ll fail to build.<br>#<br># PROFILE_OPTIMIZATION = &quot;-pg&quot;<br>

# SELECTED_OPTIMIZATION = &quot;${PROFILE_OPTIMIZATION}&quot;<br># LDFLAGS =+ &quot;-pg&quot;<br><br># Uncomment this to enable parallel make.<br># This allows make to spawn mutliple processes to take advantage of multiple <br>

# processors. Useful on SMP machines. This may break some packages - we&#39;re<br># in the process of marking these so let us know if you find any.<br># PARALLEL_MAKE = &quot;-j 4&quot;<br><br># Uncomment to run multiple bitbake threads in parallel.<br>

# Bitbake can do multiple jobs in parallel: Its a good idea make use of <br># all available resources: e.g. to download sources while some other<br># piece of software is compiled.<br># BB_NUMBER_THREADS = &quot;2&quot;<br>

<br># Uncomment this if you want BitBake to emit the log if a build fails.<br>BBINCLUDELOGS = &quot;yes&quot;<br><br># Specifies a location to search for pre-generated tarballs when fetching<br># a cvs:// URI. Outcomment this, if you always want to pull directly from CVS.<br>

#CVS_TARBALL_STASH = &quot;&quot;<br><br># Uncomment this if you want to install shared libraries directly under their SONAME,<br># rather than installing as the full version and symlinking to the SONAME.<br># PACKAGE_SNAP_LIB_SYMLINKS = &quot;1&quot;<br>

<br># EDIT THIS FILE and then remove the line below before using!<br>REMOVE_THIS_LINE:=&quot;${@bb.fatal(&#39;Read the comments in your conf/local.conf&#39;)}&quot;<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>_______________________________________________<br>
Openembedded-users mailing list<br>
<a href="mailto:Openembedded-users@linuxtogo.org">Openembedded-users@linuxtogo.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users</a><br>
<br></blockquote></div><br><div><br></div><div>remove last line</div><div>REMOVE_THIS_LINE:=&quot;${@bb.fatal(&#39;Read the comments in your conf/local.conf&#39;)}&quot;</div>