Dear all,

I am currently trying to cross compile freevo (
http://freevo.sourceforge.net/) but it is not really working so well.  And
that is basically because I do not know so well how to make a bitbake recipe
for a python program, which also contains some C code.

I started to make a recipe for kaa. (The base frame work for freevo)  and
there I noticed the following error during the bitbake process:*

NOTE: package kaa-1.0.0-r0: task do_populate_sysroot: Started
arm-angstrom-linux-gnueabi-objcopy:/home/hansan/Beagleboard/setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/kaa-1.0.0-r0/package/usr/lib/python2.6/site-packages/kaa/metadata/disc/_cdrom.so:
File format not recognized
*
and *

ERROR: runstrip: ''arm-angstrom-linux-gnueabi-strip'
--remove-section=.comment --remove-section=.note --strip-unneeded
'/home/hansan/Beagleboard/setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/kaa-1.0.0-r0/package/usr/lib/python2.6/site-packages/kaa/metadata/disc/_cdrom.so''
strip command failed
*(Above is only the example for one file, but it happens on more files.)

and if I check the files by using the bitbake -c devshell -b *
~/Beagleboard/setup-scripts/local/recipes/kaa/kaa_1.0.0.bb
*
Then are they not compiled for the target but for the host:*
~/Beagleboard/setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/kaa-1.0.0-r0/kaa/metadata/build/lib.linux-x86_64-2.6/kaa/metadata/disc$
file _cdrom.so
_cdrom.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
dynamically linked, not stripped
*
It does not matter if I do :
*hansan@hansan-desktop:~/Beagleboard/setup-scripts$ MACHINE=beagleboard
./oebb.sh bitbake -b ~/Beagleboard/setup-scripts/local/recipes/kaa/
kaa_1.0.0.bb
or I do the recommended method by first sourcing .oe/environment-2008* and
then call bitbake *bitbake -b ~/Beagleboard/setup-scripts/local/recipes/kaa/
kaa_1.0.0.bb

*I think that the key problem is that I do not understand how to make a
bitbake recipe.
This is what I have:

DESCRIPTION = "Kaa is a support part for the freevo package"
HOMEPAGE = "http://freevo.sourceforge.net/";
SECTION = "media"
PRIORITY = "optional"
LICENSE = "LGPL"
PR = "r0"
DEPENDS="imlib2 python-pyxml python-numeric beautifulsoup"
SRC_URI= "file:///home/hansan/freevo_src/kaa"
S = "${WORKDIR}/kaa"
inherit distutils


Are there pointers on how to make a good working bitbake recipe?
I was able to learn and copy from the other recipes but I do not understand
the function of the variables: a good tutorial would be very helpful....

Many thanks in advance!

Kind regards,

Han
_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to