pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lang/perl5 on Linux/x86_64 2.6.x build failing



In the build phase I get this:

/usr/bin/ar rcu libperl.a perl.o gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.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 locale.o pp_pack.o pp_sort.o `sh cflags "optimize='-O2 -Wno-format -fno-builtin -pthread -I/usr/ include'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c CCCMD = gcc -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE - DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/usr/pkg/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -Wno-format -fno- builtin -pthread -I/usr/include -Wall gcc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o miniperl miniperlmain.o opmini.o libperl.a
miniperlmain.o(.text+0x3b): In function `main':
: undefined reference to `pthread_atfork'
opmini.o(.text+0x4d67): In function `Perl_scalar':
: undefined reference to `pthread_getspecific'
opmini.o(.text+0x9414): In function `Perl_list':
: undefined reference to `pthread_getspecific'
opmini.o(.text+0xb7a2): In function `Perl_load_module_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(perl.o)(.text+0x27): In function `perl_alloc':
: undefined reference to `pthread_key_create'
libperl.a(perl.o)(.text+0x39): In function `perl_alloc':
: undefined reference to `pthread_setspecific'
libperl.a(perl.o)(.text+0x7b): In function `perl_alloc':
: undefined reference to `pthread_setspecific'
libperl.a(perl.o)(.text+0x107): In function `perl_fini':
: undefined reference to `pthread_key_delete'
libperl.a(util.o)(.text+0x18): In function `Perl_safesysmalloc':
: undefined reference to `pthread_getspecific'
libperl.a(util.o)(.text+0x100): In function `Perl_safesysrealloc':
: undefined reference to `pthread_getspecific'
libperl.a(util.o)(.text+0x204): In function `Perl_safesyscalloc':
: undefined reference to `pthread_getspecific'
libperl.a(util.o)(.text+0x12d8): In function `Perl_form_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(util.o)(.text+0x1648): In function `Perl_mess_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(util.o)(.text+0x2008): more undefined references to `pthread_getspecific' follow
libperl.a(util.o)(.text+0x434e): In function `Perl_set_context':
: undefined reference to `pthread_setspecific'
libperl.a(util.o)(.text+0x4337): In function `Perl_get_context':
: undefined reference to `pthread_getspecific'
libperl.a(mg.o)(.text+0x104b): In function `Perl_magic_get':
: undefined reference to `pthread_getspecific'
libperl.a(mg.o)(.text+0x240a): In function `Perl_csighandler':
: undefined reference to `pthread_getspecific'
libperl.a(mg.o)(.text+0x5c0e): In function `Perl_sighandler':
: undefined reference to `pthread_getspecific'
libperl.a(reentr.o)(.text+0x440): In function `Perl_reentrant_retry':
: undefined reference to `pthread_getspecific'
libperl.a(sv.o)(.text+0x9ac9): In function `perl_clone':
: undefined reference to `pthread_setspecific'
libperl.a(sv.o)(.text+0xf588): In function `Perl_sv_setpvf_mg_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(sv.o)(.text+0x13b88): In function `Perl_sv_setpvf_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(sv.o)(.text+0x13d78): In function `Perl_newSVpvf_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(sv.o)(.text+0x13f58): In function `Perl_sv_catpvf_mg_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(sv.o)(.text+0x14108): In function `Perl_sv_catpvf_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(pp.o)(.text+0x2ec2): In function `Perl_pp_pow':
: undefined reference to `pow'
libperl.a(pp.o)(.text+0x3c1f): In function `Perl_pp_modulo':
: undefined reference to `floor'
libperl.a(pp.o)(.text+0x3c47): In function `Perl_pp_modulo':
: undefined reference to `floor'
libperl.a(pp.o)(.text+0x3d13): In function `Perl_pp_modulo':
: undefined reference to `fmod'
libperl.a(pp.o)(.text+0x8860): In function `Perl_pp_atan2':
: undefined reference to `atan2'
libperl.a(pp.o)(.text+0x8951): In function `Perl_pp_sin':
: undefined reference to `sin'
libperl.a(pp.o)(.text+0x8aa1): In function `Perl_pp_cos':
: undefined reference to `cos'
libperl.a(pp.o)(.text+0x8e81): In function `Perl_pp_exp':
: undefined reference to `exp'
libperl.a(pp.o)(.text+0x9015): In function `Perl_pp_log':
: undefined reference to `log'
libperl.a(pp.o)(.text+0x91a5): In function `Perl_pp_sqrt':
: undefined reference to `sqrt'
libperl.a(pp.o)(.text+0x93ea): In function `Perl_pp_int':
: undefined reference to `ceil'
libperl.a(pp.o)(.text+0x9403): In function `Perl_pp_int':
: undefined reference to `floor'
libperl.a(globals.o)(.text+0xf8): In function `Perl_printf_nocontext':
: undefined reference to `pthread_getspecific'
libperl.a(perlio.o)(.text+0x128): In function `PerlIO_debug':
: undefined reference to `pthread_getspecific'
libperl.a(perlio.o)(.text+0x1ee): In function `PerlIO_debug':
: undefined reference to `pthread_getspecific'
libperl.a(perlio.o)(.text+0x3635): In function `PerlIO_importFILE':
: undefined reference to `pthread_getspecific'
libperl.a(perlio.o)(.text+0x3ea8): In function `PerlIO_exportFILE':
: undefined reference to `pthread_getspecific'
libperl.a(perlio.o)(.text+0x3fc2): more undefined references to `pthread_getspecific' follow
libperl.a(pp_pack.o)(.text+0x4add): In function `S_pack_rec':
: undefined reference to `floor'
libperl.a(pp_pack.o)(.text+0x4b01): In function `S_pack_rec':
: undefined reference to `floor'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc-local/wrkobj/lang/perl5/work/perl-5.8.8
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/perl5

---

This is a CentOS 4 x86_64 host.

% uname -a
Linux localhost 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:28:26 CDT 2006 x86_64 x86_64 x86_64 GNU/Linux


Any ideas?

Thanks!
- Jesse




--
Jesse Peterson <jesse.peterson%exbiblio.com@localhost>





Home | Main Index | Thread Index | Old Index