[ELDK] Error when generating eldk 5 from source
Joaquim Duran
jduran.gm at gmail.com
Thu Sep 22 11:52:21 CEST 2011
Dear all,
When generating eldk 5 from source, in a 64 bits ubuntu natty based
computer, I get the following error:
`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
| perl.c: In function 'S_init_tls_and_interp':
| perl.c:111:2: warning: ignoring return value of 'write', declared
with attribute warn_unused_result
| gcc -L/home/jduran/projectes/gem_heard_two/tao-3530/eldk/build/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath-link,/home/jduran/projectes/gem_heard_two/tao-3530/eldk/build/tmp/sysroots/x86_64-linux/usr/lib
-Wl,-rpath,/home/jduran/projectes/gem_heard_two/tao-3530/eldk/build/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
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+0x558): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesysrealloc':
| util.c:(.text+0x5f0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_croak_nocontext':
| util.c:(.text+0x19b6): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_safesyscalloc':
| util.c:(.text+0x1a10): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_die_nocontext':
| util.c:(.text+0x1ef7): undefined reference to `pthread_getspecific'
| util.o:util.c:(.text+0x2036): more undefined references to
`pthread_getspecific' follow
| util.o: In function `Perl_set_context':
| util.c:(.text+0x3c0e): undefined reference to `pthread_setspecific'
| util.o: In function `Perl_my_snprintf':
| util.c:(.text+0x6c15): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_my_vsnprintf':
| util.c:(.text+0x6ce0): undefined reference to `pthread_getspecific'
| util.o: In function `Perl_get_context':
| util.c:(.text+0x3bf7): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_csighandler':
| mg.c:(.text+0x23ba): undefined reference to `pthread_getspecific'
| mg.o: In function `Perl_sighandler':
| mg.c:(.text+0x6150): 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+0xbec2): undefined reference to `pthread_setspecific'
| sv.o: In function `Perl_sv_setpvf_mg_nocontext':
| sv.c:(.text+0x13dc5): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_setpvf_nocontext':
| sv.c:(.text+0x13f75): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_newSVpvf_nocontext':
| sv.c:(.text+0x14166): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_mg_nocontext':
| sv.c:(.text+0x14345): undefined reference to `pthread_getspecific'
| sv.o: In function `Perl_sv_catpvf_nocontext':
| sv.c:(.text+0x14765): undefined reference to `pthread_getspecific'
| pp.o: In function `Perl_pp_pow':
| pp.c:(.text+0x35f0): undefined reference to `pow'
| pp.o: In function `Perl_pp_modulo':
| pp.c:(.text+0x43de): undefined reference to `floor'
| pp.c:(.text+0x4412): undefined reference to `floor'
| pp.c:(.text+0x47e6): undefined reference to `fmod'
| pp.o: In function `Perl_pp_atan2':
| pp.c:(.text+0x95ff): undefined reference to `atan2'
| pp.o: In function `Perl_pp_sin':
| pp.c:(.text+0x97aa): undefined reference to `sin'
| pp.o: In function `Perl_pp_int':
| pp.c:(.text+0x9cd1): undefined reference to `floor'
| pp.c:(.text+0x9cf1): undefined reference to `ceil'
| pp.o:(.rodata+0x280): undefined reference to `cos'
| pp.o:(.rodata+0x288): undefined reference to `sin'
| pp.o:(.rodata+0x290): undefined reference to `sin'
| pp.o:(.rodata+0x298): undefined reference to `exp'
| pp.o:(.rodata+0x2a0): undefined reference to `log'
| pp.o:(.rodata+0x2a8): undefined reference to `sqrt'
| pp_sys.o: In function `S_gmtime64_r.clone.0':
| pp_sys.c:(.text+0x105): undefined reference to `ceil'
| pp_sys.c:(.text+0x15e): undefined reference to `ceil'
| pp_sys.c:(.text+0x1b9): undefined reference to `ceil'
| pp_sys.c:(.text+0x26a): undefined reference to `floor'
| pp_sys.c:(.text+0x3ff): undefined reference to `ceil'
| pp_sys.c:(.text+0x549): undefined reference to `floor'
| pp_sys.c:(.text+0x599): undefined reference to `floor'
| pp_sys.c:(.text+0x5bf): undefined reference to `floor'
| pp_sys.c:(.text+0x654): undefined reference to `fmod'
| pp_sys.c:(.text+0x67e): undefined reference to `fmod'
| pp_sys.c:(.text+0x6a2): undefined reference to `fmod'
| pp_sys.c:(.text+0x6d4): undefined reference to `fmod'
| pp_sys.o: In function `Perl_pp_gmtime':
| pp_sys.c:(.text+0xd586): undefined reference to `floor'
| 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+0x4acf): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_releaseFILE':
| perlio.c:(.text+0x4ef2): undefined reference to `pthread_getspecific'
| perlio.o: In function `PerlIO_getname':
| perlio.c:(.text+0x551b): undefined reference to `pthread_getspecific'
| perlio.o:perlio.c:(.text+0x553f): more undefined references to
`pthread_getspecific' follow
| pp_pack.o: In function `S_pack_rec':
| pp_pack.c:(.text+0x6f2b): undefined reference to `floor'
| pp_pack.c:(.text+0x6f4d): undefined reference to `floor'
| pp_pack.c:(.text+0x6f72): undefined reference to `floor'
| opmini.o: In function `Perl_load_module_nocontext':
| opmini.c:(.text+0xdacf): undefined reference to `pthread_getspecific'
| perlmini.o: In function `perl_alloc':
| perlmini.c:(.text+0x512): undefined reference to `pthread_setspecific'
| perlmini.c:(.text+0x53f): undefined reference to `pthread_key_create'
| perlmini.c:(.text+0x555): undefined reference to `pthread_setspecific'
| perlmini.o: In function `perl_fini':
| perlmini.c:(.text+0x667): undefined reference to `pthread_key_delete'
| collect2: ld returned 1 exit status
| make: *** [miniperl] Error 1
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see
/home/jduran/projectes/gem_heard_two/tao-3530/eldk/build/tmp/work/x86_64-linux/perl-native-5.12.2-r7/temp/log.do_compile.15636
for further information)
NOTE: package perl-native-5.12.2-r7: task do_compile: Failed
Thanks and Best Regards,
Joaquim Duran
More information about the eldk
mailing list