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

Roman I Khimov roman at khimov.ru
Wed Dec 29 20:00:10 UTC 2010


В сообщении от Среда 29 декабря 2010 21:42:33 автор Frans Meulenbroeks 
написал:
> I now get:
> | 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
> 
> I do have EXTERN.h:
> sysroots/i686-linux/usr/lib/perl/5.10.1/CORE/EXTERN.h
> sysroots/armv5te-oe-linux-gnueabi/usr/lib/perl/5.10.1/CORE/EXTERN.h
>
> What I find worrying (and probably wrong) is:
> -I/usr/lib/perl/5.10/CORE
> I don't expect host dirs in and arm gcc command.

Perl never stops surprising me.

I have exactly the same wrong include but it seems that Debian lenny is 
exactly old enough for it to work with build includes. Argh. I've found 
suspicious internal perl incantations and testing the fix currently.

-- 
 http://roman.khimov.ru
mailto: roman at khimov.ru
gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101229/24b0eef0/attachment-0002.sig>


More information about the Openembedded-devel mailing list