<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>





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.&nbsp;
So far I'm still having difficulties getting on my feet.&nbsp; 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.&nbsp; (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).&nbsp; To work around that I've been targeting an i486
from an i686 host.<br><br>First
and foremost what are the most up-to-date sources of information for
working with OE.&nbsp; To date I've found these links to be helpfull:
http://bitbake.berlios.de/manual/ and
http://www.openembedded.org/user-manual&amp;dpage=index.&nbsp; There's other
pages online that have overlapping information but due to the time when
each was written things are done differently.<br><br>Hopefully someone
more knowledgeable can take a look at my conf files and offer some
insight.&nbsp; My goal is to use a minimum number of parameters to get a
better handle on what's going on.&nbsp; 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.&nbsp; 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.&nbsp; Things seem to go well until glibc fails
building.&nbsp; I get the following errors...<br><br>| pthread.c:(.text+0x77d): undefined reference to `_errno'<br>| pthread.c:(.text+0x789): undefined reference to `_h_errno'<br>| pthread.c:(.text+0x795): undefined reference to `_res'<br><br>I appreciate any help those more knowledgeable can provide and hope to get a better grasp on building with OE.&nbsp; Thanks.<br><br>local.conf:<br>OE_ROOT = "/home/paul/Desktop/oe"<br><br>MACHINE = "myx86"<br>DISTRO = "mygeneric"<br><br>DL_DIR = "${OE_ROOT}/build/sources"<br>BBFILES = "${OE_ROOT}/org.openembedded.dev/packages/*/*.bb"<br>BBMASK = ""<br>TMPDIR = "${OE_ROOT}/build/tmp"<br><br>PARALLEL_MAKE = "-j 1"<br>BBINCLUDELOGS = "no"<br><br><br>##########################################################<br><br>myx86.conf:<br>TARGET_ARCH = "i486"<br><br>##########################################################<br><br>mygeneric.conf:<br>DISTRO_NAME = "mygeneric"<br>DISTRO_VERSION = ".dev-snapshot-${SRCDATE}"<br><br>INHERIT += "package_tar"<br><br>TARGET_OS = "linux"<br>PREFERRED_VERSION_linux-libc-headers = "2.6.20"<br><br># Use glibc 2.5<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}libc-for-gcc:glibc"<br>PREFERRED_VERSION_glibc = "2.5"<br>PREFERRED_VERSION_glibc-intermediate = "2.5"<br>PREFERRED_VERSION_glibc-initial = "2.5"<br><br># Use gcc 4.1.1<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"<br>PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"<br>PREFERRED_VERSION_gcc = "4.1.1"<br>PREFERRED_VERSION_gcc-cross = "4.1.1"<br>PREFERRED_VERSION_gcc-cross-initial = "4.1.1"<br><br># Use binutils 2.17.50.0.5<br>PREFERRED_VERSION_binutils = "2.17.50.0.5"<br>PREFERRED_VERSION_binutils-cross = "2.17.50.0.5"<br><br>require conf/distro/include/sane-srcdates.inc<br><br>########################################################<br><br><br><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>