Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Perl on IRIX

by tektsu (Acolyte)
on Jul 19, 2002 at 18:18 UTC ( #183353=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on Perl on IRIX
Download Code
Re: Perl on IRIX
by krujos (Curate) on Jul 20, 2002 at 05:23 UTC
    Did you try running with the linker -v option? It might shed some more light. You might check OS patch levels. I dont know if this link will help but it might be worth a shot. It deals with a later version of gcc... and a slightly different error. I hope some of this helps.
    Josh
      Thanks for the suggestion. I have tracked the problem to the command line that make is running. From examining the build output of other platforms, it is clear that the intent of the command line is to create a library, but the command line make is running is trying to create an executable. The unresolved symbols come from gcc not finding libperl, libm, and, of course, main(). I'm working on figuring out why this is, but if you have any other suggestions, please let me know, as I'm going in ever-shrinking circles. :-)
      Thanks

      tektsu
      kiku wa ittoki no haji kikanu wa matsudai no haji
        Did you manage to solve the problem? I've encountered the same thing trying to compile 5.8.0 with gcc 3.0.4 under irix 6.5.10.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://183353]
Approved by IlyaM
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2014-08-22 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (168 votes), past polls