My question has to do with building Perl on Irix. Today, I tried to build Perl 5.8.0 on my IRIX64 6.4 and 6.5 boxes, using gcc-2.95.2, Cygnus 99r1 and Cygnus 98r2. I get the same error during the make each time. Oddly, I now get exactly the same errors with Perl 5.6.0 and 5.6.1 now, although I have built 5.6.0 on the same boxes in the past. Can anyone point out my probably painfully obvious error?

The configure line I use is:
sh Configure -Dcc=gcc -Dprefix=/tools/perl-5.8.0 -Uinstallusrbinperl -de

The error message I get when running make is:
gcc -c -D_BSD_TYPES -D_BSD_TIME -D_POSIX_C_SOURCE -mabi=64 -fno-stri +ct-aliasing -DLANGUAGE_C -O3 -DVERSION=\"1.01\" -DXS_VERSION=\"1.01 +\" -fpic "-I../../.." C.c Running Mkbootstrap for B::C () chmod 644 C.bs rm -f ../../../lib/auto/B/C/C.so LD_RUN_PATH="" gcc -mabi=64 -L/usr/lib64 -L/usr/local/lib C.o -o ../ +../../lib/auto/B/C/C.so ld64: ERROR 33: Unresolved text symbol "main" -- 1st referenced by /us +r/lib64/mips3/crt1.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_get_hv" -- 1st referenced + by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_newSViv" -- 1st reference +d by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_sig_pending" -- 1st referen +ced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_despatch_signals" -- 1st +referenced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_op" -- 1st referenced by C. +o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_safesysmalloc" -- 1st ref +erenced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_sv_setiv" -- 1st referenc +ed by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_sv_setref_iv" -- 1st refe +renced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_hv_store_ent" -- 1st refe +renced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_sv_free" -- 1st reference +d by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_tainted" -- 1st referenced +by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_markstack_ptr" -- 1st refer +enced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_stack_base" -- 1st referenc +ed by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_stack_sp" -- 1st referenced + by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_sv_2pv_flags" -- 1st refe +renced by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_form" -- 1st referenced b +y C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_get_sv" -- 1st referenced + by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "Perl_croak" -- 1st referenced +by C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_runops" -- 1st referenced b +y C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: ERROR 33: Unresolved text symbol "PL_sv_yes" -- 1st referenced b +y C.o. Use linker option -v to see when and which objects, archives a +nd dsos are loaded. ld64: INFO 152: Output file removed because of error. collect2: ld returned 2 exit status make[2]: *** [../../../lib/auto/B/C/C.so] Error 1 make[2]: Leaving directory `/cmbuild/irix6.5/TOOLS/perl-5.8.0/ext/B/C' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/cmbuild/irix6.5/TOOLS/perl-5.8.0/ext/B' make: *** [lib/auto/B/B.so] Error 2 Error executing /cmbin/apps/bin/make

Thanks

tektsu
kiku wa ittoki no haji kikanu wa matsudai no haji

In reply to Perl on IRIX by tektsu

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.