compiling perl fails

Tobias Vogel tobias.vogel at bluewin.ch
Tue Jan 1 07:36:01 PST 2008


hi,

i'm trying to compile perl, i also tried to use the perl-5.10.0 instead 
of the 5.8.8-package, but both of them fail with this message:


      Making B (dynamic)
make[1]: Entering directory `/sources/perl-5.10.0/ext/B´
make[1]: Leaving directory `/sources/perl-5.10.0/ext/B´
make[1]: Entering directory `/sources/perl-5.10.0/ext/B´
rm -f ../../lib/auto/B/B.so
cc  -L/usr/local/lib B.o  -o  ./../lib/auto/B/B.so    \
\

/usr/lib/gcc/i486-pc-linux-gnu/4.0.3/../../../crt1.o: In function `_start´:
../sysdeps/i386/elf/start.S:115: undefined reference to `main´
B.o: In function `cc_opclass:
B.c:(.text+0x79): undefined reference to `PL_opargs´
B.c:(.text+0x182): undefined reference to `PL_op_name´
B.c:(.text+0x191): undefined reference to `Perl_warn´
B.o: In function `make_sv_object´:
B.c:(.text+0x25a): undefined reference to `Perl_newSVrv´
B.c:(.text+0x264): undefined reference to `Perl_sv_setiv´
B.o: In function `make_temp_object´:
B.c:(.text+0x29d): undefined reference to `Perl_newSVrv´
B.c:(.text+0x2a9): undefined reference to `Perl_sv_setiv´
B.c:(.text+0x2bb): undefined reference to `Perl_sv_magicext´
B.c:(.text+0x2da): undefined reference to `Perl_sv_free2´
B.c:(.text+0x2e8): undefined reference to `Perl_sv_free´
B.o: In function `make_warnings_object´:
B.c:(.text+0x340): undefined reference to `Perl_newSVrv´
B.c:(.text+034a): undefined reference to `Perl_sv_setiv´
B.c:(.text+0x35d): undefined reference to `Perl_newSVpvn´
B.o: In function `make_cop_io_object´:
B.c:(.text+0x395): undefined reference to `Perl_newSV´
B.c:(.text+0x3a3): undefined reference to `Perl_emulate_cop_io´
B.c:(.text+0x3cf): undefined reference to `Perl_newSV´
B.c:(.text+0x3fa): undefined reference to `Perl_sv_free2´
B.c:(.text+0x408): undefined reference to `Perl_sv_free´


---- snip ----


B.c:(.text+0xffa5): undefined reference to `Perl_newSViv´
B.c:(.text+0xffb6): undefined reference to `Perl_newCONSTSUB´
B.c:(.text+0xffc1): undefined reference to `Perl_newSVpvn´
B.c:(.text+0xffcd): undefined reference to `Perl_av_push´
B.c:(.text+0xffd9): undefined reference to `Perl_newSViv´
B.c:(.text+0xffea): undefined reference to `Perl_newCONSTSUB´
B.c:(.text+0xfff5): undefined reference to `Perl_newSVpvn´
B.c:(.text+0x10001): undefined reference to `Perl_av_push´
B.c:(.text+0x1000d): undefined reference to `Perl_newSViv
B.c:(.text+0x1001e): undefined reference to `Perl_newCONSTSUB´
B.c:(.text+0x10029): undefined reference to `Perl_newSVpvn´
B.c:(.text+0x10035): undefined reference to `Perl_av_push´
B.c:(.text+0x10041): undefined reference to `Perl_newSViv´
B.c:(.text+0x10052): undefined reference to `Perl_newCONSTSUB´
B.c:(.text+0x1005d): undefined reference to `Perl_newSVpvn´
B.c:(.text+0x10069): undefined reference to `Perl_av_push´
B.c:(.text+0x10075): undefined reference to `Perl_newSViv´
B.c:(.text+0x10086): undefined reference to `Perl_newCONSTSUB´
B.c:(.text+0x10091): undefined reference to `Perl_newSVpvn´
B.c:(.text+0x1009d): undefined reference to `Perl_av_push´
B.c:(.text+0x100a9): undefined reference to `Perl_newSViv´
B.c:(.text+0x100ba): undefined reference to `Perl_newCONSTSUB´
B.c:(.text+0x100c5): undefined reference to `Perl_newSVpvn´
B.c:(.text+0x100d1): undefined reference to `Perl_av_push´
B.c:(.text+0x100d7): undefined reference to `PL_unitcheckav´
B.c:(.text+0x100ea): undefined reference to `PL_scopestack_ix´
B.c:(.text+0x100f1): undefined reference to `Perl_call_list´
B.c:(.text+0x100fa): undefined reference to `PL_stack_base´
B.c:(.text+0x10102): undefined reference to `PL_sv_yes´
B.c:(.text+0x10112): undefined reference to `PL_stack_sp´
collect2: ld returned 1 exit status
make[1]: *** [../../lib/auto/B/B.so] Error 1
make[1]: Leaving directory `/sources/perl-5.10.0/ext/B´
make: *** [lib/auto/B/B.so] Error 2
root:/sources/perl-5.10.0#

any ideas?

thanks,

toby



More information about the lfs-support mailing list