[oe-users] Getting my feet wet with OE

Paul None tones111 at hotmail.com
Thu Apr 19 23:40:42 UTC 2007







I've been looking through the various online references and trying to
dig through the bitbake and classes to find out how to get OE working. 
So far I'm still having difficulties getting on my feet.  One thing
I've noticed (and this may be by design) is that if I try to set my
target architecture to the same as the host the cross-compiler tools
don't generate an executable.  (I know about the native target but
would like to use an OE built toolchain to make it easier to move to a
target down the road).  To work around that I've been targeting an i486
from an i686 host.First
and foremost what are the most up-to-date sources of information for
working with OE.  To date I've found these links to be helpfull:
http://bitbake.berlios.de/manual/ and
http://www.openembedded.org/user-manual&dpage=index.  There's other
pages online that have overlapping information but due to the time when
each was written things are done differently.Hopefully someone
more knowledgeable can take a look at my conf files and offer some
insight.  My goal is to use a minimum number of parameters to get a
better handle on what's going on.  Ultimately I hope to create a
minimal distro using a bitbake meta style recipe and create a custom
machine target for transitioning to a different platform once I get the
software worked out.  With these files I get a message saying it can't
find a glibc 2.5 for i486-linux and looking through the messages it was
trying to build 2.3.  Things seem to go well until glibc fails
building.  I get the following errors...| pthread.c:(.text+0x77d): undefined reference to `_errno'| pthread.c:(.text+0x789): undefined reference to `_h_errno'| pthread.c:(.text+0x795): undefined reference to `_res'I appreciate any help those more knowledgeable can provide and hope to get a better grasp on building with OE.  Thanks.local.conf:OE_ROOT = "/home/paul/Desktop/oe"MACHINE = "myx86"DISTRO = "mygeneric"DL_DIR = "${OE_ROOT}/build/sources"BBFILES = "${OE_ROOT}/org.openembedded.dev/packages/*/*.bb"BBMASK = ""TMPDIR = "${OE_ROOT}/build/tmp"PARALLEL_MAKE = "-j 1"BBINCLUDELOGS = "no"##########################################################myx86.conf:TARGET_ARCH = "i486"##########################################################mygeneric.conf:DISTRO_NAME = "mygeneric"DISTRO_VERSION = ".dev-snapshot-${SRCDATE}"INHERIT += "package_tar"TARGET_OS = "linux"PREFERRED_VERSION_linux-libc-headers = "2.6.20"# Use glibc 2.5PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc"PREFERRED_VERSION_glibc = "2.5"PREFERRED_VERSION_glibc-intermediate = "2.5"PREFERRED_VERSION_glibc-initial = "2.5"# Use gcc 4.1.1PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"PREFERRED_VERSION_gcc = "4.1.1"PREFERRED_VERSION_gcc-cross = "4.1.1"PREFERRED_VERSION_gcc-cross-initial = "4.1.1"# Use binutils 2.17.50.0.5PREFERRED_VERSION_binutils = "2.17.50.0.5"PREFERRED_VERSION_binutils-cross = "2.17.50.0.5"require conf/distro/include/sane-srcdates.inc########################################################
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20070419/a421a8a2/attachment-0002.html>


More information about the Openembedded-users mailing list