[OE-core] small number of perl modules that can't be cross-compiled

André Draszik git at andred.net
Fri Nov 18 13:15:00 UTC 2016


On Fri, 2016-11-18 at 07:46 -0500, Robert P. J. Day wrote:
> On Fri, 18 Nov 2016, André Draszik wrote:
> 
> > On Fri, 2016-11-18 at 06:41 -0500, Robert P. J. Day wrote:
> > >   after OE recipfying over 100 perl modules from CPAN, i'm down to
> > > less than a dozen that are going to take more work, and a small number
> > > of those seem to be simply badly written in that they don't support
> > > cross-compilation for my target choice of "qemuppc". example
> > > boilerplate recipe i put together produces this:
> > > 
> > > $ make libauthen-pam-perl
> > > ... snip ...
> > > Checking if your kit is complete...
> > > Looks good
> > > checking for gcc... powerpc-wrs-linux-gcc -m32 -mhard-float -mcpu=7400
> > > --
> > > sysroot=/home/rpjday/WRL/builds/msm/nov17/bitbake_build/tmp/sysroots/q
> > > emup
> > > pc
> > > checking for C compiler default output file name... a.out
> > > checking whether the C compiler works... configure: error: cannot run
> > > C compiled programs.
> > > If you meant to cross compile, use `--host'.
> > > See `config.log' for more details.
> > 
> > It'd be useful to see config.log, ...
> 
>   see bottom.

That message is referring to config.log from autotools, not the bitbake
do_configure.log. Should be somewhere below ${B}

Cheers,
a.




More information about the Openembedded-core mailing list