Hi Guys I would be very appreciated if anyone can help me analysis this problem.

When I use perlcc to compile my script "Rncproxy.pl" into c. It just stops there and said:

/usr/local/bin/perlcc: Calling /usr/local/bin/perl -I/usr/local/lib/pe +rl5/5.8.4/sun4-solaris -I/usr/local/lib/perl5/5.8.4 -I/usr/local/lib/ +perl5/site_perl/5.8.4/sun4-solaris -I/usr/local/lib/perl5/site_perl/5 +.8.4 -I/usr/local/lib/perl5/site_perl -I. -uDB,-uPod,-uPod::Usage,-u +Symbol,-opccxvD0J.c /ccase_rnccn/adm/rncproxy/src/Rnc_proxy.pl Segmentation Fault - core dumped /usr/local/bin/perlcc: /ccase_rnccn/adm/rncproxy/src/Rnc_proxy.pl did +not compile, which can't happen: Starting compile Walking tree

When I use Ggb to debug the core file.

gdb /usr/local/bin/perl ../gen/sunsun/core execution gdb-6.3/gdb (asb_shanghai/rncenv/linux) GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and y +ou are welcome to change it and/or distribute copies of it under certain cond +itions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for det +ails. This GDB was configured as "sparc-sun-solaris2.8"... Core was generated by `/usr/local/bin/perl -I/usr/local/lib/perl5/5.8. +4/sun4-solaris -I/usr/local/lib/'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/perl5/5.8.4/sun4-solaris/auto/File +/Glob/Glob.so...done. Loaded symbols for /usr/local/lib/perl5/5.8.4/sun4-solaris/auto/File/G +lob/Glob.so #0 0x7f8c58f0 in make_sv_object () from /usr/local/lib/perl5/5.8.4/su +n4-solaris/auto/B/B.so

Can u help me about this? Thanks :-)

In reply to perlcc compile core dump by giwei

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.