Is this what you mean by move the recipe over? I'm not having much
success in building mono and I wanted to check that I have the right
source of mono recipe.
To move the mono recipe over I cloned the following git repo into a
local directory oe:
$ git clone git://git.openembedded.org/openembedded oe
Then copied the mono recipe directory into my oe-core BB image build
directory:
$ cp ./oe/classes/mono.bbclass ./angstrom-beaglebone/sources/
openembedded-core/meta/recipes-core/
I also had to copy over the mono.bbclass file into my BB image build
directory:
$ cp ./oe/classes/mono.bbclass ./angstrom-beaglebone/sources/
openembedded-core/meta/classes
When I build I get the configure error: cannot run test program while
cross compiling...
...
checking for isinf... yes
checking size of void *... (cached) 4
checking for -Wdeclaration-after-statement option to gcc... yes
checking whether NLS is requested... yes
checking for msgfmt... /mnt/work/build_angstrom/angstrom-beaglebone/
build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/msgfmt
checking for gmsgfmt... /mnt/work/build_angstrom/angstrom-beaglebone/
build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/msgfmt
checking for xgettext... /mERROR: Function 'do_configure' failed
(see /mnt/work/build_angstrom/angstrom-beaglebone/build/tmp-
angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/mono-2.6.3-
r0.1/temp/log.do_configure.24902 for further information)
nt/work/build_angstrom/angstrom-beaglebone/build/tmp-angstrom_2010_x-
eglibc/sysroots/i686-linux/usr/bin/xgettext
checking for msgmerge... /mnt/work/build_angstrom/angstrom-
beaglebone/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/
bin/msgmerge
checking for msgfmt... yes
checking for pkg-config... /mnt/work/build_angstrom/angstrom-
beaglebone/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/
bin/pkg-config
checking for -mno-tls-direct-seg-refs option to gcc... no
checking for visibility __attribute__... yes
checking for library containing clock_gettime... -lrt
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for preceeding underscore in symbols... configure: error:
in `/mnt/work/build_angstrom/angstrom-beaglebone/build/tmp-
angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/mono-2.6.3-
r0.1/mono-2.6.3':
configure: error: cannot run test program while cross compiling
See `config.log' for more details
+ bbfatal 'oe_runconf failed'
+ echo 'ERROR: oe_runconf failed'
ERROR: oe_runconf failed
+ exit 1
NOTE: package mono-2.6.3-r0.1: task do_configure: Failed
ERROR: Task 8 (/mnt/work/build_angstrom/angstrom-beaglebone/sources/
openembedded-core/meta/recipes-core/mono/mono_2.6.3.bb, do_configure)
failed with exit code '1'
ERROR: '/mnt/work/build_angstrom/angstrom-beaglebone/sources/
openembedded-core/meta/recipes-core/mono/mono_2.6.3.bb' failed