http://www.perlmonks.org?node_id=183353

tektsu has asked for the wisdom of the Perl Monks concerning the following question:

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