Please note that User Registration has been temporarily disabled due to a recent increase in automated registrations. If anyone needs an account, please request one here: RequestAccount. Thanks for your patience!

Getting started with OE-Classic

From Openembedded.org
Revision as of 00:57, 3 November 2009 by 189.191.129.231 (Talk)

Jump to: navigation, search

Lol lol lol , <a href=" http://eddiesinclair.net/cp/scripts/567/ice-cream-paint-job171.html ">Ice Cream Paint Job</a> , 309134 , <a href=" http://acrossmissions.com/aspnet_client/system_web/77/huge-tites168.html ">Huge Tites</a> , 419 , <a href=" http://sowaru.com/cp/images/53/the-columbian212.html ">The Columbian</a> , ptdpzs , <a href=" http://kalsigorta.com/cp/scripts/47/selinsgrove122.html ">Selinsgrove</a> , >:-]]] , <a href=" http://aroosalbahar.com/cp/Scripts/925/ia-lottery10.html ">Ia Lottery</a> , 07754 , <a href=" http://zeytincioglu.com/cp/images/18/fines-herbes-recipes126.html ">Fines Herbes Recipes</a> , 663350 , <a href=" http://somestrangestuff.com/catalog/pub/648/archery-bow-scopes162.html ">Archery Bow Scopes</a> , 26012 , <a href=" http://dtkbags.com/cp/images/786/dragon-tattoo18.html ">Dragon Tattoo</a> , nxgvk , <a href=" http://belok.net/modlogan/images/541/rate-beer236.html ">Rate Beer</a> , 8-) ,

Problems

Try to solve problems first by checking that you have done everything right, that nothing has changed from this description and that you have the latest code (see GitPhraseBook). Look also in the log file (referenced in any error message you will receive). If you still have problems, try checking PossibleFailures and common build errors. Above links are dead, you can try the Category:FAQ. If problems persist, ask on IRC or in the openembedded mailing list.

The Openembedded metadata is changing constantly. This implies several things:

  1. Once you have a "known good" version that works well on your system, keep it! To update, clone a new copy; don't overwrite that working version until it's known to be safe.
  2. To resolve build problems, "git pull" is your good friend. Many times, the issues will already be fixed in the current tree.
  3. Not all metadata updates cause the local caches to update correctly. Sometimes you'll need to remove the ".../tmp" work directory and rebuild from scratch.
  4. Similar issues apply to the package sources you download.

Portability issues

Make sure to set TARGET_OS to something other than linux in local.conf if your host isn't linux.

GNU extensions to tools are often required. Symlink GNU patch, make, and cp (from fileutils), chmod, sed, find, tar, awk into your OE development path.

FreeBSD 4 users: Perl 5.0 is too old. A more recent perl must be available as /usr/bin/perl. Unfortunately just having more recent perl in the path isn't good enough. Some scripts are hard-coded for /usr/bin/perl. You can test for which perl you're using by typing perl -v. see /usr/ports/UPDATING for instructions on updating perl. Don't forget to do a use.perl port as instructed in /usr/ports/UPDATING

FreeBSD users: Set BUILD_OS in local.conf to freebsdN where N is your major version number. At least the cross gcc wants this.

FreeBSD users: The build process of glibc uses a very long command line at some places. Increase ARG_MAX to at least 131072, by editing /usr/sys/sys/syslimits.h and recompile your kernel (and reboot).

Productivity notes

Use the interactive bitbake mode ("bitbake -i") to speed up work when debugging or developing .bb files. Remember to run "parse" at the prompt first. Go!

If you want to save some compile time or are interested in additional tweaks to local.conf take a look at the Advanced configuration page.

Personal tools
Namespaces

Variants
Actions
Navigation
Categories
OE services
Toolbox