[oe] [PATCH v3] cpan_build.bbclass; added cc and ld flags to the perl Build.PL invocation

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Dec 29 09:45:22 UTC 2010


2010/12/29 Roman I Khimov <roman at khimov.ru>:
> В сообщении от Среда 29 декабря 2010 01:19:09 автор Frans Meulenbroeks
> написал:
>> After Roman pushed his patches, I tried again.
>>
>> It seems the proper compiler is invoked
>
> Yep, just wanted to reply to previous mail that
> 264f7ab1f41cc86d29716619d67506c85223df71 might probably fix it.
>
>> , but  this time I get a compiler error:
>> | arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
>>
>> -mthumb-interwork -mthumb -Ic -I/usr/lib/perl/5.10/CORE
>> -DXS_VERSION="0.61" -DVERSION="0.61" -fPIC -c
>> -isystem/home/frans/oe/tmp_minimal/sysroots/armv5te-oe-linux-gnueabi/usr/in
>> clude -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O1
>>  -DDEBIAN -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
>> -fno-strict-aliasing -pipe -O2 -o lib/DateTime.o lib/DateTime.c
>>
>> | lib/DateTime.xs:7:20: fatal error: EXTERN.h: No such file or directory
>>
>> Too late to investigate this now.
>
> Well, time to deal with this kind of problem.
>
> I've built libdatetime-perl for qemuarm/angstrom-2010.x yesterday with no
> problems. Rebuilding perl, perl-native and libdatetime-perl now with fresh
> pull from oe.dev and building with sheevaplug/minimal combination in parallel.
> But it might be that clean build results would be different for
> sheevaplug/minimal.
>

Thanks for your feedback and help.
I'll retry and investigate tonight (in about 8 hrs from now).
If you find out anything before, please keep me posted.

Thanks again, Frans.




More information about the Openembedded-devel mailing list