Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Skan <skander.lab@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: openembedded to cross compile QT4 to FriendlyArm mini2440
Date: Wed, 17 Mar 2010 14:13:32 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100317T150947-575@post.gmane.org> (raw)

Hello, 
I m using ubuntu9.10 with vmware to cross 
compile a Qt4 application to Qtopia
for the FriendlyArm mini2440.
I 've done this following a tutorial
-----------------------------------------
------------------------------------------
a) dowload bitbake from: 
http://download.berlios.de/bitbake/bitbake-1.8.8.tar.gz
b) mkdir /home/paul/project 
(I make a directory named "project" under my home
folder)
c) cd /home/paul/project (Go to the new folder)
b) mkdir build (Creating a new folder under project)
d) mkdir build/conf (This folder will containts the configure file)
e) touch soure-me.txt 
(Creating a new text file under project,it will used for
initializing the enviroment)
content of soure-me.txt:

export OETREE="${PWD}"
BBPATH=${OETREE}/:${OETREE}/build/:${OETREE}/openembedded/
PKGDIR=${OETREE}/build/
echo Setting up dev env for Ångström

if [ -z ${ORG_PATH} ] ; then
ORG_PATH=${PATH}
export ORG_PATH
fi

if [ -z ${ORG_LD_LIBRARY_PATH} ] ; then
ORG_LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
export ORG_LD_LIBRARY_PATH
fi

PATH=${OETREE}/bitbake/bin:${ORG_PATH}

cd $PKGDIR

LD_LIBRARY_PATH=
export PATH LD_LIBRARY_PATH BBPATH
export LANG=C
export BB_ENV_EXTRAWHITE="MACHINE DISTRO OETREE ANGSTROM_MODE 
ANGSTROMLIBC LIBC"
echo "Altered environment for OE Development"
f) tar -xzvf bitbake-1.8.8.tar.gz -C /home/paul/project 
(untar bitbake into
project folder)
2. Getting openembedded
a) cd /home/paul/project (Go to project folder)
b) git clone git://git.openembedded.org/openembedded 
(dowload openembedded)
c) cp openembedded/conf/local.conf.sample build/conf/local.conf 
(Setting
local.conf file)

3.Building qt4-embedded recipe
Because the small project needs the lib of qt4,
 so the first thing to do is
building qt4-embedded recipe,
of cause , if you already finished this task ,
you can skin this step.
Building it by command follow:
a) cd /home/paul/project (Go to the project folder)
b) source source-me.txt (initializing envira)
c) bitbake qt4-embedded (This will takes a long time)
-------------------------------------------------------
but t have this error :

skan@skan-desktop:~/project$ bitbake qt4-embedded
/usr/lib/pymodules/python2.6/bb/COW.py:29: 
DeprecationWarning: the sets module
is deprecated
  import types, sets
/usr/lib/pymodules/python2.6/bb/COW.py:29:
 DeprecationWarning: the sets module
is deprecated
  import types, sets
Traceback (most recent call last):
  File "/usr/bin/bitbake", line 143, in <module>
    main()
  File "/usr/bin/bitbake", line 123, in main
    cooker.parseConfiguration()
  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 68, in parseConfiguration
    self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
  File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 404, in
parseConfigurationFile
    bb.event.fire(bb.event.ConfigParsed(self.configuration.data))
  File "/usr/lib/pymodules/python2.6/bb/event.py", line 67, in fire
    if tmpHandler(event) == Handled:
  File "tmpHandler(e)", line 4, in tmpHandler
  File "<bb>", line 18, in check_sanity
NameError: global name 'os' is not defined




What can I do?




             reply	other threads:[~2010-03-17 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 14:13 Skan [this message]
2010-03-17 20:48 ` openembedded to cross compile QT4 to FriendlyArm mini2440 Marc Reilly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20100317T150947-575@post.gmane.org \
    --to=skander.lab@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox