Skip to contentSkip to conversation

Failure building hostap-modules-0.4.7

DISCUSSION Peter Bell 2 participants 2 messages Nov 19, 2006 – Nov 20, 2006

lore
Share & tools
lore

Peter Bell

author
#0 lore raw

Hi, everyone

I've just started trying to use oe, and am attempting to build a distribution for the Freescale MX31ADS development board.

I have the following settings:

MACHINE = "mx31ads"
DISTRO = "angstrom-2007.1"

Everything appears to be setup correctly, and "bitbake nano" executes with no problems. When I attempted to do "bitbake bootstrap-image", the compile fails with the following message.

| *** Can't build for 2.6 with a non-2.6 source!
| make: *** [2.6] Error 1
| FATAL: oe_runmake failed

The problem appears to be that the KERNEL_SRC variable is set to <workdir>/tmp/staging/mx31ads-angstrom-linux-gnueabi/kernel, but the kernel source is not there, it's in <workdir>/tmp/work/mx31ads-angstrom-linux-gnueabi/mx31ads-kernel-2.6.19rc5-r2

It looks like it would be easy to fix by editing the .bb file for hostap-modules, but this would be likely to break other platforms - what's the recommended way of sorting this out? Copy the kernel source to staging?

Regards,

Pete Bel

#1 lore raw
Quoted 2 lines · Peter Bell

I've just started trying to use oe, and am attempting to build a distribution for the Freescale MX31ADS development board.

Please update your metadata and rebuild. I removed 'hostap-modules' dependency from 'hostap-utils' so your config should be buildable.

Revision: e7c3c58ffc25bb74008c4dda3d77ba4eae16e8f0
Ancestor: 73d70f59f2e6cdd251e1e656d513bb2feb1a7656
Author: [email protected]
Date: 2006-11-20T09:29:50
Branch: org.openembedded.dev

Modified files:

        packages/hostap/hostap-utils.inc
        packages/hostap/hostap-utils_0.3.7.bb
        packages/hostap/hostap-utils_0.4.0.bb

ChangeLog:

hostap-utils: removed rrecommending hostap-modules
- most of our target devices run kernels newer then 2.6.14 so they have hostap modules from kernel as kernel-module-hostap*
- hostap modules and utils are now both added into dependency of task-base for machines with pcmcia or pci feature

Signature · 5 lines
JID: hrw-jabber.org
OpenEmbedded developer/consultant

           Despair is just another word for 'not enough coffee' 
           		Wally