glibc_2.6.1 build fails
Aapo Rantalainen
aapo.rantalainen at gmail.com
Wed May 27 12:50:49 CEST 2009
Now I got openembedded working on Ubuntu 9.04. Magic is that disabling
locale generation.
Full log:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ccache sed wget cvs subversion git-core \
coreutils unzip texi2html texinfo libsdl1.2-dev docbook-utils \
gawk python-pysqlite2 diffstat help2man make gcc build-essential \
libxml2-utils xmlto python-psyco
sudo dpkg-reconfigure dash (answer no)
mkdir oe
cd oe/
mkdir -p build/conf
svn co svn://svn.berlios.de/bitbake/branches/bitbake-1.8/ bitbake
git clone git://git.openembedded.org/openembedded
cp openembedded/conf/local.conf.sample build/conf/local.conf
#change path. can't use ~
nano build/conf/local.conf
*BBFILES := "/home/rantalai/oe/openembedded/recipes/*/*.bb"
*MACHINE = "om-gta02"
*DISTRO = "openmoko"
*remove last line
*ENABLE_BINARY_LOCALE_GENERATION = "0"
#use your own path
nano env
*export BBPATH=/home/rantalai/oe/build:/home/rantalai/oe/openembedded
*export PATH=/home/rantalai/oe/bitbake/bin:$PATH
source env
#if you do not have 0, put it
cat /proc/sys/vm/mmap_min_addr (must be 0)
[
sudo su
echo 0 > /proc/sys/vm/mmap_min_addr
]
#try with some package. E.g nano needs lots of another packages and
took over 1 hour.
bitbake nano
#if problem, first try
cd openembedded
git pull
cd ..
bitbake nano
#If you got error: No GNU_HASH in the elf binary SOME_PACKAGE
rm -rf tmp/work/armv4t-angstrom-linux-gnueabi/SOME_PACKAGE
#and try again.
-Aapo Rantalainen
More information about the devel
mailing list