<br><br><div class="gmail_quote">2009/6/6 Woody Dickson <span dir="ltr"><<a href="mailto:woodydickson@gmail.com">woodydickson@gmail.com</a>></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('Read the comments in your conf/local.conf')}<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 (' ') will result in parse failures.<br># Remove '# ' 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 {}'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 = "${HOME}/sources"<br><br># Delete the line below. Then specify which .bb files to consider for<br># your build. Typically this will be something like BBFILES = "/path/to/openembedded/recipes/*/*.bb"<br>
BBFILES := "/stuff/helloworld/files/packages/*/*.bb"<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 = ""<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 += "virtual/${TARGET_PREFIX}gcc virtual/libc"<br><br># Uncomment this if you'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 += "gcc3-native"<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't forget<br>
# to rename the binaries as instructed in the Wiki.<br># Most users do not need this anymore thankfully!<br># ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"<br><br># Select between multiple alternative providers, if more than one is eligible.<br>
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"<br>PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"<br>
PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"<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>
# <build directory>/tmp<br># Don'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 = "om-gta01"<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 = "arm"<br><br># Use this to specify the target operating system. The default is "linux",<br># for a normal linux system with glibc. Set this to "linux-uclibc" 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 = "linux"<br># TARGET_OS = "linux-uclibc"<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 "versioned" 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 = "angstrom-2008.1"<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 = "0"<br>
# ASSUME_PROVIDED += "qemu-native"<br><br># If ENABLE_BINARY_LOCALE_GENERATION is set to "1", 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 = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"<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 = "2.6"<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 = "package_ipk"<br># INHERIT = "package_tar"<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 = "jffs2 tar"<br><br># Uncomment this to disable the parse cache (not recommended).<br># CACHE = ""<br><br># Uncomment this if you want BitBake to emit debugging output<br># BBDEBUG = "yes"<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 = "1"<br># INHIBIT_PACKAGE_STRIP = "1"<br><br># Uncomment these to build a package such that you can use gprof to profile it.<br># NOTE: This will only work with 'linux' targets, not<br>
# 'linux-uclibc', as uClibc doesn't provide the necessary<br># object files. Also, don't build glibc itself with these<br># flags, or it'll fail to build.<br>#<br># PROFILE_OPTIMIZATION = "-pg"<br>
# SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"<br># LDFLAGS =+ "-pg"<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're<br># in the process of marking these so let us know if you find any.<br># PARALLEL_MAKE = "-j 4"<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 = "2"<br>
<br># Uncomment this if you want BitBake to emit the log if a build fails.<br>BBINCLUDELOGS = "yes"<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 = ""<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 = "1"<br>
<br># EDIT THIS FILE and then remove the line below before using!<br>REMOVE_THIS_LINE:="${@bb.fatal('Read the comments in your conf/local.conf')}"<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:="${@bb.fatal('Read the comments in your conf/local.conf')}"</div>