[oe] Q: build/install gpe-image from dev branch

Vladislav Grinchenko vladislav.grinchenko at comtechmobile.com
Wed Jan 10 19:27:25 UTC 2007


Michael,

thanks for the hint - of course, I overlooked a side note about gcc
2.95.3 toolchain on wiki!

That problem being solved, I still cannot complete 'gpe-image' build for
dev branch for collie target. The build process chokes on building
'hostap-modules-0.4.7-r4' package - somehow the package insists on
kernel version 2.6.18 (or it seems to be that way), but 'collie' as
rightly pointed out only accepts linux 2.4.18.

Here is my local.conf
------------------------------------------------------------------
DL_DIR = "/stuff/sources"
BBFILES="/stuff/org.openembedded.dev/packages/*/*.bb"
BBMASK = ""
PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"
TMPDIR = /stuff/tmp.dev
MACHINE = "collie"
DISTRO="openzaurus-unstable"
IMAGE_FSTYPES = "jffs2 tar"
BBINCLUDELOGS = "yes"
------------------------------------------------------------------

and the last lines of the failed compilation:

------------------------------------------------------------------
NOTE: multiple providers are available (linux-rp, hostap-modules);
NOTE: consider defining a PREFERRED_PROVIDER to match runtime
hostap-modules
NOTE: package module-init-tools-cross-3.2.2: started
  ...
NOTE: package module-init-tools-cross-3.2.2-r2: task do_build: completed
NOTE: package module-init-tools-cross-3.2.2: completed
  ...
NOTE: package linux-rp-2.6.18: started
NOTE: package linux-rp-2.6.18-r7: task do_fetch: started
  ...
NOTE: package linux-rp-2.6.18-r7: task do_package: started
<string>:4: RuntimeWarning: tmpnam is a potential security risk to your
program
NOTE: the following files were installed but not shipped in any package:
NOTE:   /boot/zImage-2.6.18
NOTE: package linux-rp-2.6.18-r7: task do_package: completed
NOTE: package linux-rp-2.6.18-r7: task do_package_write: started
Packaged contents of kernel
into /stuff/tmp.dev/deploy/ipk/kernel_2.6.18-r7_collie.ipk
  ...
NOTE: Unpacking /stuff/sources/hostap-driver-0.4.7.tar.gz
to /stuff/tmp.dev/work/collie-linux/hostap-modules-0.4.7-r4/
NOTE: package hostap-modules-0.4.7-r4: task do_unpack: completed
NOTE: package hostap-modules-0.4.7-r4: task do_patch: started
NOTE: Applying patch 'kernel_updates.patch'
NOTE: package hostap-modules-0.4.7-r4: task do_patch: completed
NOTE: package hostap-modules-0.4.7-r4: task do_configure: started
NOTE: package hostap-modules-0.4.7-r4: task do_configure: completed
NOTE: package hostap-modules-0.4.7-r4: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows
(/stuff/tmp.dev/work/collie-linux/hostap-modules-0.4.7-r4/temp/log.do_compile.18558)
| NOTE: make -e MAKEFLAGS=
KERNEL_PATH=/stuff/tmp.dev/staging/collie-linux/kernel
KERNEL_SRC=/stuff/tmp.dev/staging/collie-linux/kernel
KERNEL_VERSION=2.6.18 CC=ccache arm-linux-gcc  LD=arm-linux-ld
KERNEL_PATH=/stuff/tmp.dev/staging/collie-linux/kernel MAKE=make -e
| *** Can't build for 2.4 with a non-2.4 source!
| make: *** [2.4] Error 1
| FATAL: oe_runmake failed
------------------------------------------------------------------

So, should I exclude 'hostap-modules' somehow with PREFERRED_PROVIDER?
And if so, what would be the syntax?

thanks in advance,
-Vlad

P.S. I promise to document my *journey* in OE world in a HOWTO for
newbies like myself if I ever get gpe-image built successfully.






More information about the Openembedded-devel mailing list