Oh great and Holy Holders of the devine and sacred knowedge,

I am currently attempting to install a series of Perl modules which are nessecary for running the mon Services Monitoring Deamon onto a Sparc Ultra 5 running Solaris 8. During compilation (running make) I am getting the following error:

cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: HiRes.c: linker imput file unused since linking not done
Running Mkbootstrap for Time::HiRes ()
chmod 644 HiRes.bs
LD_RUN_PATH="" cc -o blib/arch/auto/Time/HiRes/HiRes.so -G HiRes.o
cc: HiRes.o: No Such File or directory
cc: No input files
*** Error code 1
make: Fatal Error: Command failed for target `blib/arch/auto/Time/HiRes/HiRes.so

everything appears normal until that point. I am using gcc version 2.95.2 (cc is a link pointing to gcc).
I'm running Perl verion 5.005_03

This happens when i run make on the Time:HiRes module and a similar error occurs while I run make for the Authen::PAM module (however the later is not nessecary for my purposes).

In reply to Problems Compiling Modules. by LordOmar

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.