LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-11-2018, 12:38 AM   #1
matty_r
LQ Newbie
 
Registered: Nov 2018
Posts: 2

Rep: Reputation: Disabled
Errors with 6.40 Perl-5.28.0


G'day all,

Hoping I can get some help, i'm not sure if this is something I can ignore but I'm receiving the following when running
Code:
make -k test
for Section 6.40 Perl5.28.0

Code:
makefile:584: target 'lib/auto/Encode/Byte/Byte.a' given more than once in the same rule                                                                                  
makefile:584: target 'lib/auto/Encode/CN/CN.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/EBCDIC/EBCDIC.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/JP/JP.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/KR/KR.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/Symbol/Symbol.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/TW/TW.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/Unicode/Unicode.a' given more than once in the same rule
cc -fstack-protector-strong -o miniperl \
    opmini.o perlmini.o  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.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 globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquote.o time64.o  minip
erlmain.o  -lm /tools/lib/libcrypt.a
/usr/bin/ld: opmini.o: in function `Perl_op_sibling_splice':
opmini.c:(.text+0x5aaf): undefined reference to `pthread_getspecific'
/usr/bin/ld: opmini.o: in function `Perl_load_module_nocontext':
opmini.c:(.text+0x1f9e4): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlmini.o: in function `perl_alloc':
perlmini.c:(.text+0x652): undefined reference to `pthread_setspecific'
/usr/bin/ld: perlmini.c:(.text+0x67f): undefined reference to `pthread_key_create'
/usr/bin/ld: perlmini.c:(.text+0x695): undefined reference to `pthread_setspecific'
/usr/bin/ld: perlmini.o: in function `perl_fini':
perlmini.c:(.text.exit+0x1c): undefined reference to `pthread_key_delete'
/usr/bin/ld: mg.o: in function `Perl_csighandler':
mg.c:(.text+0x249b): undefined reference to `pthread_getspecific'
/usr/bin/ld: mg.o: in function `Perl_sighandler':
mg.c:(.text+0x66fa): undefined reference to `pthread_getspecific'
/usr/bin/ld: pp_hot.o: in function `Perl_croak_caller':
pp_hot.c:(.text+0xa607): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `S_croak_overflow':
sv.c:(.text+0x368): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_clone_params_del':
sv.c:(.text+0x3582): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.c:(.text+0x3598): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.c:(.text+0x35de): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_catpvf_nocontext':
sv.c:(.text+0x7f27): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_catpvf_mg_nocontext':
sv.c:(.text+0x8027): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_newSVpvf_nocontext':
sv.c:(.text+0x8486): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_clone_params_new':
sv.c:(.text+0xc407): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.c:(.text+0xc41d): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.c:(.text+0xc478): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.o: in function `perl_clone':
sv.c:(.text+0x182e2): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_setpvf_nocontext':
sv.c:(.text+0x1b7a5): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_setpvf_mg_nocontext':
sv.c:(.text+0x1b995): undefined reference to `pthread_getspecific'
/usr/bin/ld: pp.o: in function `S_find_runcv_name':
pp.c:(.text+0x97b): undefined reference to `pthread_getspecific'
/usr/bin/ld: universal.o: in function `Perl_croak_xs_usage':
universal.c:(.text+0x1399): undefined reference to `pthread_getspecific'
/usr/bin/ld: locale.o: in function `S_emulate_setlocale':
locale.c:(.text+0x20): undefined reference to `pthread_getspecific'
/usr/bin/ld: locale.o:locale.c:(.text+0x865): more undefined references to `pthread_getspecific' follow
/usr/bin/ld: util.o: in function `Perl_set_context':
util.c:(.text+0x395e): undefined reference to `pthread_setspecific'
/usr/bin/ld: util.o: in function `Perl_xs_handshake':
util.c:(.text+0x6edc): undefined reference to `pthread_getspecific'
/usr/bin/ld: util.o: in function `Perl_get_context':
util.c:(.text+0x3947): undefined reference to `pthread_getspecific'
/usr/bin/ld: reentr.o: in function `Perl_reentrant_retry':
reentr.c:(.text+0x5b): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlio.o: in function `PerlIO_debug':
perlio.c:(.text+0x93b): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlio.o: in function `PerlIOUnix_refcnt_inc':
perlio.c:(.text+0x44c3): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlio.o:perlio.c:(.text+0x4ecd): more undefined references to `pthread_getspecific' follow
collect2: error: ld returned 1 exit status
make: *** [makefile:363: lib/buildcustomize.pl] Error 1
cc -c -DPERL_CORE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -Wall -Werror=declaration-after-stat
ement -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings op.c
op.c: In function 'S_fold_constants':
op.c:5469:34: warning: argument 'o' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 S_fold_constants(pTHX_ OP *const o)
                        ~~~~~~~~~~^
make: Target 'test' not remade because of errors.
Then if I try
Code:
make install
Code:
makefile:584: target 'lib/auto/Encode/Byte/Byte.a' given more than once in the same rule                                                                                  
makefile:584: target 'lib/auto/Encode/CN/CN.a' given more than once in the same rule                                                                                      
makefile:584: target 'lib/auto/Encode/EBCDIC/EBCDIC.a' given more than once in the same rule                                                                              
makefile:584: target 'lib/auto/Encode/JP/JP.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/KR/KR.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/Symbol/Symbol.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/TW/TW.a' given more than once in the same rule
makefile:584: target 'lib/auto/Encode/Unicode/Unicode.a' given more than once in the same rule
cc -fstack-protector-strong -o miniperl \
    opmini.o perlmini.o  gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro_core.o keywords.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 globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o caretx.o dquote.o time64.o  minip
erlmain.o  -lm /tools/lib/libcrypt.a
/usr/bin/ld: opmini.o: in function `Perl_op_sibling_splice':
opmini.c:(.text+0x5aaf): undefined reference to `pthread_getspecific'
/usr/bin/ld: opmini.o: in function `Perl_load_module_nocontext':
opmini.c:(.text+0x1f9e4): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlmini.o: in function `perl_alloc':
perlmini.c:(.text+0x652): undefined reference to `pthread_setspecific'
/usr/bin/ld: perlmini.c:(.text+0x67f): undefined reference to `pthread_key_create'
/usr/bin/ld: perlmini.c:(.text+0x695): undefined reference to `pthread_setspecific'
/usr/bin/ld: perlmini.o: in function `perl_fini':
perlmini.c:(.text.exit+0x1c): undefined reference to `pthread_key_delete'
/usr/bin/ld: mg.o: in function `Perl_csighandler':
mg.c:(.text+0x249b): undefined reference to `pthread_getspecific'
/usr/bin/ld: mg.o: in function `Perl_sighandler':
mg.c:(.text+0x66fa): undefined reference to `pthread_getspecific'
/usr/bin/ld: pp_hot.o: in function `Perl_croak_caller':
pp_hot.c:(.text+0xa607): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `S_croak_overflow':
sv.c:(.text+0x368): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_clone_params_del':
sv.c:(.text+0x3582): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.c:(.text+0x3598): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.c:(.text+0x35de): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_catpvf_nocontext':
sv.c:(.text+0x7f27): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_catpvf_mg_nocontext':
sv.c:(.text+0x8027): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_newSVpvf_nocontext':
sv.c:(.text+0x8486): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_clone_params_new':
sv.c:(.text+0xc407): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.c:(.text+0xc41d): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.c:(.text+0xc478): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.o: in function `perl_clone':
sv.c:(.text+0x182e2): undefined reference to `pthread_setspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_setpvf_nocontext':
sv.c:(.text+0x1b7a5): undefined reference to `pthread_getspecific'
/usr/bin/ld: sv.o: in function `Perl_sv_setpvf_mg_nocontext':
sv.c:(.text+0x1b995): undefined reference to `pthread_getspecific'
/usr/bin/ld: pp.o: in function `S_find_runcv_name':
pp.c:(.text+0x97b): undefined reference to `pthread_getspecific'
/usr/bin/ld: universal.o: in function `Perl_croak_xs_usage':
universal.c:(.text+0x1399): undefined reference to `pthread_getspecific'
/usr/bin/ld: locale.o: in function `S_emulate_setlocale':
locale.c:(.text+0x20): undefined reference to `pthread_getspecific'
/usr/bin/ld: locale.o:locale.c:(.text+0x865): more undefined references to `pthread_getspecific' follow
/usr/bin/ld: util.o: in function `Perl_set_context':
util.c:(.text+0x395e): undefined reference to `pthread_setspecific'
/usr/bin/ld: util.o: in function `Perl_xs_handshake':
util.c:(.text+0x6edc): undefined reference to `pthread_getspecific'
/usr/bin/ld: util.o: in function `Perl_get_context':
util.c:(.text+0x3947): undefined reference to `pthread_getspecific'
/usr/bin/ld: reentr.o: in function `Perl_reentrant_retry':
reentr.c:(.text+0x5b): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlio.o: in function `PerlIO_debug':
perlio.c:(.text+0x93b): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlio.o: in function `PerlIOUnix_refcnt_inc':
perlio.c:(.text+0x44c3): undefined reference to `pthread_getspecific'
/usr/bin/ld: perlio.o:perlio.c:(.text+0x4ecd): more undefined references to `pthread_getspecific' follow
collect2: error: ld returned 1 exit status
 
Old 11-11-2018, 09:32 PM   #2
matty_r
LQ Newbie
 
Registered: Nov 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
I believe it's due to not having deleted the extracted Perl-5.28.0 directory after Chapter 5. I'm restarting the full build again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Perl module errors everywhere Toasterman Linux - Software 4 08-04-2014 07:50 AM
perl errors wgato DamnSmallLinux 1 02-10-2007 10:17 PM
Perl errors Brennan Linux From Scratch 5 09-29-2005 12:59 PM
Perl errors with Webmin evanw Linux - Software 2 01-18-2005 02:20 PM
Spamassassin Perl errors shimmyt Slackware 2 06-29-2004 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration