[oe] problems doing bitbake task-base

Luís Cargnini lvcargnini at gmail.com
Mon Jun 18 13:14:05 UTC 2007


 you can remove it from perl, tke alook on gentoo patchs for gentoo please,
follow the perl patch list of gentoo and the content of page.h patch from
gentoo:
BD06DC30 ~ # cd /usr/portage/dev-lang/perl/
BD06DC30 perl # ls
ChangeLog  Manifest  files  metadata.xml  perl-5.8.8-r2.ebuild
BD06DC30 perl # ls files/
perl-5.8.7-MakeMaker-RUNPATH.patch
perl-5.8.8-dragonfly-clean.patch
perl-5.8.8-reorder-INC.patch
perl-picdl.patch
perl-5.8.8-CAN-2005-0448-rmtree.patch
perl-5.8.8-fbsdhints.patch
perl-h2ph-ansi-header.patch
perl-prelink-lpthread.patch
perl-5.8.8-USE_MM_LD_RUN_PATH.patch
perl-5.8.8-gcc42-command-line.patch
perl-hppa-pa7200-configure.patch
perl-regexp-nossp.patch
perl-5.8.8-asm-page-h-compile-failure.patch
perl-5.8.8-lib64.patch
perl-noksh.patch
perl-5.8.8-cplusplus.patch
perl-5.8.8-links.patch
perl-perldoc-emptydirs.patch

BD06DC30 perl # cat files/perl-5.8.8-asm-page-h-compile-failure.patch
--- perl-5.8.8/ext/IPC/SysV/SysV.xs.no_asm_page_h       2001-06-30 14:46:
07.000000000 -0400
+++ perl-5.8.8/ext/IPC/SysV/SysV.xs     2006-06-02 17:37:22.000000000 -0400
@@ -3,9 +3,6 @@
 #include "XSUB.h"

 #include <sys/types.h>
-#ifdef __linux__
-#   include <asm/page.h>
-#endif
 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
 #ifndef HAS_SEM
 #   include <sys/ipc.h>
BD06DC30 perl #


On 6/13/07, Jamie Lenehan <lenehan at twibble.org> wrote:
>
> On Wed, Jun 13, 2007 at 11:40:51PM -0300, Luís Cargnini wrote:
> > thanks for your answers
> > So why OE perl-native isn't compiling for me ???
>
> Because perl-native is compiled with your hosts's compiler, and you have a
> version of linux-headers (I think that's what gentoo calls them) that has
> removed /usr/include/asm/page.h
>
> I *think* this was removed and then re-added back later on (since so much
> stuff includes this header). In which case updating linux-headers on your
> system to a later version should fix it.
>
> If I'm wrong on this I can remove the need for it from perl, but I need to
> make sure I don't break perl-native on other systems if I do that.
>
> > and perl-native use my host kernel ? probably not, because in this case
> we
> > won't have problem with page.h ? I'm right ?
>
> It doesn't use your kernel headers, but the linux-headers, which are
> generated from the kernel headers. So the version of linux-headers is not
> usually related to the version of the kernel that you are using.
>
> > And how to fix this ???
>
> Try the latest gentoo linux-headers package (or an older version). If that
> doesn't work then wait for me to test and remove it from the perl-native
> in
> OE.
>
> --
> Jamie Lenehan <lenehan at twibble.org>
>



-- 
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500  extension: 7696
---------------------------------------------------------------------------------



More information about the Openembedded-devel mailing list