Problems making PERL?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
45 messages Options
123
Reply | Threaded
Open this post in threaded view
|

Problems making PERL?

Dan Brown-5
Hello all!

I'm having problems getting the initial build of OMAP3-CONSOLE-IMAGE to build.  Seems to be failing trying to make PERL.....  I've waited for 6 weeks, deleted TMP and SOURCES and even deleted and redone the system checkout.  Still fails in the same place.  Can anyone tell me what I am doing wrong please?

Issue was happening when using Kubuntu 09.04 for build enviro, and have updated system to 11.04b1 trying to see if can fix things....  I'm a bit frustrated at this point.

Messages are as follows:

NOTE: Running task 51 of 5084 (ID: 2418, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.5036
Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.5036 for further information)


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Dan Brown-5
Still no go here.  I've tried a couple of other bitbake targets and this is still an issue.  I can only assume that it is trying to build the cross compiler tools at this stage.  (bitbake x-load is having the same issue and I don't think the bootloader needs PERL....)

Is anyone else having this issue when starting from a new build system?  I noticed that my previous build machine was compiling PERL 5.8.8  Could the patches be incompatible with this version?

Any help is appreciated!
Dan


From: Dan Brown <[hidden email]>
To: Gumstix MailingList <[hidden email]>
Sent: Wed, April 13, 2011 10:14:21 PM
Subject: [Gumstix-users] Problems making PERL?

Hello all!

I'm having problems getting the initial build of OMAP3-CONSOLE-IMAGE to build.  Seems to be failing trying to make PERL.....  I've waited for 6 weeks, deleted TMP and SOURCES and even deleted and redone the system checkout.  Still fails in the same place.  Can anyone tell me what I am doing wrong please?

Issue was happening when using Kubuntu 09.04 for build enviro, and have updated system to 11.04b1 trying to see if can fix things....  I'm a bit frustrated at this point.

Messages are as follows:

NOTE: Running task 51 of 5084 (ID: 2418, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.5036
Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.5036 for further information)


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Steven
Try using a 32bit version of ubuntu.

On Fri, Apr 15, 2011 at 1:36 PM, Dan Brown <[hidden email]> wrote:
Still no go here.  I've tried a couple of other bitbake targets and this is still an issue.  I can only assume that it is trying to build the cross compiler tools at this stage.  (bitbake x-load is having the same issue and I don't think the bootloader needs PERL....)

Is anyone else having this issue when starting from a new build system?  I noticed that my previous build machine was compiling PERL 5.8.8  Could the patches be incompatible with this version?

Any help is appreciated!
Dan


From: Dan Brown <[hidden email]>
To: Gumstix MailingList <[hidden email]>
Sent: Wed, April 13, 2011 10:14:21 PM
Subject: [Gumstix-users] Problems making PERL?

Hello all!

I'm having problems getting the initial build of OMAP3-CONSOLE-IMAGE to build.  Seems to be failing trying to make PERL.....  I've waited for 6 weeks, deleted TMP and SOURCES and even deleted and redone the system checkout.  Still fails in the same place.  Can anyone tell me what I am doing wrong please?

Issue was happening when using Kubuntu 09.04 for build enviro, and have updated system to 11.04b1 trying to see if can fix things....  I'm a bit frustrated at this point.

Messages are as follows:

NOTE: Running task 51 of 5084 (ID: 2418, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.5036
Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.5036 for further information)


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Scott Ellis
Switching to 32-bit shouldn't be necessary. All my systems are 64-bit
Ubuntu. 10.10 now.

What if you just run

bitbake perl-native

What happens?

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Dan Brown-5
I deleted the previous log, but otherwise left the tmp directory alone.I changed my Bitbake version to 1.12.0 after reading another similar post.  I can revert back again if needed.  Following is the my output:



dan@Compiler:~/overo-oe$ bitbake perl-native
Loading cache: 100% |####################################################################################################################| ETA:  00:00:00
Loaded 7209 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:04
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:02
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:01
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:01
Parsing recipes: 100% |##################################################################################################################| ETA:  00:00:00
Parsing of 7342 .bb files complete (6586 cached, 756 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510
Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510 for further information)
ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed


From: Scott Ellis <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 1:56:21 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Switching to 32-bit shouldn't be necessary. All my systems are 64-bit
Ubuntu. 10.10 now.

What if you just run

bitbake perl-native

What happens?

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Steven
Obvious thing to try is make sure libpthread is properly installed, and make sure the right architecture is installed.

On Fri, Apr 15, 2011 at 3:07 PM, Dan Brown <[hidden email]> wrote:
I deleted the previous log, but otherwise left the tmp directory alone.I changed my Bitbake version to 1.12.0 after reading another similar post.  I can revert back again if needed.  Following is the my output:



dan@Compiler:~/overo-oe$ bitbake perl-native
Loading cache: 100% |####################################################################################################################| ETA:  00:00:00
Loaded 7209 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:04
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:02
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:01
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:01
Parsing recipes: 100% |##################################################################################################################| ETA:  00:00:00
Parsing of 7342 .bb files complete (6586 cached, 756 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)

NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510

Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510 for further information)
ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed


From: Scott Ellis <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 1:56:21 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Switching to 32-bit shouldn't be necessary. All my systems are 64-bit
Ubuntu. 10.10 now.

What if you just run

bitbake perl-native

What happens?

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Dan Brown-5
I didn't think of that since it wasn't in the howto...  Did the following:

root@Compiler:/media# apt-get install pthread*
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'libpthread-stubs0' for regex 'pthread*'
Note, selecting 'libpthread-stubs0-dev' for regex 'pthread*'
The following NEW packages will be installed:
  libpthread-stubs0 libpthread-stubs0-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,614 B of archives.
After this operation, 81.9 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main libpthread-stubs0 amd64 0.3-2 [3,202 B]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty/main libpthread-stubs0-dev amd64 0.3-2 [2,412 B]
Fetched 5,614 B in 0s (13.5 kB/s)               
Selecting previously deselected package libpthread-stubs0.
(Reading database ... 150707 files and directories currently installed.)
Unpacking libpthread-stubs0 (from .../libpthread-stubs0_0.3-2_amd64.deb) ...
Selecting previously deselected package libpthread-stubs0-dev.
Unpacking libpthread-stubs0-dev (from .../libpthread-stubs0-dev_0.3-2_amd64.deb) ...
Setting up libpthread-stubs0 (0.3-2) ...
Setting up libpthread-stubs0-dev (0.3-2) ...



Still the same output from bitbake though:

dan@Compiler:~/overo-oe$ rm /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510
dan@Compiler:~/overo-oe$ bitbake perl-native
Loading cache: 100% |####################################################################################################################| ETA:  00:00:00
Loaded 7209 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:04
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:02
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:01
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:01
Parsing recipes: 100% |##################################################################################################################| ETA:  00:00:00
Parsing of 7342 .bb files complete (6586 cached, 756 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3734
Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3734 for further information)
ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed





From: Steven <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 3:14:12 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Obvious thing to try is make sure libpthread is properly installed, and make sure the right architecture is installed.

On Fri, Apr 15, 2011 at 3:07 PM, Dan Brown <[hidden email]> wrote:
I deleted the previous log, but otherwise left the tmp directory alone.I changed my Bitbake version to 1.12.0 after reading another similar post.  I can revert back again if needed.  Following is the my output:



dan@Compiler:~/overo-oe$ bitbake perl-native
Loading cache: 100% |####################################################################################################################| ETA:  00:00:00
Loaded 7209 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:04
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:02
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:01
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:01
Parsing recipes: 100% |##################################################################################################################| ETA:  00:00:00
Parsing of 7342 .bb files complete (6586 cached, 756 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)

NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510

Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510 for further information)
ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed


From: Scott Ellis <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 1:56:21 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Switching to 32-bit shouldn't be necessary. All my systems are 64-bit
Ubuntu. 10.10 now.

What if you just run

bitbake perl-native

What happens?

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Steven
Try rebuilding everything (rm -rf tmp), the gcc command line doesn't have -lpthread, which probably means the configuration step didn't detect pthread properly.

On Fri, Apr 15, 2011 at 3:38 PM, Dan Brown <[hidden email]> wrote:
I didn't think of that since it wasn't in the howto...  Did the following:

root@Compiler:/media# apt-get install pthread*
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'libpthread-stubs0' for regex 'pthread*'
Note, selecting 'libpthread-stubs0-dev' for regex 'pthread*'
The following NEW packages will be installed:
  libpthread-stubs0 libpthread-stubs0-dev
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,614 B of archives.
After this operation, 81.9 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ natty/main libpthread-stubs0 amd64 0.3-2 [3,202 B]
Get:2 http://us.archive.ubuntu.com/ubuntu/ natty/main libpthread-stubs0-dev amd64 0.3-2 [2,412 B]
Fetched 5,614 B in 0s (13.5 kB/s)               
Selecting previously deselected package libpthread-stubs0.
(Reading database ... 150707 files and directories currently installed.)
Unpacking libpthread-stubs0 (from .../libpthread-stubs0_0.3-2_amd64.deb) ...
Selecting previously deselected package libpthread-stubs0-dev.
Unpacking libpthread-stubs0-dev (from .../libpthread-stubs0-dev_0.3-2_amd64.deb) ...
Setting up libpthread-stubs0 (0.3-2) ...
Setting up libpthread-stubs0-dev (0.3-2) ...



Still the same output from bitbake though:

dan@Compiler:~/overo-oe$ rm /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510

dan@Compiler:~/overo-oe$ bitbake perl-native
Loading cache: 100% |####################################################################################################################| ETA:  00:00:00
Loaded 7209 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:04
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:02
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:01
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:01
Parsing recipes: 100% |##################################################################################################################| ETA:  00:00:00
Parsing of 7342 .bb files complete (6586 cached, 756 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3734

Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3734 for further information)

ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed





From: Steven <[hidden email]>

To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 3:14:12 PM

Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Obvious thing to try is make sure libpthread is properly installed, and make sure the right architecture is installed.

On Fri, Apr 15, 2011 at 3:07 PM, Dan Brown <[hidden email]> wrote:
I deleted the previous log, but otherwise left the tmp directory alone.I changed my Bitbake version to 1.12.0 after reading another similar post.  I can revert back again if needed.  Following is the my output:



dan@Compiler:~/overo-oe$ bitbake perl-native
Loading cache: 100% |####################################################################################################################| ETA:  00:00:00
Loaded 7209 entries from dependency cache.
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:04
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:02
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:01
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:01
Parsing recipes: 100% |##################################################################################################################| ETA:  00:00:00
Parsing of 7342 .bb files complete (6586 cached, 756 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)

NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510

Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.3510 for further information)
ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed


From: Scott Ellis <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 1:56:21 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Switching to 32-bit shouldn't be necessary. All my systems are 64-bit
Ubuntu. 10.10 now.

What if you just run

bitbake perl-native

What happens?

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Dan Brown-5

Seems to be the same to me.   What packages give the pthread libraries other than those stub file?  Maybe I'm still missing something in the build enviro?

Here is the output:



dan@Compiler:~/overo-oe$ rm -fr tmp
dan@Compiler:~/overo-oe$ bitbake perl-native
NOTE: Angstrom DOES NOT support fso-apm because regular apmd is good enough                                                              | ETA:  --:--:--
WARNING: /home/dan/overo-oe/org.openembedded.dev/lib/oe/unpack.py:38: DeprecationWarning: bb.msg.warn is deprecated in favor of the python 'logging' module
  bb.msg.warn(None, "Deprecated usage of 'patch' url param for '%s', please use 'apply={yes,no}'" % filename)

WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/gpe-conf/gpe-conf-0.2.8/timezone.patch', please use 'apply={yes,no}'
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:01:19
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:01:15
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:01:12
NOTE: Angstrom DOES NOT support ipkg because ipkg has been superseded by opkg                                                            | ETA:  00:01:05
WARNING: /home/dan/overo-oe/org.openembedded.dev/lib/oe/unpack.py:38: DeprecationWarning: bb.msg.warn is deprecated in favor of the python 'logging' module
  bb.msg.warn(None, "Deprecated usage of 'patch' url param for '%s', please use 'apply={yes,no}'" % filename)

WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-2.6.30/no-empty-flash-warnings.patch', please use 'apply={yes,no}'
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4                                          | ETA:  00:00:59
WARNING: /home/dan/overo-oe/org.openembedded.dev/lib/oe/unpack.py:38: DeprecationWarning: bb.msg.warn is deprecated in favor of the python 'logging' module
  bb.msg.warn(None, "Deprecated usage of 'patch' url param for '%s', please use 'apply={yes,no}'" % filename)

WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-2.6.27/overo/no-empty-flash-warnings.patch', please use 'apply={yes,no}'
WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-2.6.29/no-empty-flash-warnings.patch', please use 'apply={yes,no}'
NOTE: Angstrom DOES NOT support libiconv because the glibc builtin iconv replacement is used                                             | ETA:  00:00:46
WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-2.6.31/no-empty-flash-warnings.patch', please use 'apply={yes,no}'
NOTE: Angstrom DOES NOT support bluez-libs because bluez-libs 3.x has been replaced by bluez4                                            | ETA:  00:00:41
NOTE: Angstrom DOES NOT support bluez-utils because bluez-utils 3.x has been replaced by bluez4
WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/linux/linux-omap3-2.6.28/no-empty-flash-warnings.patch', please use 'apply={yes,no}'
WARNING: Deprecated usage of 'patch' url param for '/home/dan/overo-oe/org.openembedded.dev/recipes/gpe-session-scripts/files/standard-apps.patch', please use 'apply={yes,no}'
Parsing recipes: 100% |##################################################################################################################| Time: 00:01:32
Parsing of 7342 .bb files complete (0 cached, 7342 parsed). 7985 targets, 318 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_user '^/home/dan/overo-oe/user.collection/recipes'

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "overo"
METADATA_REVISION = "5f79a98"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110415"
TARGET_FPU        = "hard"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 1 of 73 (ID: 39, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_setscene)
NOTE: package quilt-native-0.48-r7.1: task do_setscene: Started
NOTE: package quilt-native-0.48-r7.1: task do_setscene: Succeeded
NOTE: Running task 2 of 73 (ID: 38, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_fetch)
NOTE: package quilt-native-0.48-r7.1: task do_fetch: Started
NOTE: package quilt-native-0.48-r7.1: task do_fetch: Succeeded
NOTE: Running task 3 of 73 (ID: 31, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_unpack)
NOTE: package quilt-native-0.48-r7.1: task do_unpack: Started
NOTE: package quilt-native-0.48-r7.1: task do_unpack: Succeeded
NOTE: Running task 4 of 73 (ID: 67, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_setscene)
NOTE: package unifdef-native-2.6-0: task do_setscene: Started
NOTE: package unifdef-native-2.6-0: task do_setscene: Succeeded
NOTE: Running task 5 of 73 (ID: 66, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_fetch)
NOTE: package unifdef-native-2.6-0: task do_fetch: Started
NOTE: package unifdef-native-2.6-0: task do_fetch: Succeeded
NOTE: Running task 6 of 73 (ID: 59, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_unpack)
NOTE: package unifdef-native-2.6-0: task do_unpack: Started
NOTE: package unifdef-native-2.6-0: task do_unpack: Succeeded
NOTE: Running task 7 of 73 (ID: 32, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_patch)
NOTE: package quilt-native-0.48-r7.1: task do_patch: Started
NOTE: package quilt-native-0.48-r7.1: task do_patch: Succeeded
NOTE: Running task 8 of 73 (ID: 40, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_configure)
NOTE: package quilt-native-0.48-r7.1: task do_configure: Started
NOTE: package quilt-native-0.48-r7.1: task do_configure: Succeeded
NOTE: Running task 9 of 73 (ID: 60, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_patch)
NOTE: package unifdef-native-2.6-0: task do_patch: Started
NOTE: package unifdef-native-2.6-0: task do_patch: Succeeded
NOTE: Running task 10 of 73 (ID: 68, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_configure)
NOTE: package unifdef-native-2.6-0: task do_configure: Started
NOTE: package unifdef-native-2.6-0: task do_configure: Succeeded
NOTE: Running task 11 of 73 (ID: 53, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_setscene)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_setscene: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_setscene: Succeeded
NOTE: Running task 12 of 73 (ID: 52, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_fetch)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_fetch: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_fetch: Succeeded
NOTE: Running task 13 of 73 (ID: 45, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_unpack)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_unpack: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_unpack: Succeeded
NOTE: Running task 14 of 73 (ID: 10, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_setscene)
NOTE: package perl-native-5.10.1-r10: task do_setscene: Started
NOTE: package perl-native-5.10.1-r10: task do_setscene: Succeeded
NOTE: Running task 15 of 73 (ID: 8, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_fetch)
NOTE: package perl-native-5.10.1-r10: task do_fetch: Started
NOTE: package perl-native-5.10.1-r10: task do_fetch: Succeeded
NOTE: Running task 16 of 73 (ID: 0, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_unpack)
NOTE: package perl-native-5.10.1-r10: task do_unpack: Started
NOTE: package perl-native-5.10.1-r10: task do_unpack: Succeeded
NOTE: Running task 17 of 73 (ID: 41, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_qa_configure)
NOTE: package quilt-native-0.48-r7.1: task do_qa_configure: Started
NOTE: package quilt-native-0.48-r7.1: task do_qa_configure: Succeeded
NOTE: Running task 18 of 73 (ID: 42, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_compile)
NOTE: package quilt-native-0.48-r7.1: task do_compile: Started
NOTE: package quilt-native-0.48-r7.1: task do_compile: Succeeded
NOTE: Running task 19 of 73 (ID: 33, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_install)
NOTE: package quilt-native-0.48-r7.1: task do_install: Started
NOTE: package quilt-native-0.48-r7.1: task do_install: Succeeded
NOTE: Running task 20 of 73 (ID: 34, /home/dan/overo-oe/org.openembedded.dev/recipes/quilt/quilt-native_0.48.bb, do_populate_sysroot)
NOTE: package quilt-native-0.48-r7.1: task do_populate_sysroot: Started
NOTE: package quilt-native-0.48-r7.1: task do_populate_sysroot: Succeeded
NOTE: Running task 21 of 73 (ID: 69, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_qa_configure)
NOTE: package unifdef-native-2.6-0: task do_qa_configure: Started
NOTE: package unifdef-native-2.6-0: task do_qa_configure: Succeeded
NOTE: Running task 22 of 73 (ID: 70, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_compile)
NOTE: package unifdef-native-2.6-0: task do_compile: Started
NOTE: package unifdef-native-2.6-0: task do_compile: Succeeded
NOTE: Running task 23 of 73 (ID: 61, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_install)
NOTE: package unifdef-native-2.6-0: task do_install: Started
NOTE: package unifdef-native-2.6-0: task do_install: Succeeded
NOTE: Running task 24 of 73 (ID: 62, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/unifdef/unifdef_2.6.bb, do_populate_sysroot)
NOTE: package unifdef-native-2.6-0: task do_populate_sysroot: Started
NOTE: package unifdef-native-2.6-0: task do_populate_sysroot: Succeeded
NOTE: Running task 25 of 73 (ID: 46, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_patch)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_patch: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_patch: Succeeded
NOTE: Running task 26 of 73 (ID: 54, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_configure)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_configure: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_configure: Succeeded
NOTE: Running task 27 of 73 (ID: 1, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_patch)
NOTE: package perl-native-5.10.1-r10: task do_patch: Started
NOTE: package perl-native-5.10.1-r10: task do_patch: Succeeded
NOTE: Running task 28 of 73 (ID: 11, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_configure)
NOTE: package perl-native-5.10.1-r10: task do_configure: Started
NOTE: package perl-native-5.10.1-r10: task do_configure: Succeeded
NOTE: Running task 29 of 73 (ID: 25, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/opkg-utils/opkg-utils_svn.bb, do_setscene)
NOTE: package opkg-utils-native-0.1.8+svnr4747-r6: task do_setscene: Started
NOTE: package opkg-utils-native-0.1.8+svnr4747-r6: task do_setscene: Succeeded
NOTE: Running task 30 of 73 (ID: 24, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/opkg-utils/opkg-utils_svn.bb, do_fetch)
NOTE: package opkg-utils-native-0.1.8+svnr4747-r6: task do_fetch: Started
NOTE: package opkg-utils-native-0.1.8+svnr4747-r6: task do_fetch: Succeeded
NOTE: Running task 31 of 73 (ID: 17, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/opkg-utils/opkg-utils_svn.bb, do_unpack)
NOTE: package opkg-utils-native-0.1.8+svnr4747-r6: task do_unpack: Started
NOTE: package opkg-utils-native-0.1.8+svnr4747-r6: task do_unpack: Succeeded
NOTE: Running task 32 of 73 (ID: 55, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_qa_configure)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_qa_configure: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_qa_configure: Succeeded
NOTE: Running task 33 of 73 (ID: 56, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_compile)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_compile: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_compile: Succeeded
NOTE: Running task 34 of 73 (ID: 47, virtual:native:/home/dan/overo-oe/org.openembedded.dev/recipes/linux-libc-headers/linux-libc-headers_2.6.31.bb, do_install)
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_install: Started
NOTE: package linux-libc-headers-native-2.6.31-r6: task do_install: Succeeded
NOTE: Running task 35 of 73 (ID: 12, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_qa_configure)
NOTE: package perl-native-5.10.1-r10: task do_qa_configure: Started
NOTE: package perl-native-5.10.1-r10: task do_qa_configure: Succeeded
NOTE: Running task 36 of 73 (ID: 13, /home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile)
NOTE: package perl-native-5.10.1-r10: task do_compile: Started
ERROR: Logfile of failure stored in: /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.16153
Log data follows:
| + do_compile
| + base_do_compile
| + '[' -e Makefile -o -e makefile -o -e GNUmakefile ']'
| + oe_runmake
| + oenote make -e MAKEFLAGS=
| + echo NOTE: 'make -e MAKEFLAGS='
| NOTE: make -e MAKEFLAGS=
| + make -e MAKEFLAGS=
| `sh  cflags "optimize='-O2'" miniperlmain.o`  miniperlmain.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" gv.o`  gv.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" toke.o`  toke.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" perly.o`  perly.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" pad.o`  pad.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" regcomp.o`  regcomp.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" dump.o`  dump.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" util.o`  util.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| util.c: In function 'S_write_no_mem':
| util.c:67:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result
| `sh  cflags "optimize='-O2'" mg.o`  mg.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" reentr.o`  reentr.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" mro.o`  mro.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" hv.o`  hv.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" av.o`  av.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" run.o`  run.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" pp_hot.o`  pp_hot.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" sv.o`  sv.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| sv.c: In function 'Perl_sv_vcatpvfn':
| sv.c:9019:7: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
| sv.c:9814:7: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
| sv.c: In function 'Perl_sv_2pv_flags':
| sv.c:2764:3: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
| sv.c:2952:6: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
| `sh  cflags "optimize='-O2'" pp.o`  pp.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| pp.c: In function 'Perl_pp_not':
| pp.c:2473:31: warning: identifier "not" is a special operator name in C++
| pp.c: In function 'Perl_pp_complement':
| pp.c:2480:37: warning: identifier "compl" is a special operator name in C++
| `sh  cflags "optimize='-O2'" scope.o`  scope.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" pp_ctl.o`  pp_ctl.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" pp_sys.o`  pp_sys.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| pp_sys.c: In function 'Perl_pp_getpriority':
| pp_sys.c:4332:5: warning: enum conversion when passing argument 1 of 'getpriority' is invalid in C++
| /usr/include/sys/resource.h:94:12: note: expected '__priority_which_t' but argument is of type 'int'
| pp_sys.c: In function 'Perl_pp_setpriority':
| pp_sys.c:4347:5: warning: enum conversion when passing argument 1 of 'setpriority' is invalid in C++
| /usr/include/sys/resource.h:98:12: note: expected '__priority_which_t' but argument is of type 'int'
| `sh  cflags "optimize='-O2'" doop.o`  doop.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" doio.o`  doio.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| doio.c: In function 'S_exec_failed':
| doio.c:1389:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result
| doio.c: In function 'Perl_nextargv':
| doio.c:875:7: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result
| `sh  cflags "optimize='-O2'" regexec.o`  regexec.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" utf8.o`  utf8.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" taint.o`  taint.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" deb.o`  deb.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" universal.o`  universal.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" xsutils.o`  xsutils.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" generate_uudmap.o`  generate_uudmap.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| gcc -o generate_uudmap -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 generate_uudmap.o
| ./generate_uudmap >uudmap.h
| `sh  cflags "optimize='-O2'" globals.o`  globals.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" perlio.o`  perlio.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| perlio.c: In function 'PerlIOBuf_get_base':
| perlio.c:4126:9: warning: operation on 'b->buf' may be undefined
| perlio.c: In function 'S_more_refcounted_fds':
| perlio.c:2314:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result
| perlio.c: In function 'PerlIO_debug':
| perlio.c:508:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result
| `sh  cflags "optimize='-O2'" perlapi.o`  perlapi.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" numeric.o`  numeric.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" mathoms.o`  mathoms.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" locale.o`  locale.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" pp_pack.o`  pp_pack.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" pp_sort.o`  pp_sort.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" opmini.o`  -DPERL_EXTERNAL_GLOB opmini.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| `sh  cflags "optimize='-O2'" perlmini.o`  -DPERL_IS_MINIPERL perlmini.c
|         CCCMD =  gcc  -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=c89 -O2  -Wall -ansi -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
| perlmini.c: In function 'S_init_tls_and_interp':
| perlmini.c:174:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result
| gcc -L/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/dan/overo-oe/tmp/sysroots/x86_64-linux/usr/lib -Wl,-O1 -fstack-protector -L/usr/local/lib -o miniperl \
|             gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o  \
|           miniperlmain.o opmini.o perlmini.o
| util.o: In function `Perl_safesysmalloc':
| util.c:(.text+0x4d8): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x570): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x1946): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x19a0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x20d6): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2216): more undefined references to `pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3ebe): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6cc5): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6d90): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3ea7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x234a): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6030): undefined reference to `pthread_getspecific'
| reentr.o:reentr.c:(.text+0x3eb): more undefined references to `pthread_getspecific' follow
| sv.o: In function `perl_clone':
| sv.c:(.text+0xb802): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13665): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13815): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x13a06): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x13be5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x13fd5): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x3390): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x4128): undefined reference to `floor'
| pp.c:(.text+0x415c): undefined reference to `floor'
| pp.c:(.text+0x4520): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x9330): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x94e2): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9a11): undefined reference to `floor'
| pp.c:(.text+0x9a31): undefined reference to `ceil'
| pp.o:(.rodata+0x220): undefined reference to `cos'
| pp.o:(.rodata+0x228): undefined reference to `sin'
| pp.o:(.rodata+0x230): undefined reference to `sin'
| pp.o:(.rodata+0x238): undefined reference to `exp'
| pp.o:(.rodata+0x240): undefined reference to `log'
| pp.o:(.rodata+0x248): undefined reference to `sqrt'
| perlio.o: In function `PerlIO_debug':
| perlio.c:(.text+0x774): undefined reference to `pthread_getspecific'
| perlio.c:(.text+0x82f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIOUnix_refcnt_dec':
| perlio.c:(.text+0x4b4f): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4f72): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x559b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x55bf): more undefined references to `pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6fd8): undefined reference to `floor'
| pp_pack.c:(.text+0x6ff3): undefined reference to `floor'
| pp_pack.c:(.text+0x7028): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xeccf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x432): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x45f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x475): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x587): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package perl-native-5.10.1-r10: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dan/overo-oe/tmp/work/x86_64-linux/perl-native-5.10.1-r10/temp/log.do_compile.16153 for further information)
ERROR: Task 13 (/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb, do_compile) failed with exit code '1'
ERROR: '/home/dan/overo-oe/org.openembedded.dev/recipes/perl/perl-native_5.10.1.bb' failed
dan@Compiler:~/overo-oe$



From: Steven <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 3:44:00 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Try rebuilding everything (rm -rf tmp), the gcc command line doesn't have -lpthread, which probably means the configuration step didn't detect pthread properly.


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Scott Ellis
In reply to this post by Steven
Before you get drastic and delete tmp. What does this give you

$OETMP/sysroots/x86_64-linux/usr/lib$ ls -l *pthread*

I get this.

-rw-r--r-- 1 scott scott  6044 2011-04-08 05:43 libpthread-stubs.a
-rwxr-xr-x 1 scott scott  1039 2011-04-08 05:43 libpthread-stubs.la
lrwxrwxrwx 1 scott scott    25 2011-04-08 05:43 libpthread-stubs.so -> libpthread-stubs.so.0.0.0
lrwxrwxrwx 1 scott scott    25 2011-04-08 05:43 libpthread-stubs.so.0 -> libpthread-stubs.so.0.0.0
-rwxr-xr-x 1 scott scott 10352 2011-04-08 05:43 libpthread-stubs.so.0.0.0

If you don't see this, then take a look at this output

scott@quad:~/overo-oe$ bitbake -s | grep thread

clthreads                                          0:2.4.0-r0                          
libpthread-stubs                                   0:0.2-r2.0                          
libpthread-stubs-native                            0:0.2-r2.0                          
libpthread-stubs-nativesdk                         0:0.2-r2.0  


Maybe you should try building one or more of these

bitbake libpthread-stubs

or

bitbake libpthread-stubs-native


I'm just guessing, not trying anything. It will be much faster
then a tmp delete.


Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Dan Brown-5
Hey Scott,

The issue is that since it never gets past perl, the tools it uses to cross-compile are never made.  That directory is still empty.

Trying to build any of those targets fails, because it can't build miniperl.  My output from the bitbake -s is the same as yours, I just can't build them.

I'd really hate to start from scratch, but I'm getting closer and closer to formatting this drive and reinstalling it all from scratch as 32 bit instead of 64...  Not SURE if that will fix this, but I need to do something....

Dan


From: Scott Ellis <[hidden email]>
To: General mailing list for gumstix users. <[hidden email]>
Sent: Fri, April 15, 2011 4:41:49 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Before you get drastic and delete tmp. What does this give you

$OETMP/sysroots/x86_64-linux/usr/lib$ ls -l *pthread*

I get this.

-rw-r--r-- 1 scott scott  6044 2011-04-08 05:43 libpthread-stubs.a
-rwxr-xr-x 1 scott scott  1039 2011-04-08 05:43 libpthread-stubs.la
lrwxrwxrwx 1 scott scott    25 2011-04-08 05:43 libpthread-stubs.so -> libpthread-stubs.so.0.0.0
lrwxrwxrwx 1 scott scott    25 2011-04-08 05:43 libpthread-stubs.so.0 -> libpthread-stubs.so.0.0.0
-rwxr-xr-x 1 scott scott 10352 2011-04-08 05:43 libpthread-stubs.so.0.0.0

If you don't see this, then take a look at this output

scott@quad:~/overo-oe$ bitbake -s | grep thread

clthreads                                          0:2.4.0-r0                         
libpthread-stubs                                  0:0.2-r2.0                         
libpthread-stubs-native                            0:0.2-r2.0                         
libpthread-stubs-nativesdk                        0:0.2-r2.0 


Maybe you should try building one or more of these

bitbake libpthread-stubs

or

bitbake libpthread-stubs-native


I'm just guessing, not trying anything. It will be much faster
then a tmp delete.


Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Scott Ellis
Hi Dan,

Can you do me a favor since it seems you have a broken system.

https://github.com/scottellis/oe-build-essentials-project

I have a script in this project, [check-installed.py], that supposedly
tries to figure out if you have everything necessary for OE installed
on an Ubuntu system.

Since I have only tested it on artifically broken systems, I wonder
how it will do on yours that may or may not be broken.

You can clone the project or just grab the python script. It's small.

$ git clone git://github.com/scottellis/oe-build-essentials-project.git

$ cd oe-build-essentials-project

(Look at check_installed.py to make sure I'm not hacking you, then run)
$ ./check_installed.py


Send me the results or post them to the list. Doesn't matter. I'd
appreciate it.

Thanks.

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Scott Ellis
In reply to this post by Dan Brown-5
scott@quad:~/overo-oe$ bitbake -g libpthread-stubs-native
...
PN dependencies saved to 'pn-depends.dot'
Package dependencies saved to 'package-depends.dot'
Task dependencies saved to 'task-depends.dot'


scott@quad:~/overo-oe$ ./oey.py -t libpthread-stubs-native

Package [ libpthread-stubs-native ] depends on
        autoconf-native
                m4-native
        automake-native
                perl-native-runtime
        coreutils-native
        gnu-config-native
        help2man-native
        libtool-native
        linux-libc-headers-native
                unifdef-native
        pkgconfig-native


scott@quad:~/overo-oe$ cd org.openembedded.dev/

scott@quad:~/overo-oe/org.openembedded.dev$ grep -r perl-native-runtime *
conf/bitbake.conf:    perl-native-runtime \


from conf/bitbake.conf
...
##################################################################
# Openembedded Software Prerequisites.
##################################################################

# python-native should be here but python relies on building
# its own in staging
ASSUME_PROVIDED = "\
    bc-native \
    bzip2-native \
    cvs-native \
    diffstat-native \
    patch-native \
    perl-native-runtime \
    python-native-runtime \
    svn-native \
    texinfo-native \
    util-linux-native \
    "
...

So what I think this is saying is that perl-native-runtime is a build
machine prerequisite. Not something that OE provides. And if you do
have perl-native-runtime, you should be able to build libpthread-stubs-native.

But I could be wrong.

Do you have Perl installed on your workstation?

$ dpkg -l perl


Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Dan Brown-5
In reply to this post by Scott Ellis
Here ya go....   Looks like everything should be good...  but I don't see anything in there about pthreads.....



dan@Compiler:~/overo-oe/oe-build-essentials-project$ ./check-installed.py

Packages found:

ii  git                                   1:1.7.4.1-3                                fast, scalable, distributed revision control system
ii  subversion                            1.6.12dfsg-4ubuntu2                        Advanced version control system
ii  gcc                                   4:4.5.2-1ubuntu3                           The GNU C compiler
ii  g++                                   4:4.5.2-1ubuntu3                           The GNU C++ compiler
ii  make                                  3.81-8ubuntu1                              An utility for Directing compilation.
ii  libc6-dev                             2.13-0ubuntu13                             Embedded GNU C Library: Development Libraries and Header Files
ii  dpkg-dev                              1.16.0~ubuntu7                             Debian package development tools
ii  patch                                 2.6-3                                      Apply a diff file to an original
ii  help2man                              1.38.4                                     Automatic manpage generator
ii  diffstat                              1.54-1                                     produces graph of changes introduced by a diff file
ii  texi2html                             1.82-1                                     Convert Texinfo files to HTML
ii  texinfo                               4.13a.dfsg.1-6ubuntu3                      Documentation system for on-line information and printed output
ii  libncurses5-dev                       5.7+20101128-1                             developer's libraries for ncurses
ii  cvs                                   1:1.12.13-12ubuntu1                        Concurrent Versions System
ii  gawk                                  1:3.1.7.dfsg-5                             GNU awk, a pattern scanning and processing language
ii  python-dev                            2.7.1-0ubuntu5                             header files and a static library for Python (default)
ii  python-pysqlite2                      2.6.0-1build1                              Python interface to SQLite 3
ii  unzip                                 6.0-4ubuntu1                               De-archiver for .zip files
ii  chrpath                               0.13-2build2                               Tool to edit the rpath in ELF binaries
ii  ccache                                3.1.3-1                                    Compiler cache for fast recompilation of C/C++ code


Packages misconfigured:

un  git-doc                               <none>                                     (no description available)


Packages missing:

<none>

dan@Compiler:~/overo-oe/oe-build-essentials-project$



From: Scott Ellis <[hidden email]>
To: [hidden email]
Sent: Fri, April 15, 2011 5:34:36 PM
Subject: Re: [Gumstix-users] Problems making PERL? Problems with Bitbake

Hi Dan,

Can you do me a favor since it seems you have a broken system.

https://github.com/scottellis/oe-build-essentials-project

I have a script in this project, [check-installed.py], that supposedly
tries to figure out if you have everything necessary for OE installed
on an Ubuntu system.

Since I have only tested it on artifically broken systems, I wonder
how it will do on yours that may or may not be broken.

You can clone the project or just grab the python script. It's small.

$ git clone git://github.com/scottellis/oe-build-essentials-project.git

$ cd oe-build-essentials-project

(Look at check_installed.py to make sure I'm not hacking you, then run)
$ ./check_installed.py


Send me the results or post them to the list. Doesn't matter. I'd
appreciate it.

Thanks.

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL? Problems with Bitbake

Scott Ellis
I don't think it's the libpthreads on your Ubuntu install
that matters. It's the cross-built libpthreads that are missing.
The ones in the sysroots/.../lib directory.

What has me stumped is why you can't bitbake libpthreads-stubs-native.

scott@quad:~/overo-oe$ ./oey.py -t libpthread-stubs-native

Package [ libpthread-stubs-native ] depends on
        autoconf-native
                m4-native
        automake-native
                perl-native-runtime
        coreutils-native
        gnu-config-native
        help2man-native
        libtool-native
        linux-libc-headers-native
                unifdef-native
        pkgconfig-native


It should only be dependent on perl-native-runtime which is
from your workstation if I understand things. Which I might
not.

Off for the night.

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL?

Micheal Zub
This post was updated on .
In reply to this post by Dan Brown-5
Hello! I have the same problem with perl-native. I use Ubuntu 11.04 32-bit and OpenEmbedded release-2011.03 git branch. The output of "bitbake perl-native" command is 100% the same as posted here.
I have found a patch in http://patches.openembedded.org/patch/1493/ but those patch won't help for me.
I tried to "bitbake libpthread-stubs" and "bitbake libpthread-stubs-native" but every time it fails on perl-native building step.
I have check my build environment twice, all needed packets are installed. Any ideas?

Dan Brown-5 wrote
Hello all!

I'm having problems getting the initial build of OMAP3-CONSOLE-IMAGE to build.  
Seems to be failing trying to make PERL.....  I've waited for 6 weeks, deleted
TMP and SOURCES and even deleted and redone the system checkout.  Still fails in
the same place.  Can anyone tell me what I am doing wrong please?

Issue was happening when using Kubuntu 09.04 for build enviro, and have updated
system to 11.04b1 trying to see if can fix things....  I'm a bit frustrated at
this point.

Messages are as follows: ...
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL?

Dan Brown-5
So it is not just me having this issue.  Seems to be an issue with Ubuntu 11.04

Now we need to find out what in the OS is causing this issue.... 


From: Micheal Zub <[hidden email]>
To: [hidden email]
Sent: Sat, April 16, 2011 8:48:27 AM
Subject: Re: [Gumstix-users] Problems making PERL?


Hello! I have the same problem with perl-native. I use Ubuntu 11.04 32-bit
and OpenEmbedded release-2011.03 git branch. The output of "bitbake
perl-native" command is 100% the same as posted here.
I have found a patch in http://patches.openembedded.org/patch/1493/ but
those patch won't help for me.
I tried to "bitbake libpthread-stubs" and "bitbake libpthread-stubs-native"
but every time it fails on perl-native building step.
I have check my build environment twice, all needed packets are installed.
Any ideas?


Dan Brown-5 wrote:

>
> Hello all!
>
> I'm having problems getting the initial build of OMAP3-CONSOLE-IMAGE to
> build. 
> Seems to be failing trying to make PERL.....  I've waited for 6 weeks,
> deleted
> TMP and SOURCES and even deleted and redone the system checkout.  Still
> fails in
> the same place.  Can anyone tell me what I am doing wrong please?
>
> Issue was happening when using Kubuntu 09.04 for build enviro, and have
> updated
> system to 11.04b1 trying to see if can fix things....  I'm a bit
> frustrated at
> this point.
>
> Messages are as follows: ...
>
>

--
View this message in context: http://old.nabble.com/Problems-making-PERL--tp31393404p31412113.html
Sent from the Gumstix mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL?

Scott Ellis
In reply to this post by Micheal Zub
I did a fresh Ubuntu 11.04 64-bit install this morning.

I did the standard Gumstix OE setup per the gumstix.org site.

Ran 'bitbake gcc' and got to the point where the perl-native can't
find pthread libs error shows up.

I added this to the bottom of ~/overo-oe/build/conf/site.conf

ASSUME_PROVIDED += "perl-native"

Then I deleted just the cache in OETMP.

$ rm -rf ~/overo-oe/tmp/cache/*

Then ran

$ bitbake libpthread-stubs-native

That worked, so I just went ahead and continued with

$ bitbake gcc

And it's still running (slower machine).

When gcc finishes, I will try and build an image.

I'm sure there is a correct way to fix this, but I think it will get
you going for now.


Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL?

Scott Ellis
In reply to this post by Dan Brown-5
I doubt it has anything to do with Ubuntu 11.04. I think its just
OE broken again with new commits.

Didn't you say you had the same problem with Ubuntu 9.04? I know that
version of Ubuntu worked fine back when I was using it.

The 'bitbake gcc' run is up to task 435 of 595.

Scott

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Problems making PERL?

Scott Ellis
In reply to this post by Scott Ellis
[bitbake gcc] finished successfully.

Building x-load, u-boot and the kernel now.

If that works, I'll delete OETMP and start from scratch again
with just the change to site.conf and see how it goes.

I think its just a circular dependency problem.

perl-native is dependent on libpthreads
libpthreads is dependent on autoconf-native and automake-native
autoconf-native and automake-native are dependent on perl-native

Using the build machine's (Ubuntu) perl as perl-native gets around this.

Scott

On Sat, 2011-04-16 at 10:51 -0400, Scott Ellis wrote:

> I did a fresh Ubuntu 11.04 64-bit install this morning.
>
> I did the standard Gumstix OE setup per the gumstix.org site.
>
> Ran 'bitbake gcc' and got to the point where the perl-native can't
> find pthread libs error shows up.
>
> I added this to the bottom of ~/overo-oe/build/conf/site.conf
>
> ASSUME_PROVIDED += "perl-native"
>
> Then I deleted just the cache in OETMP.
>
> $ rm -rf ~/overo-oe/tmp/cache/*
>
> Then ran
>
> $ bitbake libpthread-stubs-native
>
> That worked, so I just went ahead and continued with
>
> $ bitbake gcc
>
> And it's still running (slower machine).
>
> When gcc finishes, I will try and build an image.
>
> I'm sure there is a correct way to fix this, but I think it will get
> you going for now.
>
>
> Scott
>

--
Sent from my Linux box


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
123